/* Accueil : « Votre quotidien au cabinet » (les outils épars se fondent en un seul écran au défilement)
   et « Et plus encore » (cartes en défilement horizontal, démo interactive en première carte).
   Animations dans assets/quotidien-plus.js (GSAP + ScrollTrigger, servis en local dans assets/gsap/).
   Sans JS ou avec mouvement réduit : mise en page statique, tout reste visible. */

/* ── Votre quotidien au cabinet ────────────────────────────── */
.qp-converge { position: relative; background: var(--bone); margin-top: 110px; }
.qp-pin { padding: 100px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; overflow: hidden; }
.qp-head .section-intro { margin-bottom: 0; }
.qp-head h2 span { display: block; color: #a18348; }
.qp-stage { position: relative; display: grid; place-items: center; padding: 0 20px; }
.qp-frag { display: none; }
.qp-screen { width: min(860px, 100%); margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 24px 50px #4d3e2420; }
.qp-screen img { display: block; width: 100%; height: auto; border-radius: 11px; }
.qp-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qp-cc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.qp-cc .eyebrow { color: var(--gold-ink); }
.qp-cc h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 10px 0 18px; }

.qp-live .qp-pin { height: 100vh; height: 100svh; padding: calc(var(--header-height) + 20px) 0 28px; display: flex; flex-direction: column; gap: 20px; }
.qp-live .qp-stage { flex: 1; min-height: 0; container-type: size; }
.qp-live .qp-screen { position: absolute; left: 50%; top: 50%; width: min(780px, 88cqw, 150cqh); translate: -50% -50%; }
.qp-live .qp-frag {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; gap: 14px; width: 210px;
  padding: 12px 14px 16px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 12px 30px #4d3e2414; font-size: 14px; color: var(--ink); white-space: nowrap;
}
.qp-frag-top { display: flex; align-items: center; gap: 10px; }
.qp-frag-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bone); flex: 0 0 auto; }
.qp-frag-ico svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.qp-frag-lines { display: block; height: 34px; margin-left: 4px; background: linear-gradient(var(--bone), var(--bone)) 0 0 / 88% 6px no-repeat, linear-gradient(var(--bone), var(--bone)) 0 14px / 64% 6px no-repeat, linear-gradient(var(--bone), var(--bone)) 0 28px / 76% 6px no-repeat; }
.qp-live .qp-copy { grid-template-columns: 1fr; max-width: 760px; }
.qp-live .qp-cc { grid-area: 1 / 1; background: none; border: 0; padding: 0; text-align: center; }
.qp-live .qp-cc h3 { margin: 6px 0 12px; font-size: clamp(22px, 2vw, 28px); }
.qp-live .qp-cc ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; text-align: left; }
.qp-live .qp-after { visibility: hidden; }
@media (max-height: 940px) { .qp-live .qp-head .section-intro > p:last-child { display: none; } }
/* Scène basse (portable 13 pouces, petite fenêtre) : fragments en étiquettes compactes, sinon ils se chevauchent */
@container (max-height: 360px) {
  .qp-live .qp-frag { width: auto; font-size: 13px; padding: 6px 14px 6px 6px; border-radius: 999px; }
  .qp-live .qp-frag-lines { display: none; }
}
@media (max-width: 760px) {
  .qp-converge { margin-top: 65px; }
  .qp-pin { padding: 65px 0; gap: 28px; }
  .qp-copy { grid-template-columns: 1fr; }
  .qp-cc { padding: 26px 22px; }
  .qp-live .qp-head .section-intro > p:last-child, .qp-live .qp-cc ul { display: none; }
  .qp-live .qp-frag { width: auto; font-size: 13px; padding: 6px 14px 6px 6px; border-radius: 999px; }
  .qp-live .qp-frag-lines { display: none; }
}

/* ── Et plus encore ────────────────────────────────────────── */
.qp-more { position: relative; padding: 110px 0 0; }
.qp-more-pin { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; overflow: hidden; }
.qp-more-head .more-copy { max-width: 760px; }
.qp-more-head .more-copy h2 span { display: block; color: #a18348; }
.qp-track {
  display: flex; gap: 18px; padding: 0 max(20px, calc((100% - 1200px) / 2)) 34px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.qp-track::-webkit-scrollbar { display: none; }
.qp-card { flex: 0 0 auto; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 12px; display: grid; gap: 18px; align-content: start; color: var(--ink); text-decoration: none; transition: border-color .3s ease, box-shadow .4s ease; }
.qp-card:hover { border-color: #cdbd9c; box-shadow: 0 18px 40px #4d3e2414; }
.qp-card-wide { width: min(560px, 84vw); }
.qp-card-wide > div { padding: 0 14px 14px; }
.qp-shot { position: relative; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.qp-shot img { display: block; width: 100%; height: auto; transition: scale 1s cubic-bezier(.22, 1, .36, 1); }
.qp-card:hover .qp-shot img { scale: 1.03; }
.qp-card h3 { font-size: 24px; }
.qp-card p { color: var(--muted); margin-top: 8px; font-size: 15px; line-height: 1.55; }
.qp-card-text { width: min(320px, 72vw); padding: 30px; align-content: space-between; }
.qp-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--bone); display: grid; place-items: center; margin-bottom: 64px; }
.qp-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.qp-more-live { padding: 0; }
.qp-more-live .qp-more-pin { height: 100vh; height: 100svh; align-content: center; padding-top: var(--header-height); }
.qp-more-live .qp-card-wide { width: clamp(380px, calc((100vh - var(--header-height) - 360px) * 1.45), 560px); }
@media (max-height: 860px) { .qp-more-live .more-copy > p:not(.eyebrow):not(.more-desktop-note) { display: none; } .qp-more-live .more-copy .text-link { margin-top: 18px; } }
.qp-more-live .qp-track { width: max-content; overflow: visible; scroll-snap-type: none; padding-left: max(40px, calc((100vw - 1200px) / 2)); padding-right: max(40px, calc((100vw - 1200px) / 2)); will-change: transform; }
@media (max-width: 760px) {
  .qp-more { padding-top: 65px; }
  .qp-more-pin { gap: 28px; }
  .qp-card h3 { font-size: 22px; }
}
