﻿html, body {
    font-family: system-ui, sans-serif !important;
    scrollbar-width: none !important;
    background-color: #32333D;
}

body {
    background-image: linear-gradient(to right, rgba(20,20,20,0.62) 0 100%), url(../wall.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.watermarked {
    position: relative;
    width: 100%;
    height: 100%;
}

    .watermarked:before {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0px;
        left: 0px;
        background-image: url('@WatermarkImageUrl');
        background-size: auto 30px;
        background-repeat: repeat;
        opacity: 0.2;
        margin: 20px;
    }

.yt-embed-holder {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16/9;
    border-radius: 4px;
}

    .yt-embed-holder iframe {
        width: 300%;
        height: 100%;
        margin-left: -100.08%
    }

.yt-embed-holder-bis {
    height: 100%;
    overflow: hidden;
}

    .yt-embed-holder-bis iframe {
        width: 300%;
        height: 100%;
        margin-left: -100.08%
    }

.mud-input > input.mud-input-root.mud-input-root-filled.mud-input-root-margin-dense, div.mud-input-slot.mud-input-root.mud-input-root-filled.mud-input-root-margin-dense {
    padding-top: 6px;
    padding-bottom: 6px;
}

.mud-input,
.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    font-size: 0.875rem; /* 1 rem is default */
}

    .mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root {
        font: inherit;
        color: currentColor;
        width: 100%;
        border: 0;
        height: 1.8em;
        margin: 4px;
        display: block;
        /*     padding: 6px 12px 7px;
*/ min-width: 0;
        background: none;
        position: relative;
        box-sizing: border-box;
        letter-spacing: inherit;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        text-align: center;
    }

    .mud-input > input.mud-input-root.mud-input-root-filled, div.mud-input-slot.mud-input-root.mud-input-root-filled {
        padding: 18px 12px 18px;
    }


.mud-icon-size-medium {
    font-size: 1.1rem;
}

.mud-icon-size-small {
    font-size: 0.685rem;
}

.my-style {
    text-align: justify;
}

.mud-layout {
    height: 100%;
    width: 100%;
    position: relative;
    color: var(--mud-palette-text-primary);
    background-color: var(--mud-palette-background);
}

LogoTop {
    width: auto;
    height: 64px;
}

.my-custom-class {
    backdrop-filter: blur(20px) contrast(100%);
    -webkit-backdrop-filter: blur(20px) contrast(100%)
}

.my-custom-classBis {
    backdrop-filter: blur(24px) contrast(120%);
    -webkit-backdrop-filter: blur(28px) contrast(120%)
}

.w-36
{
    width:36px !important;
    height:36px !important;
}

/* AppBar glass */
.glass-appbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px; /* ou 48px si Dense */
    padding-top: env(safe-area-inset-top); /* sous Dynamic Island */
    background: rgba(50, 51, 61, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 1000;
}

.sticky-bl {
    position: fixed; /* fixe par rapport à la fenêtre */
    bottom: 5px; /* distance depuis le bas */
    left: 5px; /* distance depuis la gauche */
    background-color: transparent;
    padding: 0px;
    z-index: 5000; /* pour être au-dessus du contenu */
}

.sticky-tl {
    position: fixed; /* fixe par rapport à la fenêtre */
    top: 52px; /* distance depuis le bas */
    left: 2px; /* distance depuis la gauche */
    background-color: transparent;
    padding: 0px;
    z-index: 5000; /* pour être au-dessus du contenu */
}

.sticky-ct {
    position: fixed; /* fixe par rapport à la fenêtre */
    top: 42px; /* distance depuis le bas */
    left: 50%; /* distance depuis la gauche */
    background-color: transparent;
    padding: 0px;
    transform: translateX(-50%); /* recentrage horizontal */
    z-index: 5000; /* pour être au-dessus du contenu */
}

.sticky-top {
    position: fixed; /* fixe par rapport à la fenêtre */
    top: 2px; /* distance depuis le bas */
    left: 50%; /* distance depuis la gauche */
    background-color: transparent;
    padding: 0px;
    transform: translateX(-50%); /* recentrage horizontal */
    z-index: 5000; /* pour être au-dessus du contenu */
}

.sticky-bottom {
    position: fixed; /* fixe par rapport à la fenêtre */
    bottom: 150px; /* distance depuis le bas */
    left: 50%; /* distance depuis la gauche */
    background-color: transparent;
    padding: 0px;
    transform: translateX(-50%); /* recentrage horizontal */
    z-index: 5000; /* pour être au-dessus du contenu */
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.progress-bar {
    background-color: transparent;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

.loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: relative;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Chargement");
        font-size: 12px;
}

.loading-text:after {
    content: var(--blazor-load-percentage-text, "Chargement");
}


/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 13px;
        width: 13px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #6610f2;
}

input:focus + .slider {
    box-shadow: 0 0 1px #6610f2;
}

input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 56px;
    width: 56px;
    box-sizing: border-box;
    background: conic-gradient( from 90deg at 50% 50%, rgba(39, 174, 96, 0) 0deg, rgba(31, 144, 255, 0) 0.04deg, #00B0CF 360deg );
    border-radius: 56px;
    /* previous code */
    animation: 1s rotate infinite linear;
}

.spinner::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        height: 40px;
        width: 40px;
        background-color: transparent;
        background: white;
        border-radius: 48px;
    }

.spinner::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 8px;
        width: 8px;
        background: #00B0CF;
        border-radius: 8px;
    }

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
        border-radius: 50%;
    }


/*End Toggle Switch*/

.tooltip-wrapper {
    width: 480px;
    border-radius: 4px;
    border: 1px #abb9c6;
    background: rgba(53,63,76,0.90);
    box-shadow: 0px 2px 2px rgba(0,0,0,0.40);
    padding-bottom: 5px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.out-splitter .e-pane, .in-splitter .e-pane {
    text-align: center;
    align-items: center;
    justify-content: center;
    display: grid;
    height: 100%;
}

.slider_labelText {
    text-align: center;
    font-weight: 300;
    font-size: 10px;
    padding-bottom: 20px;
}

.listing1 {
    font-size: 13px;
    color: #cccccc;
}

.listing1 {
    font-size: 13px;
    color: #ffffff;
    font-weight: 500;
}



.body-style {
    padding: 4px;
}

.header-bold span {
    font-weight: 600;
}

.blur {
    -webkit-backdrop-filter: saturate(200%) blur(30px);
    backdrop-filter: saturate(200%) blur(30px);
    background-color: rgba(40, 54, 62, 0.8) !important;
}

.blurbis {
    -webkit-backdrop-filter: saturate(200%) blur(30px);
    backdrop-filter: saturate(200%) blur(30px);
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.vertical-center {
    margin-top: 6px;
    position: relative;
}

.chart-sample {
    height: auto;
    width: 100%
}

LogoTop {
    width: auto;
    height: 64px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.vertical-center {
    margin-top: 6px;
    position: relative;
}

.video-wrap {
    position: relative;
    width: auto;
    aspect-ratio: 16/9;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(52, 110, 180, 0.18), 0 1.5px 7px rgba(102, 166, 255, 0.12);
    background: #222;
    overflow: hidden;
}

/* Image cover: prend toute la place */
.cover-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: opacity .25s;
}

/* Style du bouton play */
.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    background: #071D28;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 3px 16px #071D28;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: background .17s, transform .12s;
    outline: none;
    border: 2px solid white;
}

.play-btn:hover {
    background: #2191C9;
    transform: translate(-50%, -50%) scale(1.07);
}

/* la vidéo occupe tout l'espace */
video {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 1.5px 8px rgba(80,160,240,0.11);
    background: #222;
}

@media (max-width: 600px) {
    .video-wrap {
        max-width: 98vw;
    }

    .play-btn {
        width: 56px;
        height: 56px;
        font-size: 1.7rem;
    }
}

.mud-tooltip {
    max-width: 320px !important;
    white-space: normal !important;
    word-break: break-word;
    z-index: 5000 !important; /* Choisis la valeur souhaitée */
}

.mud-timeline-horizontal .mud-timeline-item {
    padding: 0 10px;
    width: 100%;
    min-width: 0;
}

.wall-blur {
    filter: blur(25px);
}

.overflow-visible {
    overflow: visible !important;
}

.mud-progress-linear.horizontal.mud-progress-linear-medium {
    height: 26px;
}

.mud-progress-linear.horizontal.mud-progress-linear-large {
    height: 16px;
}

.mud-divider {
    border-color: inherit;
}

.mud-chip.mud-chip-size-small {
    border-radius: 5px;
    font-size: 10px;
    height: 20px;
    padding: 0 5px;
    margin: 1px;
}

.mud-button-filled-size-small {
    padding: 2px 6px;
    font-size: .125rem;
}

.mud-scroll-to-top.visible {
    bottom: 206px;
    right: 56px;
    opacity: 1;
    transition: transform .5s;
    flex: 1;
}

.mud-button-label {
    width: 100%;
    display: inherit;
    align-items: inherit;
    justify-content: inherit;
    font-size: 12px;
}

.dxbl-image:not(.dxbl-image-fill) {
    fill: var(--mud-palette-text-primary);
}

.mud-grid-spacing-xs-1 > .mud-grid-item {
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 4px;
    border-radius: 3px;
}

/* ===============================
   Liquid Glass Core
================================= */

.liquid-glass {
    isolation: isolate;
    width: auto;
    background: rgba(250,250,250,0.08);
    border: 0px solid var(--mud-palette-background);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    /* ===============================
   Inner Liquid Reflection
================================= */

    .liquid-glass::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 1px;
        border-radius: inherit;
        backdrop-filter: blur(30px) saturate(220%);
        -webkit-backdrop-filter: blur(30px) saturate(220%);
        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        mask-composite: exclude;
        -webkit-mask-composite: destination-out;
    }

    /* ===============================
   Soft Glow Layer
================================= */

    .liquid-glass::after {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: inherit;
        opacity: 0.25;
        z-index: -1;
        filter: blur(10px);
    }

@supports not (backdrop-filter: blur(1px)) {
    .liquid-glass {
        background: rgba(255, 255, 255, 0.15);
    }
}

@keyframes glow-primary-premium {
    0% {
        box-shadow: 0 0 0px color-mix(in srgb, var(--mud-palette-primary) 35%, transparent), 0 0 0px color-mix(in srgb, var(--mud-palette-primary) 20%, transparent);
    }

    50% {
        box-shadow: 0 0 10px color-mix(in srgb, var(--mud-palette-primary) 45%, transparent), 0 0 26px color-mix(in srgb, var(--mud-palette-primary) 25%, transparent);
    }

    100% {
        box-shadow: 0 0 0px color-mix(in srgb, var(--mud-palette-primary) 35%, transparent), 0 0 0px color-mix(in srgb, var(--mud-palette-primary) 20%, transparent);
    }
}

.attention-primary {
    animation: glow-primary-premium 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: box-shadow;
    transition: box-shadow 0.3s ease;
}

    .attention-primary:hover {
        animation: none;
    }

@keyframes glow-info-premium {
    0% {
        box-shadow: 0 0 0px color-mix(in srgb, var(--mud-palette-info) 35%, transparent), 0 0 0px color-mix(in srgb, var(--mud-palette-info) 20%, transparent);
    }

    50% {
        box-shadow: 0 0 10px color-mix(in srgb, var(--mud-palette-info) 45%, transparent), 0 0 26px color-mix(in srgb, var(--mud-palette-info) 25%, transparent);
    }

    100% {
        box-shadow: 0 0 0px color-mix(in srgb, var(--mud-palette-info) 35%, transparent), 0 0 0px color-mix(in srgb, var(--mud-palette-info) 20%, transparent);
    }
}

.attention-info {
    animation: glow-info-premium 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: box-shadow;
    transition: box-shadow 0.3s ease;
}

.sticky {
    position: fixed !important;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    animation: stickyFade 0.25s ease;
    will-change: opacity, transform;
}

/* Sticky animation */
@keyframes stickyFade {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.mud-timeline-item-dot {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--mud-palette-background-gray);
    border-radius: 50%;
    left: calc(50% - 19px);
}

.dxbl-wait-indicator {
    --dxbl-wait-indicator-color: #00B1CF;
    --dxbl-wait-indicator-size: 1.25rem;
    --dxbl-wait-indicator-flip-animation-rotation-y: dxbl-indicator-animation-flip-rotation-y;
    --dxbl-wait-indicator-flip-animation-rotation-x: dxbl-indicator-animation-flip-rotation-x;
    display: inline-block;
    height: var(--dxbl-wait-indicator-size);
    width: var(--dxbl-wait-indicator-size);
    min-width: var(--dxbl-wait-indicator-size);
}

.dxbl-loading-panel .dxbl-loading-panel-container .dxbl-loading-panel-indicator-area {
    padding: 15px;
    height: 45px;
    background: transparent;
    border-radius: 4px;
    margin: 5px;
    backdrop-filter: blur(25px) contrast(100%);
    -webkit-backdrop-filter: blur(20px) contrast(100%);
}

.update-popup {
    position: fixed;
    top: 24px; /* distance du haut */
    left: 50%; /* centré horizontalement */
    transform: translate(-50%, 0) scale(0.95); /* centre + léger scale initial */
    z-index: 9999;
    padding: 14px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 12px;
    /* Effet verre */
    background: transparent;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    overflow: hidden;
    /* Animation */
    opacity: 0;
    animation: popupEnter 0.4s ease-out forwards; /* forwards = garde l'état final */
}

    /* Reflet lumineux */
    .update-popup::before {
        content: "";
        position: absolute;
        top: -40%;
        left: -40%;
        width: 180%;
        height: 180%;
        background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 60%);
        pointer-events: none;
        opacity: 0.4;
    }

    /* Texte */
    .update-popup p {
        margin: 0;
        font-weight: 500;
        letter-spacing: 0.3px;
    }

    /* Bouton liquid glass */
    .update-popup button {
        position: relative;
        border: none;
        padding: 6px;
        border-radius: 6px;
        background: transparent;
        color: white;
        font-weight: 600;
        cursor: pointer;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: all 0.25s ease;
    }

        .update-popup button:hover {
            transform: translateY(-2px);
        }

        .update-popup button:active {
            transform: translateY(0);
        }

/* Animation apparition corrigée */
@keyframes popupEnter {
    from {
        transform: translate(-50%, 20px) scale(0.95); /* garde translateX(-50%) pour centrer */
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0) scale(1); /* reste centré horizontalement */
        opacity: 1;
    }
}
.fade-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 250ms ease-in-out, visibility 250ms ease-in-out;
}

.fade-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.calendly-banner {
    position: fixed;
    bottom: 2.5rem;
    right: .75rem;
    z-index: 200;
    width: 280px;
    padding: .95rem;
    background: rgba(14, 45, 62, 0.48);
    border: 1px solid rgba(10,172,165,0.35);
    border-radius: 8px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    animation: slideInRight 0.4s ease;
}

.calendly-banner-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calendly-banner-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1.3;
}

.calendly-banner-sub {
    font-size: 0.75rem;
    color: var(--muted-aa);
    display: block;
    margin-top: 2px;
    line-height: 1.5;
}

.calendly-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calendly-banner-dismiss {
    background: none;
    border: none;
    color: var(--muted-aa);
    font-size: 0.72rem;
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: color 0.2s;
    font-family: 'DM Sans', sans-serif;
}

    .calendly-banner-dismiss:hover {
        color: #fff;
    }

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .calendly-banner {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
    }
}