/* Kraft GDA — Global Digital Agency. Feuille de style autonome (aucun CDN, aucune police externe).
   Thème unique, clair : site vitrine, centre d'aide, plateforme (propriétaires, partenaires, administration). */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --border: #e6eaf0;
  --border-strong: #d2d8e2;
  --text: #15203a;
  --text-2: #3b4660;
  --muted: #68718a;
  --primary: #1f3b86;
  --primary-600: #182f6c;
  --primary-500: #2a4fb0;
  --primary-50: #eef2fb;
  --primary-100: #dbe4f8;
  --accent: #0f8a7e;
  --accent-50: #e6f5f3;
  --success: #12795a;
  --success-50: #e7f6f0;
  --warning: #9a6200;
  --warning-50: #fdf4e3;
  --danger: #b42333;
  --danger-50: #fcebed;
  --info: #1d5fa8;
  --info-50: #e9f2fc;
  --nav: #ffffff;
  --nav-2: #f1f4f9;
  --nav-text: #3b4660;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow-md: 0 6px 20px -6px rgba(16, 24, 40, .12), 0 2px 6px rgba(16, 24, 40, .05);
  --shadow-lg: 0 24px 60px -20px rgba(16, 24, 40, .25), 0 8px 20px -8px rgba(16, 24, 40, .1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --container: 1180px;
  --ring: 0 0 0 3px rgba(42, 79, 176, .28);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
html, body { overflow-x: clip; }
body { margin: 0; font: 15px/1.6 var(--font); color: var(--text); background: var(--bg-soft); -webkit-font-smoothing: antialiased; }
body.site { background: var(--bg); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--text); letter-spacing: -.015em; }
h1 { font-size: 2rem; font-weight: 800; }
h2 { font-size: 1.5rem; font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
.h1 { font-size: 1.6rem; font-weight: 750; letter-spacing: -.015em; }
.h2 { font-size: 1.3rem; font-weight: 700; }
.h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0 0 1em; }
img, svg { max-width: 100%; }
code, .mono { font-family: var(--mono); font-size: .86em; }
code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: .05em .35em; }
.break { word-break: break-all; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.lead { font-size: 1.12rem; color: var(--text-2); line-height: 1.6; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; color: var(--primary); margin: 0 0 .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: .5rem .8rem; border-radius: 6px; z-index: 1000; }
.skip-link:focus { left: 8px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.25rem 0; }
.ico { flex: none; vertical-align: middle; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 820px; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }

/* ---------- Marque ---------- */
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; line-height: 1; }
.logo-mark { flex: none; border-radius: 10px; }
.logo-text { display: inline-flex; flex-direction: column; gap: .15rem; }
.logo-sub { font-size: .66rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.site-logo { display: inline-flex; color: inherit; }
.site-logo:hover { text-decoration: none; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand--center { justify-content: center; margin-bottom: 1.25rem; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #2f5fd6, #1f3b86); color: #fff; font-weight: 800; font-size: 1rem; }
.brand-name b { font-weight: 800; color: var(--primary); }
.brand-sub { display: block; font-size: .7rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .6rem 1.05rem; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s, transform .15s; }
.btn:hover { background: var(--surface-2); text-decoration: none; border-color: #c2c9d6; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(31, 59, 134, .25); }
.btn-primary:hover { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { background: #0d6248; border-color: #0d6248; }
.btn-danger { background: var(--surface); border-color: #e7a3ac; color: var(--danger); }
.btn-danger:hover { background: var(--danger-50); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--primary-50); color: var(--primary); border-color: transparent; }
.btn-sm { padding: .38rem .7rem; font-size: .8rem; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-link { border: 0; background: none; padding: 0; color: var(--primary); font: inherit; font-weight: 600; cursor: pointer; }
.btn-link:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.actions form { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; }
.link-arrow .ico { transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow--back::before { content: "←"; }

/* ---------- Sélecteur de langue ---------- */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .6rem; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; font-size: .82rem; font-weight: 650; color: var(--text-2); user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: var(--surface-2); border-color: var(--border); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); min-width: 160px; margin: 0; padding: .35rem; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); z-index: 60; }
.lang-menu li a { display: block; padding: .45rem .7rem; border-radius: 6px; color: var(--text); font-size: .88rem; }
.lang-menu li a:hover { background: var(--surface-2); text-decoration: none; }
.lang-menu li a[aria-current] { font-weight: 700; color: var(--primary); background: var(--primary-50); }
.lang-list { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.lang-list a { color: var(--muted); }
.lang-list a[aria-current] { color: var(--text); font-weight: 700; }

/* ---------- Site vitrine : en-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border); }
.site-header-in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.site-nav { flex: 1; }
.site-nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: inline-block; padding: .5rem .75rem; border-radius: var(--radius-sm); color: var(--text-2); font-weight: 600; font-size: .92rem; }
.site-nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.site-nav a[aria-current] { color: var(--primary); background: var(--primary-50); }
.site-nav-mobile-actions { display: none; }
.site-actions { display: flex; align-items: center; gap: .75rem; }
.site-login { font-weight: 600; color: var(--text-2); padding: .5rem .25rem; }
.site-login:hover { color: var(--primary); text-decoration: none; }
.nav-toggle { display: none; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; place-items: center; flex: none; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }
.nav-backdrop { display: none; }

/* ---------- Site vitrine : sections ---------- */
.site-main { min-height: 60vh; }
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
.section-head--left { text-align: left; margin-left: 0; display: flex; align-items: center; gap: 1rem; }
.section-head--left h2 { margin: 0; }
.hero-section { padding: 4rem 0 3rem; position: relative; overflow: hidden; }
.hero-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 85% 10%, var(--primary-50) 0, transparent 60%), radial-gradient(600px 360px at 10% 90%, var(--accent-50) 0, transparent 60%); z-index: 0; }
.hero-section > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.hero-copy h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 1rem; }
.hero-copy h1 span { color: var(--primary); position: relative; white-space: nowrap; }
.hero-copy h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .32em; background: var(--primary-100); z-index: -1; border-radius: 3px; }
.hero-copy .lead { max-width: 560px; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.5rem; }
.hero-actions--center { justify-content: center; }
.hero-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; color: var(--text-2); font-weight: 500; }
.hero-checks li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-checks .ico { color: var(--success); }
.hero-visual { position: relative; min-height: 420px; }

/* Maquettes illustratives (CSS uniquement) */
.mock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-booking { width: min(100%, 520px); margin-left: auto; }
.mock-head { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #d7dce6; }
.mock-url { margin-left: .5rem; font-size: .72rem; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: .15rem .6rem; flex: 1; }
.mock-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; padding: 1rem; }
.mock-cal-head { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: .5rem; color: var(--text-2); }
.mock-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mock-cal-grid span { aspect-ratio: 1; display: grid; place-items: center; font-size: .68rem; border-radius: 6px; color: var(--text-2); background: var(--surface-2); }
.mock-cal-grid .is-sel { background: var(--primary); color: #fff; font-weight: 700; }
.mock-cal-grid .is-busy { background: #fff; color: #c3c9d5; text-decoration: line-through; border: 1px dashed var(--border-strong); }
.mock-sum { display: flex; flex-direction: column; gap: .45rem; font-size: .82rem; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.mock-row.muted { color: var(--muted); }
.mock-total { border-top: 1px solid var(--border); padding-top: .45rem; margin-top: .2rem; font-size: .92rem; }
.mock-btn { margin-top: .3rem; background: var(--primary); color: #fff; border-radius: 8px; text-align: center; padding: .55rem; font-weight: 700; font-size: .85rem; }
.mock-btn--light { display: inline-block; background: #fff; color: #15203a; padding: .45rem .9rem; margin-top: .5rem; }
.mock-pay { display: flex; flex-wrap: wrap; gap: .3rem; }
.mock-pay span { font-size: .62rem; border: 1px solid var(--border); border-radius: 4px; padding: .1rem .35rem; color: var(--muted); }
.mock-float { position: absolute; padding: .8rem .9rem; animation: floaty 7s ease-in-out infinite; }
.mock-appt { left: -1rem; bottom: 1rem; width: min(330px, 88%); display: grid; gap: .55rem; }
.mock-appt-row { display: flex; align-items: center; gap: .6rem; font-size: .8rem; }
.mock-appt-row > div { flex: 1; min-width: 0; display: grid; }
.mock-appt-row strong { font-size: .84rem; }
.mock-appt-row span:not(.badge):not(.mock-avatar) { color: var(--muted); font-size: .74rem; }
.mock-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-100); color: var(--primary); display: grid; place-items: center; font-size: .68rem; font-weight: 800; flex: none; }
.mock-avatar--2 { background: var(--accent-50); color: var(--accent); }
.mock-avatar--3 { background: var(--warning-50); color: var(--warning); }
.mock-sync { right: -.5rem; top: -1.25rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; color: var(--success); animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.mock-title { font-weight: 700; font-size: .9rem; padding: .8rem 1rem; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-seasons, .mock-portal, .mock-slots, .mock-console { width: min(100%, 440px); margin-left: auto; font-size: .85rem; }
.mock-seasons .mock-row, .mock-portal .mock-row, .mock-slots .mock-row { padding: .4rem 1rem; }
.season { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .6rem; align-items: center; padding: .6rem 1rem; border-bottom: 1px solid var(--border); }
.season em { grid-column: 2 / span 2; font-style: normal; font-size: .74rem; color: var(--muted); }
.season strong { font-variant-numeric: tabular-nums; }
.season-dot { width: 10px; height: 10px; border-radius: 50%; }
.season-dot--low { background: #7fb6ff; }
.season-dot--mid { background: #f3b43a; }
.season-dot--high { background: #e06470; }
.mock-sep { height: 1px; background: var(--border); margin: .4rem 0; }
.mock-portal-card { margin: .8rem 1rem; padding: .8rem; border-radius: 10px; background: var(--primary-50); display: grid; }
.mock-portal-card span { font-size: .78rem; color: var(--text-2); }
.mock-link { color: var(--primary); font-weight: 600; font-size: .8rem; }
.mock-days { display: flex; gap: .35rem; padding: .8rem 1rem 0; }
.mock-days span { flex: 1; text-align: center; padding: .35rem 0; border-radius: 6px; background: var(--surface-2); font-size: .76rem; font-weight: 600; color: var(--text-2); }
.mock-days .is-sel { background: var(--primary); color: #fff; }
.mock-slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; padding: .8rem 1rem; }
.mock-slot-grid span { text-align: center; padding: .45rem 0; border: 1px solid var(--border-strong); border-radius: 7px; font-size: .8rem; font-variant-numeric: tabular-nums; }
.mock-slot-grid .is-sel { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.mock-slot-grid .is-off { color: #c3c9d5; text-decoration: line-through; border-style: dashed; }
.mock-progress { height: 7px; border-radius: 99px; background: #e8ebf1; margin: .1rem 1rem .4rem; overflow: hidden; }
.mock-progress span { display: block; width: 75%; height: 100%; background: var(--accent); border-radius: 99px; }
.mock-console .mock-appt-row { padding: .6rem 1rem; border-bottom: 1px solid var(--border); }
.mock-ad { width: min(100%, 460px); margin-left: auto; background: #1d2b4f; color: #fff; border: 0; position: relative; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 200px; }
.mock-ad-tag { position: absolute; top: .6rem; left: .9rem; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.mock-ad-body { padding: 2rem 1.2rem 1.2rem; display: flex; flex-direction: column; justify-content: center; }
.mock-ad-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; margin: 0 0 .3rem; }
.mock-ad-title { font-size: 1.05rem; font-weight: 750; line-height: 1.25; margin: 0; }
.mock-ad-img { background: linear-gradient(135deg, #3f63c7, #8fb0ff 60%, #d8e4ff); }

/* Constructeurs (badges texte) */
.section-builders { padding: 1.5rem 0 2.5rem; }
.builders-label { text-align: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 1rem; }
.builders { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.builder-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 750; font-size: .92rem; letter-spacing: -.01em; color: var(--text); }
.builder-badge::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--primary); }
.builder-divi::before { background: #7b3fe4; }
.builder-gutenberg::before { background: #1e1e1e; }
.builder-elementor::before { background: #d30c5c; }
.builder-bricks::before { background: #ffd54f; }
.builder-stripe::before { background: #635bff; }
.builder-ical::before { background: var(--accent); }

/* Valeurs, modes, étapes */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.value-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: box-shadow .2s, transform .2s, border-color .2s; }
.value:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d9e0ec; }
.value h3 { font-size: 1.02rem; margin: .9rem 0 .4rem; }
.value p { margin: 0; color: var(--text-2); font-size: .93rem; }
.value--action { display: flex; flex-direction: column; }
.value--action p { flex: 1; margin-bottom: 1rem; }
.value--action .btn { align-self: flex-start; }
.value-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-50); color: var(--primary); flex: none; }
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.mode-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.mode-card h3 { font-size: 1.3rem; margin: 1rem 0 .5rem; }
.mode-card p { color: var(--text-2); }
.mode-card .link-arrow { margin-top: auto; }
.mode-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: #fff; }
.mode-ico--2 { background: var(--accent); }
.check-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .5rem; }
.check-list li { position: relative; padding-left: 1.6rem; color: var(--text-2); font-size: .95rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--success-50); }
.check-list li::after { content: ""; position: absolute; left: 5px; top: calc(.3em + 4px); width: 5px; height: 8px; border: solid var(--success); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding: 1.75rem 1.5rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step-num { position: absolute; top: -16px; left: 1.5rem; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; box-shadow: 0 0 0 5px #fff; }
.step h3 { margin: .25rem 0 .4rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-2); font-size: .93rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: tl; }
.timeline li { position: relative; padding-left: 2.6rem; display: grid; gap: .15rem; }
.timeline li::before { counter-increment: tl; content: counter(tl); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-50); color: var(--primary); font-weight: 800; font-size: .82rem; display: grid; place-items: center; }
.timeline li::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: -14px; width: 2px; background: var(--border); }
.timeline li:last-child::after { display: none; }
.timeline span { color: var(--text-2); font-size: .93rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.split--reverse .split-copy { order: 2; }
.split-copy h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }

/* Tarifs */
.section-pricing-teaser { background: var(--primary); color: #fff; }
.section-pricing-teaser .eyebrow { color: #a9bdf5; }
.section-pricing-teaser h2, .section-pricing-teaser .lead { color: #fff; }
.section-pricing-teaser .lead { color: #d6e0fb; }
.section-pricing-teaser .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.section-pricing-teaser .btn-primary:hover { background: #eef2fb; }
.pricing-teaser { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.pricing-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 2rem; text-align: center; box-shadow: var(--shadow-lg); display: grid; gap: .25rem; }
.pricing-amount { display: grid; gap: .15rem; }
.pricing-zero { font-size: 3rem; font-weight: 850; letter-spacing: -.04em; line-height: 1; color: var(--text); }
.pricing-fee { font-size: 2.6rem; font-weight: 850; letter-spacing: -.04em; line-height: 1; color: var(--primary); }
.pricing-sub { font-size: .88rem; color: var(--muted); }
.pricing-plus { font-size: 1.6rem; color: var(--muted); font-weight: 300; }
.pricing-example { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-2); }
.pricing-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: start; }
.pricing-plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow); }
.pricing-plan h2 { font-size: 1.6rem; }
.pricing-amount--big { margin: .5rem 0 1.5rem; }
.pricing-amount--big .pricing-zero { font-size: 3.6rem; }
.calc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-md); position: sticky; top: 90px; }
.calc label { font-weight: 600; font-size: .88rem; display: block; margin-bottom: .4rem; }
.calc-input { display: grid; gap: .6rem; margin-bottom: 1rem; }
.calc-input input[type=number] { font-size: 1.4rem; font-weight: 700; padding: .6rem .8rem; }
.calc-input input[type=range] { width: 100%; accent-color: var(--primary); }
.calc-out { margin: 0; display: grid; gap: .5rem; }
.calc-out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--border); }
.calc-out dt { color: var(--muted); font-size: .9rem; }
.calc-out dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-out-main { border-bottom: 0 !important; }
.calc-out-main dt { color: var(--text); font-weight: 700; }
.calc-out-main dd { font-size: 1.35rem; color: var(--primary); }

/* FAQ, CTA, pills */
.faq { display: grid; gap: .6rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.25rem; font-weight: 650; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--primary); font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { content: "–"; }
.faq-item > div { padding: 0 1.25rem 1rem; color: var(--text-2); }
.faq-item > div p:last-child { margin: 0; }
.section-cta { padding: 3rem 0 4.5rem; }
.cta-box { text-align: center; background: var(--primary-50); border: 1px solid var(--primary-100); border-radius: var(--radius-lg); padding: 3rem 1.5rem; }
.cta-box h2 { font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); }
.cta-box p { color: var(--text-2); max-width: 560px; margin: 0 auto 1.5rem; }
.cta-box .hero-actions { justify-content: center; margin: 0; }
.page-hero { padding: 3.5rem 0 2.5rem; text-align: center; background: linear-gradient(to bottom, var(--bg-soft), var(--bg)); }
.page-hero h1 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); letter-spacing: -.03em; }
.page-hero .lead { margin: 0 auto 1.25rem; }
.page-hero--split { text-align: left; }
.page-hero--split .lead { margin-left: 0; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 1rem; }
.pills a { padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: .85rem; font-weight: 600; color: var(--text-2); }
.pills a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2rem; }
.feature-item { display: flex; gap: .75rem; align-items: flex-start; }
.feature-item .ico { color: var(--success); margin-top: .2rem; }
.feature-item h3 { font-size: 1rem; margin: 0 0 .25rem; }
.feature-item p { margin: 0; color: var(--text-2); font-size: .92rem; }
.integration-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1rem; }
.integration-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.integration { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.integration p { color: var(--text-2); font-size: .93rem; margin: .9rem 0 0; }
.integration h3 { margin: 1rem 0 .4rem; }
.integration--wide .check-list { margin: 1rem 0 0; }

/* ---------- Centre d'aide ---------- */
.page-hero--help { padding-bottom: 2rem; }
.help-search { display: flex; align-items: center; gap: .5rem; max-width: 680px; margin: 1.25rem auto 0; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 999px; padding: .4rem .4rem .4rem 1rem; box-shadow: var(--shadow-md); }
.help-search .ico { color: var(--muted); }
.help-search input[type=search] { flex: 1; border: 0; padding: .6rem .25rem; font-size: 1rem; background: transparent; min-width: 0; }
.help-search input[type=search]:focus-visible { box-shadow: none; }
.help-search .btn { border-radius: 999px; }
.section-help { padding-top: 2rem; }
.help-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 3rem; }
.help-cat { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; color: var(--text); transition: box-shadow .2s, transform .2s; }
.help-cat:hover { text-decoration: none; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.help-cat h2 { font-size: 1.05rem; margin: .9rem 0 .35rem; }
.help-cat p { color: var(--text-2); font-size: .9rem; margin: 0 0 .75rem; flex: 1; }
.help-cat-count { font-size: .78rem; color: var(--muted); font-weight: 600; }
.help-group { margin-bottom: 2.5rem; }
.help-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.help-list a { display: grid; gap: .15rem; padding: .9rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }
.help-list a:hover { text-decoration: none; border-color: var(--primary); }
.help-list strong { font-weight: 650; }
.help-list span { font-size: .86rem; color: var(--muted); }
.help-results { margin-bottom: 2.5rem; }
.help-result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.help-result-list a { display: grid; gap: .2rem; padding: .9rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }
.help-result-list a:hover { text-decoration: none; border-color: var(--primary); }
.help-result-list .cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); font-weight: 700; }
.help-result-list mark { background: #fff3bf; color: inherit; border-radius: 2px; padding: 0 .1em; }
.help-result-list .snippet { font-size: .86rem; color: var(--muted); }
.help-contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); }
.help-contact p { margin: 0; }
.section-article { padding-top: 2.5rem; }
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; align-items: start; }
.article-side { position: sticky; top: 90px; display: grid; gap: 1.5rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); }
.toc ol, .toc ul { margin: 0; padding: 0 0 0 1.1rem; display: grid; gap: .35rem; font-size: .88rem; }
.toc ul { list-style: none; padding: 0; }
.toc a { color: var(--text-2); }
.toc a:hover { color: var(--primary); }
.article { max-width: 760px; }
.article h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); }
.prose { font-size: 1.02rem; line-height: 1.7; color: var(--text-2); }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; color: var(--text); padding-top: .25rem; }
.prose h3 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; color: var(--text); }
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; }
.prose li { margin-bottom: .3rem; }
.prose strong { color: var(--text); }
.prose blockquote { margin: 1.25rem 0; padding: .9rem 1.2rem; border-left: 3px solid var(--primary); background: var(--primary-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p:last-child { margin: 0; }
.prose pre { background: #15203a; color: #e9eef9; padding: 1rem 1.2rem; border-radius: var(--radius-sm); overflow-x: auto; font-size: .85rem; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose .table { font-size: .92rem; margin-bottom: 1rem; }
.prose img { border-radius: var(--radius-sm); border: 1px solid var(--border); }
.article-foot { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.article-help { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; font-size: .92rem; }

/* ---------- Site vitrine : pied de page ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 3.5rem 0 2rem; font-size: .9rem; }
.site-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.site-footer-brand p { color: var(--text-2); margin: 1rem 0 .5rem; max-width: 360px; }
.site-footer-made { font-weight: 600; color: var(--muted); font-size: .82rem; }
.site-footer h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 .8rem; }
.site-footer h3 + ul + h3 { margin-top: 1.5rem; }
.site-footer ul:not(.lang-list) { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer ul a { color: var(--text-2); }
.site-footer ul a:hover { color: var(--primary); }
.site-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; }

/* ---------- Bulle d'assistance ---------- */
.support { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 900; font-size: .92rem; }
.support-fab { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.1rem; border-radius: 999px; border: 0; background: var(--primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px -8px rgba(31, 59, 134, .6); transition: transform .15s, background .15s; }
.support-fab:hover { background: var(--primary-600); transform: translateY(-1px); }
.support-fab[aria-expanded="true"] { display: none; }
.support-panel { position: absolute; right: 0; bottom: 0; width: 380px; max-width: calc(100vw - 2.5rem); height: 600px; max-height: calc(100vh - 2.5rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.support-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .9rem 1rem; border-bottom: 1px solid var(--border); background: var(--surface); }
.support-head-id { display: flex; align-items: center; gap: .7rem; }
.support-avatar { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #2f5fd6, #1f3b86); color: #fff; display: grid; place-items: center; font-weight: 800; }
.support-title { margin: 0; font-weight: 700; }
.support-status { margin: 0; font-size: .76rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; }
.support-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.support-close { border: 0; background: transparent; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.support-close:hover { background: var(--surface-2); color: var(--text); }
.support-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .8rem; background: var(--bg-soft); }
.support-messages { display: flex; flex-direction: column; gap: .6rem; }
.support-msg { max-width: 88%; padding: .65rem .85rem; border-radius: 14px; line-height: 1.5; font-size: .92rem; }
.support-msg p { margin: 0 0 .4rem; }
.support-msg p:last-child { margin: 0; }
.support-msg--bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--text); }
.support-msg--user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.support-msg--sys { align-self: center; background: transparent; color: var(--muted); font-size: .8rem; text-align: center; max-width: 100%; }
.support-msg--error { align-self: flex-start; background: var(--danger-50); color: var(--danger); border: 1px solid #f2c4ca; }
.support-sources { margin: .5rem 0 0; padding: .5rem 0 0; border-top: 1px solid var(--border); font-size: .82rem; }
.support-sources p { margin: 0 0 .25rem; color: var(--muted); font-weight: 600; }
.support-sources ul { margin: 0; padding-left: 1rem; }
.support-sources--cards ul { list-style: none; padding: 0; display: grid; gap: .4rem; }
.support-card { display: grid; gap: .1rem; padding: .55rem .7rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft); color: var(--text); }
.support-card:hover { text-decoration: none; border-color: var(--primary); background: var(--primary-50); }
.support-card strong { font-size: .86rem; }
.support-card span { font-size: .78rem; color: var(--muted); }
.support[data-mode="kb"] .support-dot { background: var(--primary); }
.support-typing { display: inline-flex; gap: 4px; align-items: center; padding: .7rem .9rem; }
.support-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite ease-in-out; }
.support-typing span:nth-child(2) { animation-delay: .15s; }
.support-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.support-suggest { display: flex; flex-wrap: wrap; gap: .4rem; }
.support-chip { border: 1px solid var(--primary-100); background: var(--surface); color: var(--primary); border-radius: 999px; padding: .4rem .75rem; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; text-align: left; }
.support-chip:hover { background: var(--primary-50); }
.support-offline { margin: 0; padding: .7rem .9rem; border-radius: var(--radius-sm); background: var(--warning-50); color: var(--warning); border: 1px solid #f1d9a8; font-size: .86rem; }
.support-compose { display: flex; align-items: flex-end; gap: .5rem; padding: .7rem .8rem; border-top: 1px solid var(--border); background: var(--surface); }
.support-compose textarea { flex: 1; resize: none; min-height: 42px; max-height: 120px; padding: .6rem .8rem; border-radius: 12px; font-size: .92rem; }
.support-send { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.support-send:hover { background: var(--primary-600); }
.support-send[disabled] { opacity: .5; cursor: default; }
.support-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .45rem .9rem .7rem; font-size: .8rem; background: var(--surface); }
.support-escalate { padding: 1rem; display: grid; gap: .7rem; background: var(--surface); border-top: 1px solid var(--border); max-height: 62%; overflow-y: auto; }
.support-body { min-height: 140px; }
.support-escalate label { display: grid; gap: .3rem; font-size: .84rem; font-weight: 600; color: var(--text-2); }
.support-escalate-title { margin: 0; font-weight: 700; font-size: 1rem; }
.support-escalate-actions { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
.support-error { margin: 0; color: var(--danger); font-size: .84rem; }
.support-rate { padding: .9rem 1rem; border-top: 1px solid var(--border); background: var(--surface); text-align: center; display: grid; gap: .5rem; }
.support-rate p { margin: 0; font-size: .88rem; }
.support-rate-btns { display: flex; justify-content: center; gap: .6rem; }
.support-thumb { font: inherit; font-size: 1.3rem; width: 46px; height: 42px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; }
.support-thumb:hover, .support-thumb[aria-pressed="true"] { background: var(--primary-50); border-color: var(--primary); }
#support-rate-form { display: grid; gap: .5rem; }
.support-rate-thanks { color: var(--success); font-weight: 600; }
.support-end { align-self: center; }

/* ---------- Coque applicative (plateforme) ---------- */
.app { display: grid; grid-template-columns: 256px 1fr; min-height: 100vh; }
.sidebar { background: var(--nav); color: var(--nav-text); padding: 1rem .8rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; border-right: 1px solid var(--border); }
.sidebar .brand { padding: .35rem .5rem .7rem; }
.sidebar .logo-sub { white-space: nowrap; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-title { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 1rem .7rem .3rem; font-weight: 700; }
.nav a { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: var(--radius-sm); color: var(--nav-text); font-weight: 550; }
.nav a span:first-of-type { flex: 1; }
.nav .nav-ico { color: var(--muted); }
.nav a:hover { background: var(--nav-2); color: var(--text); text-decoration: none; }
.nav a.is-active { background: var(--primary-50); color: var(--primary); font-weight: 650; }
.nav a.is-active .nav-ico { color: var(--primary); }
.nav .count { background: var(--warning); color: #fff; border-radius: 999px; font-size: .72rem; font-weight: 700; padding: 0 .45rem; }
.sidebar-foot { margin-top: auto; font-size: .78rem; color: var(--muted); padding: .5rem .3rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: .75rem; padding: .8rem 1.75rem; background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.topbar-title { font-weight: 650; font-size: 1rem; margin: 0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-user { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); }
.topbar-user form { margin: 0; }
.mode-badge { font-size: .7rem; font-weight: 700; border-radius: 999px; padding: .1rem .5rem; background: var(--warning-50); color: var(--warning); border: 1px solid #f1d9a8; }
.content { padding: 1.75rem; max-width: 1280px; width: 100%; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.page-head p { margin: .25rem 0 0; color: var(--muted); }

/* ---------- Cartes, grilles ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1.25rem; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .95rem 1.2rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1rem; }
.card-body { padding: 1.2rem; }
.card-body > :last-child { margin-bottom: 0; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cols-2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.stat-label { font-size: .76rem; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: .05em; }
.stat-value { font-size: 1.55rem; font-weight: 750; letter-spacing: -.02em; margin-top: .2rem; font-variant-numeric: tabular-nums; }
.stat-note { font-size: .8rem; color: var(--muted); }
dl.kv { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: .45rem 1rem; margin: 0; }
dl.kv dt { color: var(--muted); font-size: .88rem; }
dl.kv dd { margin: 0; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }

/* ---------- Tableaux ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: .65rem .8rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; background: var(--surface-2); white-space: nowrap; }
.table tbody tr:hover { background: #fafbfd; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .cell-main { font-weight: 600; color: var(--text); }
.table .cell-sub { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; overflow-wrap: anywhere; }
.empty { padding: 2.2rem 1rem; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--text); margin-bottom: .3rem; }

/* ---------- Badges, alertes ---------- */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 650; border: 1px solid transparent; white-space: nowrap; background: #eef0f4; color: #4a5468; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge-success { background: var(--success-50); color: var(--success); border-color: #bfe5d6; }
.badge-warning { background: var(--warning-50); color: var(--warning); border-color: #f1d9a8; }
.badge-danger { background: var(--danger-50); color: var(--danger); border-color: #f2c4ca; }
.badge-info { background: var(--info-50); color: var(--info); border-color: #c6dcf4; }
.badge-neutral { background: #eef0f4; color: #4a5468; border-color: #dde1e8; }
.alert { border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: 1rem; border: 1px solid; font-size: .92rem; }
.alert-success { background: var(--success-50); border-color: #bfe5d6; color: #0d5b43; }
.alert-error { background: var(--danger-50); border-color: #f2c4ca; color: #8c1a28; }
.alert-warning { background: var(--warning-50); border-color: #f1d9a8; color: #6f4700; }
.alert-info { background: var(--info-50); border-color: #c6dcf4; color: #174a83; }
.alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.legal-flag { border: 1px dashed #e0a43c; background: #fffaf0; color: #6f4700; border-radius: var(--radius-sm); padding: .55rem .8rem; font-size: .85rem; margin-bottom: 1rem; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 1rem; }
.form label, .field { display: grid; gap: .35rem; font-weight: 600; font-size: .88rem; color: var(--text-2); }
.form fieldset { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; margin: 0; display: grid; gap: 1rem; min-width: 0; }
.form legend { font-weight: 700; font-size: .9rem; padding: 0 .3rem; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=date], input[type=search], input:not([type]), select, textarea {
  width: 100%; padding: .62rem .8rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; color: var(--text); font: inherit; font-weight: 400; font-size: .95rem; min-width: 0; transition: border-color .15s, box-shadow .15s;
}
input:hover, select:hover, textarea:hover { border-color: #b9c2d1; }
input[type=color] { width: 54px; height: 40px; padding: 2px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; }
input[type=file] { font: inherit; font-size: .88rem; font-weight: 400; max-width: 100%; }
textarea { resize: vertical; min-height: 6rem; }
textarea.mono { font-family: var(--mono); font-size: .8rem; }
.hint { font-weight: 400; color: var(--muted); font-size: .8rem; }
.error-text { color: var(--danger); font-weight: 500; font-size: .82rem; }
.has-error input, .has-error select, .has-error textarea { border-color: #e48b97; background: #fffafa; }
.check { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: .55rem; font-weight: 500 !important; }
.check input { margin-top: .25rem; flex: none; width: 16px; height: 16px; accent-color: var(--primary); }
.checks { display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.checks .check { font-size: .88rem; }
.color-row { display: flex; align-items: center; gap: .5rem; }
.color-row input[type=text] { max-width: 120px; font-family: var(--mono); }
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; align-items: flex-end; }
.inline-form > * { flex: 1 1 160px; }
.inline-form .btn { flex: 0 0 auto; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; overflow-x: auto; }
.tabs a { padding: .6rem .9rem; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.is-active { color: var(--primary); border-color: var(--primary); }
.tabs a:hover { text-decoration: none; color: var(--text); }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filters input, .filters select { max-width: 280px; }
.contact-form .grid-2 { gap: 1rem; }

/* ---------- Pages d'authentification ---------- */
.auth-body { background: var(--bg); min-height: 100vh; }
.auth-header { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; padding: 1rem 1.25rem; }
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 1.5rem 1rem 2rem; }
.auth-wrap--wide { max-width: 760px; }
.auth-wrap .card { box-shadow: var(--shadow-md); }
.auth-wrap .card-body { padding: 1.75rem; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .88rem; margin-top: 1rem; }
.auth-foot { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 1rem; }
.auth-foot a { color: var(--muted); text-decoration: underline; }
.site-chip { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); margin-bottom: 1rem; }
.site-chip .favicon { width: 38px; height: 38px; border-radius: 8px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; font-weight: 800; flex: none; }
.site-chip strong { display: block; }
.site-chip span { font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.perm-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.perm-list li { display: flex; gap: .6rem; font-size: .92rem; }
.perm-list li::before { content: "✓"; color: var(--success); font-weight: 800; flex: none; }
.perm-list li.guarantee { color: var(--text-2); font-weight: 600; }
.perm-list li.guarantee::before { content: "◆"; color: var(--primary); font-size: .8em; margin-top: .2em; }
.model-box { border: 1px solid #c9d6f5; background: var(--primary-50); border-radius: var(--radius-sm); padding: .9rem 1rem; font-size: .9rem; margin-bottom: 1rem; }
.qr { display: grid; place-items: center; margin: 1rem 0; }
.qr svg { max-width: 240px; height: auto; border: 1px solid var(--border); border-radius: 8px; }
.codes { columns: 2; list-style: none; padding: 0; margin: .75rem 0 0; }
.codes li { margin-bottom: .3rem; }
.code-input { font-family: var(--mono); font-size: 1.5rem !important; letter-spacing: .35em; text-align: center; }
.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: .6rem; }
.checklist { padding-left: 1.2rem; }
.hero { text-align: center; padding: 1rem 0 .5rem; }
.hero h1 { font-size: 1.9rem; letter-spacing: -.02em; }
.hero p { color: var(--text-2); max-width: 560px; margin: 0 auto 1.2rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin: 1.5rem 0; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; font-size: .9rem; }
.feature strong { display: block; margin-bottom: .25rem; }
.legal-text { white-space: pre-wrap; font-size: .92rem; line-height: 1.65; max-height: 60vh; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; background: var(--surface-2); }
.legal-text--full { max-height: none; }

/* ---------- Bannière sponsorisée (aperçu fidèle au format du plugin) ---------- */
.kb-banner { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: #1d2b4f; color: #fff; box-shadow: var(--shadow); }
.kb-banner-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 230px; }
.kb-banner-copy { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; justify-content: center; gap: .45rem; position: relative; z-index: 1; }
.kb-banner-img { background-size: cover; background-position: center; min-height: 160px; }
.kb-banner-img--empty { background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 12px, rgba(255,255,255,.12) 12px 24px); display: grid; place-items: center; font-size: .8rem; opacity: .8; }
.kb-banner-tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.kb-banner-tag img { width: 18px; height: 18px; border-radius: 4px; background: #fff; object-fit: contain; }
.kb-banner-eyebrow { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.kb-banner-title { font-size: 1.45rem; font-weight: 750; line-height: 1.2; margin: 0; color: inherit; }
.kb-banner-body { font-size: .95rem; opacity: .92; margin: 0; }
.kb-banner-cta { align-self: flex-start; margin-top: .4rem; display: inline-block; padding: .55rem 1rem; border-radius: 6px; background: rgba(255,255,255,.95); color: #111; font-weight: 700; font-size: .88rem; }
.kb-banner-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: var(--surface); color: var(--text); border-top: 1px solid var(--border); }
.kb-banner-col { padding: 1rem 1.2rem; border-right: 1px solid var(--border); }
.kb-banner-col:last-child { border-right: 0; }
.kb-banner-col h4 { margin: 0 0 .3rem; font-size: .95rem; }
.kb-banner-col p { font-size: .85rem; color: var(--text-2); margin: 0 0 .35rem; }
.kb-banner-col a { font-size: .85rem; font-weight: 600; }
.kb-banner-meta { display: flex; justify-content: space-between; gap: .5rem; font-size: .75rem; color: var(--muted); padding: .45rem .2rem 0; }
.thumb { width: 120px; aspect-ratio: 2400 / 700; border-radius: 5px; object-fit: cover; background: #e9edf3; display: block; }

/* ---------- Graphiques simples ---------- */
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding-top: .5rem; }
.bars .bar { flex: 1; background: linear-gradient(180deg, #4d74d6, #1f3b86); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.bars .bar span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: .65rem; color: var(--muted); display: none; }
.bars .bar:hover span { display: block; }
.bars-legend { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-top: .3rem; }
.progress { height: 8px; border-radius: 99px; background: #e8ebf1; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

/* ---------- Pied de page (plateforme) ---------- */
.footer { padding: 1.25rem 1.75rem 2rem; font-size: .8rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; margin-top: auto; }
.footer a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cols-2 { grid-template-columns: 1fr; }
  .value-grid, .value-grid--3, .feature-list, .help-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; }
}
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 50; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow-lg); }
  .nav-toggle:checked ~ .sidebar { transform: none; }
  .nav-toggle:checked ~ .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(10, 15, 30, .4); z-index: 40; }
  .app .nav-burger { display: inline-grid; }
  .topbar { padding: .7rem 1rem; }
  .content { padding: 1.1rem 1rem; }
  .footer { padding: 1rem; }
  .topbar-user .email { display: none; }
  /* Site vitrine */
  .site-header { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header-in { height: 62px; gap: .75rem; }
  .site-nav { position: fixed; top: 62px; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--border); padding: 1rem 1.25rem 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; z-index: 55; }
  .site-nav ul { flex-direction: column; gap: .15rem; }
  .site-nav a { display: block; padding: .8rem .75rem; font-size: 1.05rem; }
  .site-nav-mobile-actions { display: grid; gap: .6rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
  .site-nav-mobile-actions .btn { width: 100%; padding: .8rem; font-size: 1rem; }
  .site-nav-mobile-actions a.btn-primary { color: #fff; background: var(--primary); }
  .site-nav-mobile-actions a.btn-primary:hover { background: var(--primary-600); }
  .site-nav-mobile-actions .lang-list { margin-top: .5rem; }
  .site-actions .btn, .site-login, .site-actions .lang-menu { display: none; }
  .site-header .nav-burger { display: inline-grid; }
  .nav-toggle:checked ~ .site-header .site-nav { transform: none; visibility: visible; transition: transform .2s ease; }
  .nav-toggle:checked ~ .site-header .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .site-header .nav-burger span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked ~ .site-header .nav-burger span::after { top: 0; transform: rotate(-45deg); }
  .hero-grid, .split, .pricing-teaser, .pricing-layout { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split-copy { order: 0; }
  .hero-visual { min-height: 0; padding: 1.5rem 0 3rem; }
  .mock-booking, .mock-seasons, .mock-portal, .mock-slots, .mock-console, .mock-ad { margin: 0 auto; }
  .mock-appt { left: 0; bottom: 0; }
  .mock-sync { right: 0; top: 0; }
  .calc { position: static; }
  .section { padding: 3.25rem 0; }
  .hero-section { padding: 2.5rem 0 1.5rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .modes { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .toc--related { display: none; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .feature-grid, .value-grid, .value-grid--3, .feature-list, .help-cats, .help-list, .integration-grid, .integration-grid--2, .site-footer-grid, .check-list--grid { grid-template-columns: 1fr; }
  .kb-banner-hero { grid-template-columns: 1fr; }
  .kb-banner-img { order: -1; aspect-ratio: 2400 / 700; min-height: 0; }
  .kb-banner-cols { grid-template-columns: 1fr; }
  .kb-banner-col { border-right: 0; border-bottom: 1px solid var(--border); }
  dl.kv { grid-template-columns: 1fr; gap: .15rem; }
  dl.kv dd { margin-bottom: .5rem; }
  .stat-value { font-size: 1.3rem; }
  .auth-wrap { padding-top: 1rem; }
  .auth-wrap .card-body { padding: 1.25rem; }
  .hero h1 { font-size: 1.5rem; }
  .table-stack thead { display: none; }
  .table-stack tr { display: block; border-bottom: 1px solid var(--border); padding: .5rem 0; }
  .table-stack td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .3rem .8rem; text-align: right; }
  .table-stack td::before { content: attr(data-label); font-size: .75rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; text-align: left; }
  .table-stack td.num { text-align: right; }
  .codes { columns: 1; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-appt { position: relative; width: 100%; margin-top: 1rem; animation: none; }
  .mock-sync { position: relative; display: flex; margin-top: 1rem; animation: none; }
  .hero-visual { padding-bottom: 1rem; }
  .cta-box { padding: 2.25rem 1.25rem; }
  .help-search { border-radius: 16px; flex-wrap: wrap; padding: .6rem; }
  .help-search .btn { width: 100%; }
  .help-contact { flex-direction: column; align-items: flex-start; }
  .pricing-plan, .calc, .mode-card { padding: 1.5rem; }
  .pricing-amount--big .pricing-zero { font-size: 2.8rem; }
  .mock-ad { grid-template-columns: 1fr; }
  .mock-ad-img { min-height: 90px; order: -1; }
  /* Bulle d'assistance en plein écran */
  .support { right: .9rem; bottom: .9rem; }
  .support-fab span { display: none; }
  .support-fab { padding: .9rem; }
  .support.is-open { inset: 0; right: 0; bottom: 0; }
  .support.is-open .support-panel { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; border-radius: 0; border: 0; }
}
@media (max-width: 420px) {
  .container { padding: 0 1rem; }
  .btn-lg { padding: .75rem 1.1rem; font-size: .95rem; }
  .hero-actions .btn { width: 100%; }
  .hero-copy h1 { font-size: 1.85rem; }
  .pricing-zero, .pricing-amount--big .pricing-zero { font-size: 2.4rem; }
  .pricing-fee { font-size: 2.2rem; }
}
@media print {
  .sidebar, .topbar, .footer, .actions, .support, .site-header, .site-footer { display: none !important; }
  .app { display: block; }
}

/* Champ mot de passe avec bouton « afficher » */
.pw-field { position: relative; display: block; }
.pw-field input[type=password], .pw-field input[type=text] { width: 100%; padding-right: 2.9rem; margin-top: 0; }
.pw-toggle { position: absolute; top: 50%; right: .35rem; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); cursor: pointer; }
.pw-toggle:hover { color: var(--primary); background: rgba(0,0,0,.04); }
.pw-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }

/* Offre de lancement (−50 % sur la commission jusqu'au 30 juin 2027) */
.launch-bar { background: #17182b; color: #fff; font-size: .86rem; text-align: center; padding: .55rem 0; }
.launch-bar a { color: #c9cbff; font-weight: 700; margin-left: .35rem; }
.launch-bar a:hover { color: #fff; }
.launch-pill { display: inline-block; margin-top: 1rem; padding: .45rem .9rem; border-radius: 999px; background: #eef0ff; color: #3434a3; font-weight: 700; font-size: .92rem; }
.pricing-old { margin-left: .5rem; color: #8a8ca0; font-size: .5em; font-weight: 600; }

/* ---- Collaboration en direct (admin) ---- */
.live-avatars { display: inline-flex; gap: .2rem; align-items: center; }
.live-avatar { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: .68rem; font-weight: 700; border: 2px solid var(--surface); }
.live-avatar.is-away { opacity: .45; }
.live-bell { position: relative; display: inline-flex; align-items: center; color: var(--text-2); padding: .25rem; }
.live-bell .count { position: absolute; top: -4px; right: -6px; }
.live-viewers { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 .75rem; font-size: .85rem; color: var(--text-2); }
.live-viewer { display: inline-flex; align-items: center; gap: .35rem; }
.live-row-badges { display: inline-flex; gap: .15rem; margin-left: .4rem; vertical-align: middle; }
.live-row-badges .live-avatar { width: 20px; height: 20px; font-size: .58rem; }
.live-typing { font-size: .82rem; color: var(--info); font-style: italic; }
.live-lock { font-size: .85rem; background: var(--warning-50); color: #6f4700; border: 1px solid #f1d9a8; border-radius: 6px; padding: .4rem .6rem; }
@keyframes liveFlash { from { background: #fff4c2; } to { background: transparent; } }
.live-flash { animation: liveFlash 2.5s ease-out; }
.live-feed { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.live-feed li { padding: .4rem 0; border-bottom: 1px solid var(--border); }

/* ---- Prise en main (espace propriétaire) ---- */
.onb { padding: 1.4rem 1.5rem 1.1rem; margin-bottom: 1.25rem; background: linear-gradient(135deg, #fff 0%, var(--primary-50) 100%); border: 1px solid var(--primary-100); }
.onb-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.onb-title { font-size: 1.25rem; margin: 0 0 .25rem; }
.onb-sub { margin: 0; color: #5b6478; font-size: .92rem; }
.onb-ring { --p: 0; flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--primary) calc(var(--p) * 1%), var(--primary-100) 0); }
.onb-ring span { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--primary); }
.onb-bar { height: 4px; background: var(--primary-100); border-radius: 4px; margin: 1rem 0 .4rem; overflow: hidden; }
.onb-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary-500), var(--accent)); border-radius: 4px; transition: width .4s; }
.onb-steps { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .5rem; }
.onb-step { display: flex; align-items: center; gap: .85rem; padding: .75rem .9rem; background: #fff; border: 1px solid #e3e8f2; border-radius: 10px; }
.onb-step.is-current { border-color: var(--primary-500); box-shadow: 0 2px 10px rgba(31, 59, 134, .12); }
.onb-step.is-done { opacity: .72; }
.onb-num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: var(--primary-50); color: var(--primary); }
.onb-step.is-current .onb-num { background: var(--primary); color: #fff; }
.onb-step.is-done .onb-num { background: var(--accent-50); color: var(--accent); }
.onb-body { flex: 1; display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.onb-body span { color: #5b6478; font-size: .88rem; }
.onb-help { font-size: .82rem; font-weight: 600; }
.onb-ok { flex: none; font-size: .8rem; font-weight: 700; color: var(--accent); }
.onb-foot { margin: .8rem 0 0; }
@media (max-width: 640px) { .onb-step { flex-wrap: wrap; } .onb-step .btn { margin-left: 42px; } .onb-ring { display: none; } }

/* ---------- Continuer avec Google ---------- */
.btn-google { display: flex; align-items: center; justify-content: center; gap: .6rem; background: #fff; border: 1px solid var(--border-strong); color: var(--text); font-weight: 600; margin: .25rem 0 0; }
.btn-google:hover { background: var(--surface-2); text-decoration: none; }
.btn-google svg { flex: none; }
.auth-or { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .82rem; margin: 1rem 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.form .optional { font-weight: 400; color: var(--muted); font-size: .8rem; }

/* ---------- Hub « lien en bio » (/liens) et réseaux du pied de page ---------- */
.links-hub { padding: 2rem 16px 3rem; background: radial-gradient(120% 60% at 50% 0, var(--primary-50), var(--bg) 70%); }
.links-in { max-width: 560px; margin: 0 auto; }
.links-head { text-align: center; margin-bottom: 1.5rem; }
.links-avatar { display: inline-flex; width: 76px; height: 76px; border-radius: 50%; align-items: center; justify-content: center; background: var(--surface); box-shadow: var(--shadow-md); border: 1px solid var(--border); margin-bottom: .75rem; }
.links-head h1 { font-size: 1.45rem; margin: 0 0 .35rem; }
.links-tag { color: var(--text-2); margin: 0 auto .75rem; max-width: 440px; }
.links-badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; color: var(--accent); background: var(--accent-50); border-radius: 999px; padding: .3rem .75rem; margin: 0; }
.links-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.links-list { display: grid; gap: .7rem; }
.links-btn { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; min-height: 64px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--text); transition: transform .15s, box-shadow .15s, border-color .15s; }
.links-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: var(--primary-100); }
.links-btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.links-btn--primary:hover { background: var(--primary-600); border-color: var(--primary-600); }
.links-btn--primary small, .links-btn--primary .links-ico, .links-btn--primary .links-go { color: #fff; }
.links-btn--primary .links-ico { background: rgba(255, 255, 255, .14); }
.links-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-50); color: var(--primary); }
.links-ico--yt { background: #fdecec; color: #c4302b; }
.links-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.links-txt strong { font-size: .98rem; }
.links-txt small { color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.links-go { flex: none; color: var(--muted); }
.links-social { margin-top: 2rem; text-align: center; }
.links-social h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 .8rem; }
.links-social ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.links-net { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-size: .85rem; font-weight: 600; }
.links-net:hover { text-decoration: none; color: var(--primary); border-color: var(--primary-100); }
.links-foot { text-align: center; color: var(--muted); font-size: .82rem; margin: 2rem 0 0; }
.site-footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 0; padding: 0; }
.site-footer-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); }
.site-footer-social a:hover { color: var(--primary); border-color: var(--primary-100); text-decoration: none; }
@media (min-width: 640px) { .links-hub { padding-top: 3rem; } .links-head h1 { font-size: 1.7rem; } }

/* ---------- Statistiques › Site (mesure d'audience sans cookie) ---------- */
.sa-head-actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.sa-stamp { margin: 0 0 .75rem; }
.sa-delta { font-size: .78rem; font-weight: 650; color: var(--muted); white-space: nowrap; }
.sa-delta-up { color: var(--success); }
.sa-delta-down { color: var(--danger); }
.sa-delta-new { color: var(--info); }
.sa-table td { position: relative; }
.sa-table .sa-bar { position: absolute; inset: 4px auto 4px 0; width: var(--w); background: var(--primary-50); border-radius: 4px; z-index: 0; }
.sa-table .sa-bar-green { background: var(--accent-50); }
.sa-table .sa-k { position: relative; z-index: 1; overflow-wrap: anywhere; }
.sa-mini .table th, .sa-mini .table td { padding: .4rem .55rem; font-size: .82rem; }
.sa-live-n { font-size: 2rem; font-weight: 750; margin-bottom: .5rem; }
.sa-live-n span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.sa-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(18,121,90,.5); animation: sa-pulse 2s infinite; }
@keyframes sa-pulse { 70% { box-shadow: 0 0 0 8px rgba(18,121,90,0); } 100% { box-shadow: 0 0 0 0 rgba(18,121,90,0); } }
@media (prefers-reduced-motion: reduce) { .sa-dot { animation: none; } }
.sa-funnel .sa-step { margin-bottom: .7rem; }
.sa-step-label { font-size: .88rem; margin-bottom: .2rem; }
.sa-step-bar { display: flex; align-items: center; gap: .5rem; }
.sa-step-bar span { display: block; height: 22px; background: linear-gradient(90deg, #2f5fd0, #0f8a7e); border-radius: 5px; min-width: 2px; }
.sa-step-bar b { font-variant-numeric: tabular-nums; }
.sa-featured { background: var(--info-50); }
.sa-legend { display: inline-flex; align-items: center; gap: .3rem; }
.sa-key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-left: .4rem; }
.sa-key-v { background: #2f5fd0; } .sa-key-p { background: #e08a1e; } .sa-key-s { background: #0f8a7e; border-radius: 50%; }
.sa-code { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .75rem; overflow-x: auto; font-size: .8rem; white-space: pre-wrap; word-break: break-all; }
.sa-h2 { margin: 1.5rem 0 .75rem; }
.sa-method ul { padding-left: 1.1rem; margin: .5rem 0 0; }
.sa-method li { margin-bottom: .35rem; }
@media (max-width: 900px) { .sa-mini { grid-template-columns: 1fr; } }

/* ---------- Messagerie (admin) : dossiers | liste | lecture ; sur mobile : liste puis lecture ---------- */
.mbx { display: grid; grid-template-columns: 190px minmax(280px, 400px) minmax(0, 1fr); gap: 1rem; align-items: start; }
.mbx .card { margin-bottom: 0; }
.mbx-folders { display: flex; flex-direction: column; gap: .15rem; position: sticky; top: 1rem; }
.mbx-folder { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .7rem; border-radius: var(--radius-sm); color: var(--text-2); font-weight: 600; font-size: .9rem; text-decoration: none; }
.mbx-folder:hover { background: var(--nav-2); text-decoration: none; }
.mbx-folder.is-active { background: var(--primary-50); color: var(--primary); }
.mbx-folder .count { background: var(--primary); color: #fff; border-radius: 999px; font-size: .72rem; font-weight: 700; padding: 0 .45rem; }
.mbx-sync { margin: .6rem .7rem 0; }
.mbx-list { overflow: hidden; }
.mbx-toolbar { display: grid; gap: .5rem; padding: .7rem; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mbx-search input { width: 100%; }
.mbx-filters { display: flex; gap: .25rem; font-size: .85rem; }
.mbx-filters a { padding: .2rem .55rem; border-radius: 999px; color: var(--muted); font-weight: 600; }
.mbx-filters a.is-active { background: var(--primary-50); color: var(--primary); }
.mbx-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.mbx-bulk .btn-sm { padding: .3rem .55rem; font-size: .8rem; }
.mbx-all { display: inline-flex; padding: 0 .35rem; }
.mbx-rows { list-style: none; margin: 0; padding: 0; max-height: calc(100vh - 260px); overflow-y: auto; }
.mbx-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .55rem; align-items: start; padding: .6rem .7rem; border-bottom: 1px solid var(--border); border-left: 3px solid transparent; }
.mbx-row:hover { background: var(--bg-soft); }
.mbx-row.is-current { background: var(--primary-50); border-left-color: var(--primary); }
.mbx-row.is-unread .mbx-from, .mbx-row.is-unread .mbx-subject { font-weight: 750; color: var(--text); }
.mbx-row.is-unread { border-left-color: var(--accent); }
.mbx-check { margin-top: .2rem; }
.mbx-row-link { display: grid; gap: .1rem; min-width: 0; color: inherit; text-decoration: none; }
.mbx-row-link:hover { text-decoration: none; }
.mbx-row-top { display: flex; justify-content: space-between; gap: .5rem; }
.mbx-from, .mbx-subject, .mbx-snippet { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mbx-from { font-weight: 600; color: var(--text-2); font-size: .9rem; }
.mbx-date { flex: none; font-size: .78rem; color: var(--muted); }
.mbx-subject { font-size: .9rem; color: var(--text-2); }
.mbx-snippet { font-size: .82rem; color: var(--muted); }
.mbx-star { color: #d99a00; }
.mbx-replied, .mbx-clip { color: var(--muted); }
.mbx-pager { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .7rem; margin: 0; }
.mbx-read { padding: 1rem 1.25rem; min-width: 0; }
.mbx-placeholder { padding: 4rem 1rem; }
.mbx-read-bar { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; }
.mbx-read-nav { display: inline-flex; gap: .3rem; }
.mbx-back { display: none; }
.mbx-msg-head { display: grid; gap: .6rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border); margin-bottom: .9rem; }
.mbx-msg-subject { margin: 0; overflow-wrap: anywhere; }
.mbx-msg-meta { display: grid; gap: .15rem; overflow-wrap: anywhere; }
.mbx-msg-actions { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.mbx-inline { display: contents; }
.mbx-contact { display: grid; gap: .4rem; padding: .7rem .8rem; border: 1px solid var(--info-50); background: var(--info-50); border-radius: var(--radius-sm); margin-bottom: .9rem; }
.mbx-contact-item { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.mbx-atts { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.mbx-atts li { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .3rem .6rem; background: var(--surface-2); font-size: .88rem; }
.mbx-images { margin-bottom: .9rem; }
.mbx-body { overflow-wrap: anywhere; line-height: 1.55; }
.mail-text { white-space: pre-wrap; font-size: .95rem; }
.mail-html { position: relative; overflow-x: auto; contain: content; isolation: isolate; max-width: 100%; }
.mail-html img { max-width: 100%; height: auto; }
.mail-html table { max-width: 100%; }
.mail-html blockquote { margin: .5rem 0; padding-left: .8rem; border-left: 3px solid var(--border-strong); color: var(--text-2); }
.mail-img-blocked { display: inline-block; padding: .1rem .4rem; border: 1px dashed var(--border-strong); border-radius: 4px; color: var(--muted); font-size: .8rem; }
.mbx-thread { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.mbx-thread ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mbx-thread li { display: grid; gap: .1rem; padding: .5rem .7rem; border-radius: var(--radius-sm); background: var(--surface-2); }
.mbx-thread li.is-current { background: var(--primary-50); }
.mbx-compose-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.mbx-editor { font-family: var(--mono); font-size: .9rem; line-height: 1.5; min-height: 18rem; }
@media (max-width: 1250px) {
  .mbx { grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); }
  .mbx-folders { grid-column: 1 / -1; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; position: static; }
  .mbx-folder { white-space: nowrap; }
  .mbx-sync { margin: 0 0 0 auto; align-self: center; white-space: nowrap; }
}
@media (max-width: 900px) {
  .mbx { grid-template-columns: minmax(0, 1fr); }
  .mbx--reading .mbx-list, .mbx--reading .mbx-folders, .mbx:not(.mbx--reading) .mbx-read { display: none; }
  .mbx-back { display: inline-flex; }
  .mbx-rows { max-height: none; }
  .mbx-read { padding: .9rem; }
  .mbx-compose-grid { grid-template-columns: minmax(0, 1fr); }
}

/* SEO 15/10/2026 : bandeau WordPress.org, guides (pages piliers), articles liés */
.launch-bar .container { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .2rem .55rem; }
.launch-bar-sep { opacity: .5; }
.help-cat h3 { font-size: 1.05rem; margin: .9rem 0 .35rem; }
.help-guides { margin-bottom: 1rem; }
.help-guides > .h2 { margin: 0 0 1rem; }
.help-guides .help-cats { margin-bottom: 1rem; }
.wporg-note { color: var(--text-2); margin: 1.5rem 0 0; }
.wporg-note a { font-weight: 650; }
.help-guides .wporg-note { margin: 0 0 2.25rem; }
.wporg-cta { margin: 1.25rem 0 2rem; padding: 1.1rem 1.25rem; border: 1px solid var(--primary-100); border-radius: var(--radius); background: var(--primary-50); }
.wporg-cta p { margin: 0 0 .8rem; }
.wporg-cta .actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.help-related, .guide-articles { margin-top: 2.5rem; }
.help-related .help-list, .guide-articles .help-list { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) { .launch-bar-sep { display: none; } }
