html, body {
    overscroll-behavior-y: none;
}

body {
    font-family: 'Poppins', sans-serif !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}
@media (max-width: 768px) {
    /* Désactive les flous lourds sur mobile */
    .blur-3xl, .blur-2xl {
        filter: blur(1rem) !important;
        opacity: 0.4 !important;
    }
}
#fulltext-container li, #fulltext-container p {
    margin: 0.7em !important;
}

trix-toolbar [data-trix-action="link"],
trix-toolbar [data-trix-action="attachFiles"] {
    display: none !important;
}

.required:after {
    content: " *";
    color: red;
}

.sidebar a:hover {
    transform: translateX(4px);
    transition: transform 0.2s ease-in-out;
}

.marker-cluster-custom {
    background: transparent !important;
}

ul {
    list-style: none;
}

#newsletter-form::after, #newsletter-form::before {
    border-color: inherit !important;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.stepper {
    max-width: 800px;
    margin: 0 auto;
}

.step-indicator {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 10px;
    background: #f0f0f0;
    cursor: pointer;
}

.step-indicator.active {
    background: #007bff;
    color: white;
}

.step {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    margin: 20px 0;
}

.step:first-of-type {
    display: block;
}

.stepper-nav {
    text-align: right;
}

.hidden {
    display: none !important;
}

.bg-overlay-text {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px);
    padding: 0.4rem 0.6rem;
    border-radius: 0.25rem;
    display: inline-block;
}

.footerLinkBlue {
    cursor: pointer;
    color: #00BFFF;
    font-weight: bold;
    background-image: linear-gradient(to bottom, transparent 65%, #529D58 0);
    background-size: 0 100%;
    background-repeat: no-repeat;
    text-decoration: none;
    transition: background-size .4s ease;
}

.footerLinkBlue:hover {
    background-size: 100% 100%;
    cursor: pointer;
    padding-bottom: 0.2em;
}

.footerLinkRed {
    cursor: pointer;
    color: #4382F0;
    font-weight: bold;
    background-image: linear-gradient(to bottom, transparent 65%, #E63946 0);
    background-size: 0 100%;
    background-repeat: no-repeat;
    text-decoration: none;
    transition: background-size .4s ease;
}

.footerLinkRed:hover {
    background-size: 100% 100%;
    cursor: pointer;
}

.article-card-link {
    cursor: pointer;
    font-weight: bold;
    background-image: linear-gradient(to bottom, transparent 65%, #cac8c8 0);
    background-size: 0 100%;
    background-repeat: no-repeat;
    text-decoration: none;
    transition: background-size .4s ease;
}

.article-card-link:hover {
    background-size: 100% 100%;
}

.article-card-link-blue {
    cursor: pointer;
    font-weight: bold;
    background-image: linear-gradient(to bottom, transparent 65%, #00BFFF 0);
    background-size: 0 100%;
    background-repeat: no-repeat;
    text-decoration: none;
    transition: background-size .4s ease;
}

.article-card-link-blue:hover {
    background-size: 100% 100%;
}

@media (max-width: 640px) {
    .bg-overlay-text {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}
