/* Retours des visiteurs : bouton flottant + fenêtre (Assemblée et Liberta Local). Autonome : ne dépend d'aucun thème. */
.la-retour-zone { --rt-main: #1f5135; --rt-bg: #fff; --rt-ink: #1b1b1b; --rt-line: #c9c9c9; --rt-gold: #e0a800; --rt-ok: #1a6b3a; --rt-err: #b3261e; }
.la-retour-asm { --rt-main: var(--la-civic, #1d4e89); --rt-bg: var(--la-surface, #fff); --rt-ink: var(--la-ink, #1b1b1b); --rt-line: var(--la-line, #c9c9c9); --rt-ok: var(--la-green-fg, #1a6b3a); --rt-err: var(--la-red-fg, #b3261e); }
.la-retour-btn { position: fixed; z-index: 9990; bottom: 14px; width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: var(--rt-main); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.28); }
.la-retour-asm .la-retour-btn { inset-inline-end: calc(var(--la-tf, 0px) + 14px); bottom: calc(var(--la-tf, 0px) + 14px); }
.la-retour-local .la-retour-btn { inset-inline-start: 14px; }
body:has(.la-actionbar) .la-retour-asm .la-retour-btn { bottom: calc(var(--la-tf, 0px) + 84px); }
@media (min-width: 601px) { body:has(.la-actionbar) .la-retour-asm .la-retour-btn { bottom: calc(var(--la-tf, 0px) + 14px); } }
.la-retour-btn:hover { transform: scale(1.06); }
.la-retour-btn:focus-visible, .la-retour-b:focus-visible, .la-retour-x:focus-visible { outline: 3px solid var(--rt-gold); outline-offset: 3px; }
.la-retour-dlg { border: 1px solid var(--rt-line); border-radius: 16px; padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--rt-bg); color: var(--rt-ink); font: 16px/1.45 system-ui, sans-serif; }
.la-retour-dlg::backdrop { background: rgba(0,0,0,.5); }
.la-retour-form { display: flex; flex-direction: column; gap: 10px; padding: 18px; margin: 0; }
.la-retour-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.la-retour-tete h2 { margin: 0; font-size: 1.2rem; color: inherit; }
.la-retour-x { border: 0; background: transparent; color: inherit; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 4px 10px; border-radius: 8px; }
.la-retour-intro, .la-retour-page, .la-retour-prive { margin: 0; font-size: .95rem; }
.la-retour-prive { font-size: .82rem; opacity: .85; }
.la-retour-page span { overflow-wrap: anywhere; }
.la-retour-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.la-retour-types { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.la-retour-types label { cursor: pointer; position: relative; }
.la-retour-types input { position: absolute; opacity: 0; }
.la-retour-types span { display: inline-block; padding: 8px 14px; border: 2px solid var(--rt-line); border-radius: 999px; font-weight: 600; }
.la-retour-types input:checked + span { background: var(--rt-main); border-color: var(--rt-main); color: #fff; }
.la-retour-types input:focus-visible + span { outline: 3px solid var(--rt-gold); outline-offset: 2px; }
.la-retour-champ { font-weight: 600; margin-top: 4px; }
.la-retour-form textarea, .la-retour-form input[type=email] { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid var(--rt-line); border-radius: 10px; background: var(--rt-bg); color: inherit; font: inherit; }
.la-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.la-retour-etat { margin: 0; min-height: 1.2em; font-weight: 600; }
.la-retour-ok { color: var(--rt-ok); } .la-retour-erreur { color: var(--rt-err); }
.la-retour-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.la-retour-b { min-height: 48px; padding: 10px 20px; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; border: 2px solid var(--rt-main); }
.la-retour-b1 { background: var(--rt-main); color: #fff; } .la-retour-b2 { background: transparent; color: var(--rt-main); }
.la-retour-b:disabled { opacity: .6; cursor: wait; }
@media print { .la-retour-zone { display: none; } }
