/* Pied de page commun aux pages membres, à la vitrine et au téléchargement. */
body .site-footer { box-sizing: border-box; width: 100%; margin: 35px 0 0; padding: 0 24px calc(20px + env(safe-area-inset-bottom)); color: var(--text-primary); font-family: Inter, 'Segoe UI', sans-serif; }
body .site-footer * { box-sizing: border-box; }
body .site-footer a { text-decoration: none; color: inherit; }
body .site-footer a:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 4px; border-radius: 6px; }
body .site-footer .ui-icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
body .site-footer p, body .site-footer h2 { margin: 0; }
body .site-footer-app { display: flex; align-items: center; gap: 22px; padding: 28px; border: 1px solid var(--brand-blue); border-radius: 20px; background: linear-gradient(115deg, var(--brand-blue-deep), var(--brand-blue)); color: var(--on-brand); }
body .site-footer-app-icon { display: grid; place-items: center; width: 68px; height: 80px; flex-shrink: 0; border: 1px solid currentColor; border-radius: 18px; }
body .site-footer-app-icon svg { width: 32px; height: 42px; }
body .site-footer-app-copy { min-width: 0; flex: 1; }
body .site-footer .site-footer-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.6; margin-bottom: 6px; }
body .site-footer-app-copy h2 { font-size: clamp(21px, 2vw, 28px); line-height: 1.2; letter-spacing: -.6px; margin-bottom: 9px; color: inherit; }
body .site-footer-app-copy > p:last-child { font-size: 13px; line-height: 1.65; }
body .site-footer-app-actions { display: grid; gap: 5px; flex-shrink: 0; }
body .site-footer .site-footer-download { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 18px; border: 1px solid var(--brand-orange); border-radius: 10px; background: var(--brand-orange); color: var(--on-orange); font-size: 13px; font-weight: 700; line-height: 1.4; text-align: center; }
body .site-footer .site-footer-download:hover { box-shadow: 0 0 0 2px var(--on-brand); }
body .site-footer .site-footer-install { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; font-size: 11px; line-height: 1.5; }
body .site-footer-install .ui-icon { width: 14px; height: 14px; }
body .site-footer-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); gap: 32px; padding: 30px 4px 24px; }
body .site-footer-brandmark { display: block; width: 160px; height: 56px; overflow: hidden; }
body .site-footer-brandmark img { display: block; width: 160px; max-width: none; height: auto; margin-top: -15px; }
body .site-footer-brand p { font-weight: 700; font-size: 13px; line-height: 1.6; margin: 8px 0 6px; }
body .site-footer-brand > span { display: block; max-width: 250px; font-size: 12px; line-height: 1.8; color: var(--text-secondary); }
body .site-footer-links, body .site-footer-contacts { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
body .site-footer-inner h2 { margin: 8px 0 12px; font-size: 13px; font-weight: 700; line-height: 1.5; }
body .site-footer-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 5px 0; font-size: 12px; color: var(--text-secondary); }
body .site-footer-links .ui-icon { width: 15px; height: 15px; color: var(--accent-color); }
body .site-footer-contacts a { display: flex; align-items: center; gap: 11px; min-height: 54px; padding: 5px 0; font-size: 12px; line-height: 1.6; }
body .site-footer-contacts a > .ui-icon { color: var(--accent-color); }
body .site-footer-contacts span { min-width: 0; overflow-wrap: anywhere; }
body .site-footer-contacts small { display: block; font-size: 11px; color: var(--text-secondary); }
body .site-footer-links a:hover, body .site-footer-contacts a:hover, body .site-footer-legal a:hover { color: var(--accent-color); text-decoration: underline; text-underline-offset: 4px; }
body .site-footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 24px; border-top: 1px solid var(--border-color); padding-top: 12px; color: var(--text-secondary); font-size: 11px; line-height: 1.6; }
body .site-footer-legal p { margin-right: auto; }
body .site-footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
body[data-page-active] .site-footer { width: calc(100% - 240px); margin-left: 240px; }
@media (min-width: 901px) and (max-width: 1100px) {
    body[data-page-active] .site-footer { width: calc(100% - 210px); margin-left: 210px; }
    body .site-footer-app { gap: 18px; padding: 24px; }
    body .site-footer-app-icon { display: none; }
}
@media (max-width: 900px) {
    body .site-footer { padding: 0 16px calc(20px + env(safe-area-inset-bottom)); }
    body[data-page-active] .site-footer { width: 100%; margin-left: 0; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    body .site-footer-app { flex-wrap: wrap; gap: 18px; padding: 24px; }
    body .site-footer-app-icon { width: 52px; height: 64px; border-radius: 14px; }
    body .site-footer-app-actions { flex: 1 0 100%; grid-template-columns: 1fr 1fr; align-items: center; gap: 12px; }
    body .site-footer-inner { gap: 22px; }
}
@media (max-width: 600px) {
    body .site-footer { padding-right: 16px; padding-left: 16px; }
    body .site-footer-app { gap: 14px; padding: 22px 18px 14px; border-radius: 16px; }
    body .site-footer-app-icon { display: none; }
    body .site-footer-app-copy { flex-basis: 100%; }
    body .site-footer-app-actions { grid-template-columns: minmax(0, 1fr); gap: 0; }
    body .site-footer .site-footer-download { width: 100%; padding-right: 8px; padding-left: 8px; font-size: 12px; }
    body .site-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 2px 20px; }
    body .site-footer-brand > span { max-width: none; }
    body .site-footer-links a { max-width: none; border-bottom: 1px solid var(--border-color); }
    body .site-footer-inner h2 { margin-top: 0; margin-bottom: 6px; }
    body .site-footer-legal { gap: 0 18px; }
    body .site-footer-legal p { flex-basis: 100%; margin-bottom: 4px; }
}
@media print { body .site-footer { display: none; } }
