.fc-demos [hidden] { display: none !important; }
.fc-demo-tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 4px;
  padding: 4px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}
.fc-demo-tabs button,
.fc-demo-footer button {
  border: 0;
  border-radius: 20px;
  padding: 8px 16px;
  color: var(--olive);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.fc-demo-tabs button:hover,
.fc-demo-footer button:hover { background: #e8ecdf; }
.fc-demo-tabs button[aria-pressed="true"] { background: var(--olive); color: var(--paper); }
.fc-demos :is(button, a):focus-visible { outline: 2px solid #8b491e; outline-offset: 3px; }
.fc-demo-group {
  --demo-bg: #e5e8d8;
  --demo-active: #eef0e6;
  display: grid;
  gap: 24px;
  margin-bottom: 28px;
}
.fc-demo-group[data-demo-group="pro"] { --demo-bg: #f2e3d2; --demo-active: #f7eadb; }
.fc-demos[data-ready] .fc-demo-group { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.fc-demo-picker { min-width: 0; }
.fc-demo-picker header { position: static; padding: 0 0 16px; background: transparent; border: 0; }
.fc-demo-picker h3 { margin: 8px 0 0; font-size: clamp(23px, 2.5vw, 34px); line-height: 1.12; }
.fc-demo-step { border-top: 1px solid var(--line); border-radius: 4px; }
.fc-demo-step:last-child { border-bottom: 1px solid var(--line); }
.fc-demo-step:has([aria-expanded="true"]) { background: var(--demo-active); }
.fc-demo-step h4 { margin: 0; }
.fc-demo-step h4 button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 14px;
  text-align: left;
  border: none;
  background: transparent;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
}
.fc-demo-step h4 button:hover { background: #37412a0c; }
.fc-demo-step h4 span { flex: 0 0 14px; text-align: center; }
.fc-demo-step h4 span::after { content: "+"; }
.fc-demo-step h4 [aria-expanded="true"] span::after { content: "−"; }
.fc-demo-content > p { margin: 0; padding: 0 14px 16px; color: #535d4b; }
.fc-demo-stage:empty, .fc-demo-inline:empty { display: none; }
.fc-demo-stage { min-width: 0; }
.fc-demo-inline { padding: 0 10px 12px; }
.fc-demo-scene {
  border-radius: 16px;
  padding: clamp(10px, 2vw, 25px);
  display: grid;
  align-content: space-between;
  gap: 12px;
  min-width: 0;
  background: var(--demo-bg);
}
.fc-demo-stage .fc-demo-scene { min-height: 400px; }
.fc-demo-canvas { display: grid; place-items: center; align-content: center; min-width: 0; gap: 12px; }
.fc-demo-canvas > svg { display: block; width: min(100%, 465px); height: auto; }
.fc-demo-canvas > .chat-demo { margin: 0; padding: clamp(12px, 2vw, 22px); }
.fc-demo-canvas .line-item { gap: 10px; }
.fc-demo-canvas .line-item > :last-child { white-space: nowrap; }
.fc-demo-query { font-size: 12px; color: var(--olive); }
.fc-demo-footer { display: flex; gap: 6px; justify-content: space-between; align-items: center; flex-wrap: wrap; font-size: 12px; color: #525c48; }
.fc-demo-footer button { padding: 6px 10px; border: 1px solid #737f66; }
.fc-demo-export { max-width: 410px; border-radius: 10px; overflow: hidden; }
.fc-demo-export img { display: block; width: 100%; height: auto; }
.fc-demo-download { border-radius: 18px; background: var(--olive); color: var(--paper); padding: 8px 12px; font-size: 13px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.fc-demo-sr { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); position: absolute; white-space: nowrap; }
.fc-demo-scene svg [data-demo-layer] { transform-box: fill-box; transform-origin: center; }
@media (max-width: 800px) {
  .fc-demos[data-ready] .fc-demo-group { grid-template-columns: minmax(0, 1fr); }
}
.fc-demo-export { width: min(410px, 100%); background: var(--paper); padding: 8px; }
.fc-demo-download:focus-visible { opacity: 1 !important; }

@media (min-width: 801px) {
  .fc-demo-step h4 button span { display: none; }
}
@media (min-width: 900px) and (min-height: 700px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #fonctionnalites[data-demos-ready] {
    box-sizing: border-box;
    height: calc(100svh + 165svh);
    padding-block: 0;
  }
  #fonctionnalites[data-demos-ready] .fc-demo-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    display: grid;
    align-content: center;
    padding-block: 16px;
  }
  .fc-demo-sticky .section-head { margin-bottom: 22px; }
  .fc-demo-sticky .fc-demo-group { margin-bottom: 0; }
  .fc-demo-sticky .fc-demo-stage .fc-demo-scene { height: 410px; }
  .fc-demo-sticky .fc-demo-canvas { grid-template-columns: minmax(0, 1fr); }
  .fc-demo-sticky .fc-demo-canvas > svg { max-height: 300px; }
  .fc-demo-sticky .fc-demo-export { display: grid; justify-items: center; }
  .fc-demo-sticky .fc-demo-export img { width: auto; max-width: 100%; max-height: 265px; }
}

.fc-demo-downloads { display: grid; gap: 6px; text-align: center; font-size: 13px; }
.fc-demo-downloads > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.fc-demo-downloads:focus-within { opacity: 1 !important; }
.fc-demo-compare table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
.fc-demo-compare caption { font-weight: 700; text-align: left; padding: 8px 0; }
.fc-demo-compare :is(th, td) { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.fc-demo-handoff {
  display: grid;
  width: min(100%, 420px);
  gap: 8px;
  justify-items: center;
}
.fc-demo-chat-link, .fc-demo-quote {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f5ede1;
  color: #3b4b35;
  font-size: 12px;
}
.fc-demo-chat-link { display: grid; gap: 3px; background: var(--paper); }
.fc-demo-handoff img { display: block; width: 100%; max-height: 255px; }
.fc-demo-verify { font-size: 12px; font-weight: 700; color: #41543b; margin-top: 6px; }
.fc-demo-quote { display: flex; align-items: center; gap: 8px; }
.fc-demo-quote img { width: 54px; flex: none; }
.fc-demo-quote span { display: block; }
.fc-demo-canvas .estimate .line-item { padding-block: 7px; }
