/* =============================================================
   Weloop : styles communs à toutes les pages (refonte 2026).
   Le reste vient de chaque page (assets/css/p-*.css), repris de la maquette.
   ============================================================= */

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ----- bandeau cookies : la page fournit .cookie-bar ; ici les boutons et la fenêtre de préférences ----- */
.cookie-bar button { cursor: pointer; color: var(--ink, #141317); }
.cookie-bar button:focus-visible { outline: 2px solid var(--signal, #7b3fff); outline-offset: 2px; }
.cookie-bar button[data-cc="accept"] { background: var(--ink, #141317); border-color: var(--ink, #141317); color: var(--paper, #faf8f3); }

.cc-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cc-backdrop { position: absolute; inset: 0; background: rgba(20, 19, 23, 0.45); }
.cc-panel { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box; padding: 28px; border-radius: 14px; background: var(--panel, #fff); color: var(--ink, #141317); box-shadow: 0 24px 64px rgba(20, 19, 23, 0.25); font-family: var(--font-sans, "Instrument Sans", sans-serif); }
.cc-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 9999px; background: transparent; font-size: 24px; line-height: 1; color: var(--ink-2, #5c5b60); cursor: pointer; }
.cc-close:hover { background: var(--panel-sunken, #f3f1ec); color: var(--ink, #141317); }
.cc-title { margin: 0 32px 8px 0; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.cc-intro, .cc-note { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--ink-2, #5c5b60); }
.cc-note { padding: 10px 12px; border-radius: 8px; background: var(--signal-soft, #efe9ff); color: #3d1d99; }
.cc-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line, #e8e5dd); cursor: pointer; }
.cc-row.is-locked { cursor: default; }
.cc-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cc-t { font-size: 15px; font-weight: 600; }
.cc-d { font-size: 13px; line-height: 1.45; color: var(--ink-2, #5c5b60); }
.cc-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-sw { position: relative; flex: none; width: 40px; height: 24px; border-radius: 9999px; background: var(--line-strong, #cfccc3); transition: background 160ms ease; }
.cc-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 9999px; background: #fff; transition: transform 160ms ease; }
.cc-row input:checked + .cc-sw { background: var(--signal, #7b3fff); }
.cc-row input:checked + .cc-sw::after { transform: translateX(16px); }
.cc-row input:disabled + .cc-sw { opacity: .55; }
.cc-row input:focus-visible + .cc-sw { outline: 2px solid var(--signal, #7b3fff); outline-offset: 2px; }
.cc-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.cc-btn { height: 40px; padding: 0 16px; border-radius: var(--radius-sm, 6px); border: 1px solid var(--line-strong, #cfccc3); background: transparent; font: 500 14px var(--font-sans, sans-serif); color: var(--ink, #141317); cursor: pointer; }
.cc-btn:hover { border-color: var(--ink, #141317); }
.cc-btn-primary { background: var(--ink, #141317); border-color: var(--ink, #141317); color: var(--paper, #faf8f3); }
.cc-btn:focus-visible, .cc-alt:focus-visible, .cc-close:focus-visible { outline: 2px solid var(--signal, #7b3fff); outline-offset: 2px; }
.cc-alt { margin-right: auto; font-size: 14px; color: var(--ink, #141317); text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .cc-sw, .cc-sw::after { transition: none; } }

/* ----- menu mobile en surimpression ----- */
.nav-burger { cursor: pointer; padding: 0; font: inherit; }
.mm-ov { position: fixed; inset: 0; z-index: 80; background: var(--paper, #faf8f3); }
.mm-ov .mm { width: 100% !important; height: 100% !important; }
.mm-ov .mm-x { cursor: pointer; padding: 0; font: inherit; }
.mm-ov .mm-r:focus-visible, .mm-ov a:focus-visible, .mm-ov .mm-x:focus-visible { outline: 2px solid var(--signal, #7b3fff); outline-offset: 2px; }
@media (min-width: 901px) { .mm-ov { display: none !important; } }

/* ----- Réserver : widget Calendly, chargé avec le consentement ----- */
.rv-live { display: flex; flex-direction: column; }
.rv-gate { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(20px, 4vh, 36px) 24px; }
.rv-gt { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.rv-gate p { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.5; color: var(--ink-2, #5c5b60); }
.rv-gb { height: 48px; padding: 0 20px; border: 0; border-radius: var(--radius-sm, 6px); background: var(--signal, #7b3fff); color: var(--on-signal, #fff); font: 500 16px var(--font-sans, sans-serif); cursor: pointer; }
.rv-gb:hover { filter: brightness(1.08); }
.rv-ga { font-size: 14px; color: var(--ink, #141317); text-underline-offset: 3px; }
.rv-gb:focus-visible, .rv-ga:focus-visible { outline: 2px solid var(--signal, #7b3fff); outline-offset: 3px; }
.rv-frame { width: 100%; height: min(660px, calc(100vh - 240px)); min-height: 480px; }

/* ancres : la section arrive sous l'en-tête fixe (spécificité nulle, une règle de page l'emporte) */
:where(section[id], div[id]) { scroll-margin-top: 72px; }

/* pied de page : faire résumer Weloop par un assistant IA */
.ft-ai { margin: 0; font-size: 14px; color: var(--ink-2, #5c5b60); }
.ft-ai a.ft-l { color: var(--ink, #141317); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong, #cfccc3); text-underline-offset: 3px; }
.ft-ai a.ft-l:hover { text-decoration-color: currentColor; }
.ft-ai a.ft-l:focus-visible { outline: 2px solid var(--signal, #7b3fff); outline-offset: 2px; }

/* ===== menu mobile (maquette MobileMenu) ===== */

body { margin: 0; font-family: var(--font-sans, "Instrument Sans", sans-serif); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
.mm { width: 390px; height: 844px; box-sizing: border-box; background: var(--paper, #faf8f3); color: var(--ink, #141317); display: flex; flex-direction: column; }
.mm-hd { flex: none; height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.mm-hd img { height: 22px; width: auto; display: block; }
.mm-ha { display: inline-flex; align-items: center; gap: 8px; }
.mm-demo { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 9999px; background: var(--ink, #141317); color: var(--paper, #faf8f3); font-size: 13px; font-weight: 600; }
.mm-demo, .mm-demo:visited, .mm-demo:hover { color: var(--paper, #faf8f3); }
.mm-x { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line, #e8e5dd); border-radius: 9999px; background: var(--panel, #ffffff); color: var(--ink, #141317); }
.mm-nav { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 8px 16px 12px; }
.mm-nav::-webkit-scrollbar { display: none; }
.mm-s { border-bottom: 1px solid var(--line, #e8e5dd); }
.mm-r, .mm-ln { width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 16px 4px; border: 0; background: none; font: inherit; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink, #141317); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mm-ln { border-bottom: 1px solid var(--line, #e8e5dd); }
.mm-ln, .mm-ln:visited, .mm-ln:hover { color: var(--ink, #141317); }
.mm-sm { display: block; flex: none; margin-top: 5px; opacity: 0; clip-path: inset(0 50% 0 50%); transition: opacity 320ms cubic-bezier(0.45, 0, 0.2, 1), clip-path 380ms cubic-bezier(0.45, 0, 0.2, 1); }
.mm-o .mm-sm { opacity: 1; clip-path: inset(0 0 0 0); }
.mm-ch { margin-left: auto; width: 32px; height: 32px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-3, #8f8d87); transition: transform 650ms cubic-bezier(0.45, 0, 0.2, 1), color 360ms ease; }
.mm-o .mm-ch { transform: rotate(180deg); color: var(--ink, #141317); }
.mm-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 560ms cubic-bezier(0.45, 0, 0.2, 1); }
.mm-o .mm-p { grid-template-rows: 1fr; }
.mm-pw { min-height: 0; overflow: hidden; }
.mm-pi { padding: 0 0 16px; opacity: 0; transform: translateY(-8px); transition: opacity 320ms cubic-bezier(0.45, 0, 0.2, 1), transform 420ms cubic-bezier(0.45, 0, 0.2, 1); }
.mm-o .mm-pi { opacity: 1; transform: none; transition-duration: 420ms, 520ms; transition-delay: 160ms, 120ms; }
.mm-h { display: block; margin: 0 4px 8px; font-family: 'Literata', Georgia, serif; font-size: 14px; color: var(--ink-2, #5c5b60); }
.mm-g { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.mm-g3 { grid-template-columns: 1fr 1fr 1fr; }
.mm-c { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 11px 12px; border-radius: 12px; background: var(--panel, #ffffff); border: 1px solid var(--line, #e8e5dd); transition: background 320ms ease, border-color 320ms ease; }
.mm-c, .mm-c:visited, .mm-c:hover { color: var(--ink, #141317); }
.mm-c b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.mm-c span { font-size: 12.5px; line-height: 1.35; color: var(--ink-2, #5c5b60); }
.mm-c:active { background: #fdf3f7; border-color: #f6cfe0; }
.mm-k { display: flex; align-items: center; gap: 8px; padding: 10px 8px; border-radius: 10px; font-size: 14px; white-space: nowrap; font-weight: 500; transition: background 320ms ease; }
.mm-k, .mm-k:visited, .mm-k:hover { color: var(--ink, #141317); }
.mm-k::before { content: ""; width: 5px; height: 5px; border-radius: 9999px; background: var(--ink-3, #8f8d87); flex: none; }
.mm-k:active { background: #ffffff; }
.mm-gk { gap: 0 6px; }
.mm-a { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 16px; border-radius: 14px; background: var(--ink, #141317); }
.mm-a, .mm-a:visited, .mm-a:hover { color: #fff; }
.mm-al { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.mm-al svg { transition: transform 420ms cubic-bezier(0.45, 0, 0.2, 1); }
.mm-a:active .mm-al svg { transform: translateX(4px); }
.mm-shp { margin-left: auto; align-self: flex-end; line-height: 0; margin-bottom: 1px; }
.mm-lk { width: 30px; height: 30px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #fff; color: var(--ink, #141317); }
.mm-kp { margin-left: auto; text-align: right; line-height: 1.15; }
.mm-kp b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.mm-kp span { font-size: 11.5px; color: rgba(255, 255, 255, 0.62); }
.mm-ft { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 10px 16px 18px; border-top: 1px solid var(--line, #e8e5dd); }
.mm-lgs { display: flex; align-items: center; gap: 8px; padding: 6px 4px; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; line-height: 1; }
.mm-lgs i { font-style: normal; font-weight: 400; color: var(--line-2, #d6d2c8); }
.mm-lgs .mm-lgs-on { color: var(--ink, #141317); }
.mm-lgs a, .mm-lgs a:visited, .mm-lgs a:hover { color: var(--ink-2, #5c5b60); padding: 8px 4px; margin: -8px -4px; }
.mm-cta { display: inline-flex; align-items: center; justify-content: center; height: 52px; border-radius: 9999px; background: var(--ink, #141317); font-size: 16px; font-weight: 600; }
.mm-cta, .mm-cta:visited, .mm-cta:hover { color: var(--paper, #faf8f3); }
@media (prefers-reduced-motion: reduce) { .mm-p, .mm-pi, .mm-ch, .mm-sm, .mm-al svg { transition: none !important; } }
