/* secureaiflow.com — site add-ons (2026-11-10): consent banner, chat button, and the styles of
   /privacy-choices.html. Every rule is prefixed (saf-, cw): nothing here changes the site's own layout. */

/* The variables --saf-off-l, --saf-off-r, --saf-off-b and --saf-vv-h are set by saf-site.js: on a phone, when a page
   is wider than the screen, they bring the add-ons back inside the area the visitor really sees. Zero otherwise. */

/* ---- consent banner: one thin bar at the bottom, no overlay; "OK" and "No" have the same weight.
   Light, in the style of the site: white like its navigation bar, its dark navy for the text, its blue for the link,
   a hairline and a soft shadow on top, its font and the corner radius of its buttons. */
.saf-banner {
  position: fixed; left: var(--saf-off-l, 0px); right: var(--saf-off-r, 0px); bottom: var(--saf-off-b, 0px); z-index: 1400;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 8px 14px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  background: #FFFFFF; color: #0F172A;
  border-top: 1px solid #E2E8F0;
  font: 13px/1.4 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, .08);
}
.saf-banner__text { margin: 0; min-width: 0; }
.saf-banner__more { color: #1358E2; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.saf-banner__actions { display: flex; flex: none; gap: 8px; }
/* the two buttons share every rule: neither is put forward */
.saf-banner__btn {
  min-width: 56px; padding: 5px 14px; border: 1px solid #64748B; border-radius: 8px;
  background: #FFFFFF; color: #0F172A; font: inherit; font-weight: 600; line-height: 1.3; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.saf-banner__btn:hover { background: #EBF1FD; border-color: #1358E2; }
.saf-banner__more:focus-visible, .saf-banner__btn:focus-visible { outline: 2px solid #1358E2; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .saf-banner__btn { transition: none; } }
@media (max-width: 480px) {
  .saf-banner { font-size: 12px; line-height: 1.35; gap: 10px; padding: 7px 10px; padding-bottom: calc(7px + env(safe-area-inset-bottom, 0px)); justify-content: space-between; }
  .saf-banner__more { font-weight: inherit; }
  .saf-banner__actions { gap: 6px; }
  .saf-banner__btn { min-width: 46px; padding: 5px 10px; }
}
/* while the banner is shown, the end of the page stays reachable above it */
html.saf-banner-open body { padding-bottom: var(--saf-line-h, 0px); }

/* ---- chat button: bottom right, above the consent banner when it is shown */
.saf-chat {
  position: fixed; right: calc(22px + var(--saf-off-r, 0px)); bottom: calc(22px + var(--saf-line-h, 0px) + var(--saf-off-b, 0px)); z-index: 1450;
  width: 54px; height: 54px; border: 0; border-radius: 50%; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: #1358E2; color: #fff; cursor: pointer;
  box-shadow: 0 0 0 3px #FFFFFF, 0 8px 24px rgba(19, 88, 226, .28), 0 2px 6px rgba(15, 23, 42, .16);
  transition: transform .15s ease, background-color .15s ease;
}
.saf-chat svg { width: 26px; height: 26px; }
.saf-chat:hover { background: #0F47B8; transform: translateY(-1px); }
.saf-chat:focus-visible { outline: 3px solid #93C5FD; outline-offset: 3px; }
@media (max-width: 480px) { .saf-chat { right: calc(14px + var(--saf-off-r, 0px)); bottom: calc(14px + var(--saf-line-h, 0px) + var(--saf-off-b, 0px)); width: 50px; height: 50px; } }
@media (prefers-reduced-motion: reduce) { .saf-chat { transition: none; } .saf-chat:hover { transform: none; } }
/* the chat window (chat-web.css, loaded after this sheet: hence "html" in front): the site's blue, above the navbar,
   raised with the banner */
html .cw {
  --cw-accent: #1358E2; z-index: 1500; right: calc(22px + var(--saf-off-r, 0px));
  inset-block-end: calc(88px + var(--saf-line-h, 0px) + var(--saf-off-b, 0px));
  height: min(560px, calc(var(--saf-vv-h, 100vh) - 132px - var(--saf-line-h, 0px)));
}
@media (max-width: 640px) {
  html .cw, html .cw.cw--gauche {
    left: calc(8px + var(--saf-off-l, 0px)); right: calc(8px + var(--saf-off-r, 0px));
    inset-block-end: calc(8px + var(--saf-line-h, 0px) + var(--saf-off-b, 0px));
    height: min(calc(var(--saf-vv-h, 100vh) * .78), calc(var(--saf-vv-h, 100vh) - 16px - var(--saf-line-h, 0px)));
  }
}

/* ---- /privacy-choices.html */
.saf-page { margin: 0; background: #F8FAFC; color: #1E293B; font: 16px/1.65 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.saf-page__top { background: #fff; border-bottom: 1px solid #E2E8F0; }
.saf-page__top-in, .saf-page__main, .saf-page__foot { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.saf-page__top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.saf-page__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #0F172A; text-decoration: none; }
.saf-page__brand img { width: 32px; height: 32px; border-radius: 8px; }
.saf-page__lang { font-size: 14px; }
.saf-page a { color: #1358E2; }
.saf-page__main { padding-top: 36px; padding-bottom: 96px; }
.saf-page h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; color: #0F172A; }
.saf-page h2 { font-size: 19px; margin: 32px 0 8px; color: #0F172A; }
.saf-page p, .saf-page ul { margin: 0 0 12px; }
.saf-page ul { padding-left: 22px; }
.saf-page__lead { color: #64748B; }
.saf-page__box { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 18px 20px; margin: 16px 0 8px; }
.saf-page__state { font-weight: 600; }
.saf-page__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.saf-page__btn {
  border: 1px solid #CBD5E1; background: #fff; color: #0F172A; border-radius: 8px; padding: 9px 16px;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.saf-page__btn--main { background: #1358E2; border-color: #1358E2; color: #fff; }
.saf-page__btn:focus-visible, .saf-page a:focus-visible { outline: 3px solid #93C5FD; outline-offset: 2px; }
.saf-page__sep { border: 0; border-top: 1px solid #E2E8F0; margin: 48px 0 0; }
.saf-page__foot { padding-top: 20px; padding-bottom: 40px; font-size: 14px; color: #64748B; }
