/* Accueil premium (1er décembre 2026) : noir, blanc et un seul bleu, police Geist serrée. */
/* Variables aussi sur <main class="home"> : la page garde son style même si la classe du body manque. */
.home-page, .home {
    --home-ink: #0a0a0b;
    --home-soft: #f4f4f6;
    --home-line: #e8e8ec;
    --home-muted: #6e6e78;
    --home-blue: #2b5bff;
    --home-blue-soft: #eef2ff;
    --home-green: #3ddc97;
    --home-card: #16161a;
    background: #fff;
    color: var(--home-ink);
}

/* Haut de page sombre sur l’accueil */
.home-page .site-header { background: #0a0a0bf2; color: #fff; border-bottom: 1px solid #ffffff14; position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.home-page .brand { color: #fff; }
.home-page .brand .brand-mark { --mark-bg: #fff; --mark-fg: #0a0a0b; }
.home-page .site-nav a:hover { color: #fff; opacity: .75; }
.home-page .site-nav a[aria-current="page"] { background: transparent; color: #9db4ff; box-shadow: none; }
.home-page .header-language summary { border-color: #ffffff40; color: #fff; }
.home-page .header-language summary:hover { background: #ffffff14; }
.home-page .header-language summary img { filter: invert(1); }
.home-page .language-options { color: var(--home-ink); }
.home-page .site-header .button { border-radius: 999px; box-shadow: none; }
.home-page .site-header .button-outline { color: #fff; border-color: #ffffff40; background: transparent; }
.home-page .site-header .button-outline:hover { background: #ffffff14; }
.home-page .site-header .button-primary { background: #fff; color: var(--home-ink); }
.home-page .site-header .button-primary:hover { background: #e9e9ee; }
.home-page .header-menu-toggle:not([hidden]) { background: transparent; border-color: #ffffff40; }
.home-page .header-menu-toggle img { filter: invert(1); }
@media (max-width: 940px) {
    .home-page .header-panel { background: #0a0a0b; }
    .home-page .site-nav a { color: #fff; }
    .home-page .header-panel, .home-page .header-panel * { border-color: #ffffff22 !important; }
    .home-page .header-language summary, .home-page .header-panel .button-outline { color: #fff; }
}

.home { overflow-x: clip; }
.home-wrap { width: min(1340px, calc(100% - 2 * max(4vw, 16px))); margin-inline: auto; }
.home h2, .home h3, .home h4 { margin: 0; font-weight: 640; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.home p { margin: 0; }
.home ul, .home ol { margin: 0; padding: 0; list-style: none; }

.home-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font-size: 17px; font-weight: 600; transition: background-color .18s, transform .18s; }
.home-btn:active { transform: translateY(1px); }
.home-btn-light { background: #fff; color: var(--home-ink); }
.home-btn-light:hover { background: #e9e9ee; }
.home-btn-ghost { border-color: #ffffff40; color: #fff; }
.home-btn-ghost:hover { background: #ffffff14; }
.home-btn-dark { background: var(--home-ink); color: #fff; }
.home-btn-dark:hover { background: #2a2a30; }
.home-new { display: inline-block; margin-inline-start: 6px; padding: 2px 7px; border-radius: 999px; background: var(--home-blue-soft); color: var(--home-blue); font-size: 11.5px; font-weight: 650; letter-spacing: 0; vertical-align: 2px; }

/* Haut de page */
.home-hero { padding-top: clamp(56px, 7vw, 100px); color: #fff; text-align: center; background: radial-gradient(900px 500px at 50% 110%, #2b5bff55, transparent 70%), #0a0a0b; overflow: hidden; }
.home-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; padding: 7px 14px; border: 1px solid #ffffff26; border-radius: 999px; color: #ffffffcc; font-size: 14px; }
.home-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--home-green); }
.home-hero h1 { margin: 0; font-size: clamp(42px, 6.4vw, 96px); font-weight: 650; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.home-intro { max-width: 760px; margin: 24px auto 32px !important; color: #ffffffad; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; }
.home-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.home-small { margin-top: 18px !important; color: #ffffff80; font-size: 14px; }
.home-stage { position: relative; max-width: 1120px; height: 400px; margin: clamp(44px, 5vw, 68px) auto 0; text-align: left; }
.stage-card { position: absolute; padding: 22px; border: 1px solid #ffffff1a; border-radius: 22px; background: var(--home-card); box-shadow: 0 40px 80px -20px #000a; }
.stage-day { top: 0; left: 50%; width: min(560px, 100%); height: 450px; transform: translateX(-50%); }
.stage-cash { top: 90px; left: 0; width: 290px; }
.stage-sms { top: 50px; right: 0; width: 300px; }
.stage-muted { color: #ffffff80; font-size: 13px; }
.stage-amount { margin: 6px 0 8px !important; font-size: 40px; font-weight: 640; letter-spacing: -.04em; }
.stage-tag { flex: none; padding: 4px 10px; border-radius: 999px; background: #ffffff14; color: #ffffffd9; font-size: 12px; white-space: nowrap; }
.stage-tag-ok { background: #3ddc9724; color: var(--home-green); }
.stage-tag-blue { background: #2b5bff40; color: #a9bfff; }
.stage-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px !important; padding-top: 12px; border-top: 1px solid #ffffff14; font-size: 13.5px; }
.stage-zero { color: var(--home-green); }
.stage-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px !important; font-size: 18px; }
.stage-slot { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #ffffff14; font-size: 14.5px; }
.stage-slot small { display: block; color: #ffffff80; font-size: 13px; }
.stage-time { color: #ffffff80; font-variant-numeric: tabular-nums; }
.stage-bubble { margin: 10px 0 4px !important; padding: 12px 14px; border-radius: 14px; background: #ffffff10; font-size: 14px; line-height: 1.45; }

/* Qui êtes-vous ? */
.home-who { padding-top: clamp(72px, 8vw, 116px); }
.home-who > .home-wrap > h2 { font-size: clamp(36px, 4.4vw, 60px); text-align: center; }
.home-sub { max-width: 640px; margin: 12px auto 34px !important; color: var(--home-muted); font-size: 18px; text-align: center; }
.who-tabs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.who-tab { display: flex; flex-direction: column; gap: 12px; min-height: 120px; padding: 16px 14px; border: 1.5px solid transparent; border-radius: 22px; background: var(--home-soft); color: var(--home-ink); font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; transition: transform .15s, background-color .15s; }
.who-tab:hover { transform: translateY(-2px); }
.who-tab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.who-tab small { display: block; margin-top: 3px; color: var(--home-muted); font-size: 13.5px; font-weight: 450; line-height: 1.35; }
.who-tab[aria-selected="true"] { background: var(--home-ink); color: #fff; }
.who-tab[aria-selected="true"] small { color: #ffffffb0; }
.who-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 14px; overflow: hidden; border-radius: 28px; background: var(--home-soft); }
.who-text { grid-column: 1; grid-row: 1; padding: clamp(28px, 3.4vw, 48px); }
.who-text[hidden] { display: none; }
.who-text h3 { font-size: clamp(28px, 2.6vw, 38px); }
.who-lead { margin: 14px 0 26px !important; color: var(--home-muted); font-size: 17.5px; line-height: 1.5; }
.who-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; margin-bottom: 32px !important; }
.who-features li { position: relative; padding-inline-start: 30px; font-size: 15.5px; line-height: 1.35; }
.who-features li::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230a0a0b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.who-features a, .who-features b { font-weight: 600; }
.who-features a { border-bottom: 1px solid #c9c9d1; }
.who-features a:hover { border-color: var(--home-blue); color: var(--home-blue); }
.who-features span:not(.home-new) { display: block; margin-top: 3px; color: var(--home-muted); font-size: 14px; }
.who-demo { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; padding: 36px 40px; background: radial-gradient(500px 300px at 70% 100%, #2b5bff44, transparent), #0a0a0b; }
.who-ask { width: 100%; max-width: 480px; margin-inline: auto; padding: 16px 18px; border: 1px solid #ffffff1f; border-radius: 18px; background: var(--home-card); color: #fff; }
.who-ask-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px !important; color: #ffffff90; font-size: 13px; }
.who-ask-head svg { width: 16px; height: 16px; }
.who-prompt { font-size: 15.5px; line-height: 1.45; }
.who-prompt::after { content: ""; display: inline-block; width: 2px; height: 16px; margin-left: 3px; background: #9db4ff; vertical-align: -2px; animation: home-caret 1s steps(1) infinite; }
@keyframes home-caret { 50% { opacity: 0; } }
.who-link { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; color: #ffffff80; font-size: 13px; text-align: center; }
.who-link::before, .who-link::after { content: ""; width: 1px; height: 16px; background: #ffffff30; }
.home-sample { margin-top: 14px !important; color: var(--home-muted); font-size: 13px; text-align: center; }

/* Démo de réservation */
.bw { display: flex; flex-direction: column; width: 100%; max-width: 430px; min-height: 500px; margin-inline: auto; overflow: hidden; border-radius: 22px; background: #fff; color: var(--home-ink); color-scheme: light; box-shadow: 0 40px 80px -20px #000c; }
.bw-h { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--home-line); }
.bw-h b { display: block; font-size: 15px; }
.bw-h small { color: var(--home-muted); font-size: 13px; }
.av2 { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--home-ink); color: #fff; font-size: 14px; font-weight: 600; }
.bk2 { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--home-soft); color: var(--home-ink); font-size: 20px; cursor: pointer; }
.prog { height: 3px; background: var(--home-soft); }
.prog i { display: block; height: 100%; background: var(--home-blue); transition: width .3s; }
.bw-b { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 20px; }
.bw-b h4 { margin-bottom: 4px; font-size: 19px; letter-spacing: -.02em; }
.cap { color: var(--home-muted); font-size: 13px; }
.cap-center { text-align: center; }
.op { padding: 12px; border: 1px solid var(--home-line); border-radius: 12px; background: #fff; color: var(--home-ink); font-size: 14px; font-weight: 500; text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.op:hover:not(:disabled) { border-color: var(--home-ink); }
.op small { display: block; color: var(--home-muted); font-size: 12px; }
.op b { font-size: 16px; }
.op-off { opacity: .35; text-decoration: line-through; cursor: default; }
.mo { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; text-align: left; }
.mo small { margin-top: 2px; }
.mo b { font-size: 15px; }
.cls { display: flex; flex-direction: column; gap: 7px; }
.cl { display: grid; flex: none; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; text-align: left; }
.cl .tm { color: var(--home-muted); font-size: 12px; }
.cl .tm b, .cl b { display: block; color: var(--home-ink); font-size: 15px; }
.cl small { display: block; color: var(--home-muted); font-size: 12px; }
.cl .plc { color: var(--home-blue); font-size: 12px; font-weight: 600; }
.cl.full { opacity: .55; cursor: not-allowed; }
.cl.full .plc { color: var(--home-muted); }
/* Démo multi-centres : un centre par ligne, avec sa photo. */
.sites { display: flex; flex-direction: column; gap: 7px; }
.st { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; text-align: left; }
.st .th { width: 48px; height: 48px; flex: none; border-radius: 10px; object-fit: cover; background: #eef1f6; }
.st .nm { flex: 1; min-width: 0; }
.st b { display: block; font-size: 15px; }
.g5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bw input:not([type="checkbox"]), .bw textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--home-line); border-radius: 12px; background: #fff; color: var(--home-ink); -webkit-text-fill-color: var(--home-ink); font: inherit; font-size: 16px; resize: none; }
.ck { display: flex; align-items: center; gap: 8px; color: var(--home-muted); font-size: 13px; }
.ck input { width: 16px; height: 16px; accent-color: var(--home-blue); }
.go { min-height: 48px; margin-top: auto; border: 0; border-radius: 999px; background: var(--home-ink); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.go:hover { background: #2a2a30; }
.sum { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--home-soft); font-size: 14px; font-weight: 500; }
.sum-center { justify-content: center; text-align: center; }
.ok { display: grid; place-items: center; width: 56px; height: 56px; margin: 20px auto 6px !important; border-radius: 50%; background: var(--home-green); color: #fff; font-size: 26px; font-weight: 700; }
.bw-f { padding: 10px; border-top: 1px solid var(--home-line); color: var(--home-muted); font-size: 11.5px; text-align: center; }

/* Logos */
.home-logos { margin-top: clamp(72px, 8vw, 110px); padding: 34px 0; border-block: 1px solid var(--home-line); }
.home-logos h2 { margin-bottom: 20px; color: var(--home-muted); font-size: 15px; font-weight: 500; letter-spacing: 0; text-align: center; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; }
.logo-row li { display: flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 600; }
.logo-row svg { width: 22px; height: 22px; }

/* Toutes les fonctions */
.home-all { padding-block: clamp(72px, 8vw, 116px); }
.all-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.all-head h2 { max-width: 760px; font-size: clamp(34px, 4vw, 56px); }
.all-count { display: block; color: var(--home-blue); font-size: clamp(80px, 10vw, 150px); line-height: .9; letter-spacing: -.06em; }
.all-head p { max-width: 460px; color: var(--home-muted); font-size: 17.5px; line-height: 1.5; }
.all-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.all-card { padding: 26px; border-radius: 22px; background: var(--home-soft); }
.all-card h3 { margin-bottom: 14px; font-size: 21px; }
.all-card ul { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.all-card a:hover { color: var(--home-blue); text-decoration: underline; text-underline-offset: .2em; }

/* Assistant IA */
.home-ai { padding-block: clamp(72px, 8vw, 116px); color: #fff; background: radial-gradient(800px 400px at 80% 0, #2b5bff33, transparent), #0a0a0b; }
.home-ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.home-ai h2 { font-size: clamp(34px, 4vw, 56px); }
.home-ai-text { margin: 20px 0 28px !important; color: #ffffffad; font-size: 18px; line-height: 1.5; }
.ai-chat { padding: 24px; border: 1px solid #ffffff22; border-radius: 22px; background: var(--home-card); }
.ai-bubble { margin: 8px 0 !important; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; }
.ai-me { margin-inline-start: 48px !important; background: #fff; color: var(--home-ink); }
.ai-ai { margin-inline-end: 24px !important; background: #ffffff18; }

/* Étapes */
.home-steps { padding-block: clamp(72px, 8vw, 116px); }
.home-steps h2 { margin-bottom: 36px; font-size: clamp(34px, 4vw, 56px); }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps-list li { padding-top: 18px; border-top: 2px solid var(--home-ink); }
.steps-list h3 { margin-bottom: 8px; font-size: 22px; }
.steps-list p { color: var(--home-muted); font-size: 16px; line-height: 1.5; }

/* Tarifs courts et questions fréquentes (même style que la page Tarifs) */
.home-price { padding-block: clamp(72px, 8vw, 116px); background: var(--home-soft); text-align: center; }
.home-price h2 { font-size: clamp(34px, 4vw, 56px); }
.home-price-intro { max-width: 620px; margin: 14px auto 0 !important; color: var(--home-muted); font-size: 18px; }
.home-price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 880px; margin: 40px auto 0; text-align: start; }
.home-price-card { display: flex; flex-direction: column; padding: 30px; border-radius: 24px; background: #fff; }
.home-price-card.is-dark { background: radial-gradient(380px 260px at 100% 0, #2b5bff55, transparent), var(--home-ink); color: #fff; }
.home-price-card h3 { font-size: 20px; letter-spacing: -.02em; }
.home-price-amount { margin: 14px 0 4px !important; font-size: 56px; font-weight: 640; letter-spacing: -.05em; line-height: 1; }
.home-price-amount small { color: var(--home-muted); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.home-price-note { min-height: 21px; color: var(--home-muted); font-size: 14px; }
.home-price-card.is-dark .home-price-amount small, .home-price-card.is-dark .home-price-note { color: #ffffff99; }
.home-price-card ul { display: flex; flex-direction: column; gap: 9px; margin: 20px 0 24px !important; font-size: 15px; }
.home-price-card li { position: relative; padding-inline-start: 26px; }
.home-price-card li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--home-blue); font-weight: 700; }
.home-price-card.is-dark li::before { color: #9db4ff; }
.home-price-card .home-btn { margin-top: auto; }
.home-price-card .home-btn[disabled] { opacity: .6; cursor: not-allowed; }
.home-price-link { display: inline-block; margin-top: 26px; color: var(--home-ink); font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }
.home-price-link:hover { color: var(--home-blue); }
.home-faq { padding-block: clamp(72px, 8vw, 112px); }
.home-faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.home-faq h2 { font-size: clamp(34px, 4vw, 56px); }
.home-faq details { padding: 20px 0; border-bottom: 1px solid var(--home-line); }
.home-faq details:first-child { border-top: 1px solid var(--home-line); }
.home-faq summary { display: flex; justify-content: space-between; gap: 20px; font-size: 18px; font-weight: 600; list-style: none; cursor: pointer; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; }
.home-faq details[open] summary::after { content: "–"; }
.home-faq details p { max-width: 640px; margin-top: 10px !important; color: var(--home-muted); font-size: 16px; line-height: 1.55; }

@media (max-width: 1100px) {
    .who-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .all-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stage-cash, .stage-sms { display: none; }
}
@media (max-width: 900px) {
    .who-panel, .home-ai-grid, .home-faq-grid, .home-price-cards { grid-template-columns: 1fr; }
    .who-text { grid-row: 2; }
    .who-demo { grid-column: 1; grid-row: 1; padding: 28px 18px; }
}
@media (max-width: 600px) {
    .who-tabs { grid-template-columns: 1fr 1fr; }
    .who-tab { min-height: 0; }
    .who-features, .all-grid, .steps-list { grid-template-columns: 1fr; }
    .home-stage { height: 330px; }
    .stage-day { height: 380px; padding: 16px; }
    .stage-slot { grid-template-columns: 46px minmax(0, 1fr) auto; }
    .home-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .who-prompt::after { animation: none; }
    .who-tab, .prog i { transition: none; }
}
/* Boutique (métier « Commerce de bouche ») : bouton vers la boutique démo, panier de la démo. */
.who-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.who-text .who-shop { border-color: #d6d6de; color: var(--home-ink); }
.who-text .who-shop:hover { background: var(--home-soft); }
.bw .pr { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border: 1px solid #e7e7ee; border-radius: 12px; margin-bottom: 7px; }
.bw .pr b { display: block; font-size: 14px; }
.bw .pr small { display: block; color: #6b6b78; font-size: 12.5px; }
.bw .pr .th { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; background: #f3f1ea; }
.bw .pr .nm { flex: 1; min-width: 0; }
.bw .qty { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.bw .qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #d9d9e3; background: #fff; font-size: 16px; line-height: 1; cursor: pointer; color: inherit; }
.bw .qty button:disabled { opacity: .35; cursor: default; }
.bw .qty output { min-width: 16px; text-align: center; font-weight: 650; }
.bw .go:disabled { opacity: .45; cursor: default; }
.bw .addr { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: #eaf7ef; color: #17663a; font-size: 12.5px; }
