/* Commande de retour en haut : visible seulement après défilement. */
.back-to-top{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));z-index:25;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-width:52px;min-height:52px;padding:.75rem 1rem;border:2px solid #075b46;border-radius:14px;background:#075b46;color:#fff;font:700 1rem/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 6px 20px rgba(14,40,80,.22);cursor:pointer}
.back-to-top[hidden]{display:none!important}
.back-to-top:hover{background:#064734;border-color:#064734}
.back-to-top:focus-visible{outline:3px solid #e17b13;outline-offset:4px}
.back-to-top svg{width:20px;height:20px;flex:none}
html[data-contrast="high"] .back-to-top{background:#003b2d;border-color:#003b2d;color:#fff}
@media(max-width:700px){.back-to-top{right:max(.75rem,env(safe-area-inset-right));bottom:max(.75rem,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}}
