/* ==========================================================================
   BANDEAU FLOTTANT TRANSPARENT (PETIT BLOC CALÉ À DROITE À 40PX DU BAS)
   ========================================================================== */
.sticky-action-bar {
    position: fixed;
    bottom: 40px;
    right: -450px; /* Dissimulé sur le côté droit de l'écran par défaut */
    width: 380px;  /* Largeur restreinte pour ne pas remplir toute la ligne */
    max-width: 90%;
    
    /* FOND TOTALEMENT TRANSPARENT AVEC UN LÉGER EFFET DE FLOU (GLASSMORPHISM) */
    background: rgba(26, 26, 26, 0.45) !important; /* Opacité très faible (transparente) */
    backdrop-filter: blur(6px); /* Floute légèrement ce qui passe en dessous */
    -webkit-backdrop-filter: blur(6px);
    
    border: 1px solid rgba(210, 149, 0, 0.4); /* Bordure fine ocre translucide */
    border-radius: 6px; /* Coins arrondis pour l'aspect petit bloc */
    padding: 12px 20px;
    z-index: 99999 !important; /* Priorité maximale absolue devant tout le site */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Glissement depuis la droite */
}

/* Activé par JavaScript dès qu'on atteint la section À LA UNE */
.sticky-action-bar.visible {
    right: 80px; /* Se place du côté droit (laisse de l'espace pour les flèches) */
}

.sticky-bar-inner {
    display: flex;
    flex-direction: column; /* Organisation verticale des éléments à l'intérieur du petit bloc */
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.sticky-bar-inner p {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin: 0;
    color: #ffffff !important;
    line-height: 1.4;
    text-align: left;
}

.btn-sticky-submit {
    background-color: #D29500;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    align-self: flex-end; /* Aligne le bouton à droite dans le petit bloc */
    transition: background-color 0.3s;
}
.btn-sticky-submit:hover { 
    background-color: #b57e00; 
}

/* ==========================================================================
   FLÈCHES DE NAVIGATION LATÉRALES (CENTRÉES À DROITE AU DESSUS DU BLOC)
   ========================================================================== */
.quick-nav-arrows {
    position: fixed;
    bottom: 25px; /* Ajustez selon votre design */
    right: 85px;  /* Décalé pour ne pas chevaucher le bouton de soumission */
    display: flex !important; /* On force le flex pour l'alignement interne */
    flex-direction: column;
    gap: 8px;
    z-index: 99999;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;             /* Masqué par défaut */
    pointer-events: none;   /* Inclickable tant qu'il est invisible */
    transform: translateY(20px); /* Léger effet de montée à l'apparition */
}

/* Classe active ajoutée par le JavaScript */
.quick-nav-arrows.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


.quick-nav-arrows a.arrow-nav-btn {
    background: rgba(12, 74, 96, 0.5) !important; /* Bleu transparent */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: background 0.3s;
}

.quick-nav-arrows a.arrow-nav-btn:hover {
    background: rgba(210, 149, 0, 0.95) !important;
    transform: scale(1.05);
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .sticky-action-bar.visible {
        right: 5%;
        left: 5%;
        width: 90%;
        bottom: 10px;
    }
    .quick-nav-arrows { right: 10px; top: 35%; }
}
