


.frame-report {
  --print-w: 112px;
  --print-h: 76px;
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  width: min(100%, 17.5rem);
  padding: var(--space-6) var(--space-5) var(--space-5);
  border: 0;
  border-radius: 24px;
  background: var(--color-card-bg);
  color: var(--color-brand-900);
  font: inherit;
  text-align: center;
  box-shadow: var(--float, var(--shadow-card));
  cursor: pointer;
  transition:
    translate var(--motion-base) var(--m-ease),
    box-shadow var(--motion-base) var(--m-ease);
}
.frame-report:hover {
  translate: 0 -3px;
  box-shadow: var(--float-high, var(--shadow-card));
}
.frame-report:focus-visible {
  outline: 2px solid var(--color-on-panel);
  outline-offset: 3px;
}
.frame-report[hidden] {
  display: none;
}


.frame-report__fan {
  position: relative;
  width: 100%;
  height: calc(var(--print-h) + 22px);
  margin-bottom: var(--space-2);
}

.frame-report__fan[data-count='0']::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: var(--print-w);
  height: var(--print-h);
  margin-left: calc(var(--print-w) / -2);
  border-radius: 12px;
  background:
    linear-gradient(
        110deg,
        transparent 30%,
        color-mix(in srgb, var(--color-card-bg) 85%, transparent) 50%,
        transparent 70%
      )
      0 0 / 250% 100%,
    var(--color-brand-50);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-brand-900) 8%, transparent);
  animation: frame-print-wait 1.8s ease-in-out infinite;
}
@keyframes frame-print-wait {
  from {
    background-position:
      130% 0,
      0 0;
  }
  to {
    background-position:
      -130% 0,
      0 0;
  }
}
.frame-report__print {
  position: absolute;
  top: 8px;
  left: 50%;
  width: var(--print-w);
  height: var(--print-h);
  margin-left: calc(var(--print-w) / -2);
  box-sizing: border-box;
  padding: 4px;
  border-radius: 12px;
  background: var(--color-canvas);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--color-brand-900) 8%, transparent),
    0 12px 22px -12px color-mix(in srgb, var(--color-brand-900) 60%, transparent);
  transition:
    translate var(--motion-slow) var(--motion-ease-move),
    rotate var(--motion-slow) var(--motion-ease-move);
}
.frame-report__print img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 8px;
  object-fit: cover;
}
.frame-report__print:nth-child(1) {
  z-index: 3;
}

.frame-report__fan[data-count='2'] .frame-report__print:nth-child(1) {
  translate: -22px 0;
  rotate: -4deg;
}
.frame-report__fan[data-count='2'] .frame-report__print:nth-child(2) {
  z-index: 2;
  translate: 26px 4px;
  rotate: 6deg;
}

.frame-report__fan[data-count='3'] .frame-report__print:nth-child(2) {
  z-index: 1;
  translate: -48px 8px;
  rotate: -9deg;
}
.frame-report__fan[data-count='3'] .frame-report__print:nth-child(3) {
  z-index: 2;
  translate: 48px 8px;
  rotate: 9deg;
}

.frame-report:hover .frame-report__fan[data-count='3'] .frame-report__print:nth-child(2) {
  translate: -58px 10px;
  rotate: -12deg;
}
.frame-report:hover .frame-report__fan[data-count='3'] .frame-report__print:nth-child(3) {
  translate: 58px 10px;
  rotate: 12deg;
}
.frame-report:hover .frame-report__fan[data-count='2'] .frame-report__print:nth-child(2) {
  translate: 34px 6px;
  rotate: 9deg;
}

.frame-report__more {
  position: absolute;
  top: 0;
  left: calc(50% + var(--print-w) / 2 - 18px);
  z-index: 4;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  box-sizing: border-box;
  border: 2px solid var(--color-canvas);
  border-radius: 999px;
  background: var(--color-brand-600);
  color: var(--color-on-panel);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 12px -6px color-mix(in srgb, var(--color-brand-600) 80%, transparent);
}


.frame-report__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.05rem;
  font-weight: 700;
}
.frame-report__tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brand-600);
  color: var(--color-on-panel);
}
.frame-report__tick svg {
  width: 13px;
  height: 13px;
}

.frame-report [data-report-word],
.frame-report__spin {
  display: none;
}
.frame-report[data-mode='termine'] [data-report-word='done'],
.frame-report:is([data-mode='envoi'], [data-mode='analyse']) [data-report-word='running'],
.frame-report[data-mode='echec'] [data-report-word='stopped'] {
  display: inline;
}
.frame-report:not([data-mode='termine']) .frame-report__tick {
  display: none;
}
.frame-report:is([data-mode='envoi'], [data-mode='analyse']) .frame-report__spin {
  display: block;
  color: var(--color-brand-600);
}
.frame-report__count {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}
.frame-report__count:empty {
  display: none;
}
.frame-report__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  min-height: 44px;
  margin-top: var(--space-2);
  border-radius: 999px;
  background: var(--color-brand-50);
  color: var(--color-brand-600);
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    background-color var(--motion-fast) var(--m-ease),
    color var(--motion-fast) var(--m-ease);
}
.frame-report:hover .frame-report__cta {
  background: var(--color-brand-600);
  color: var(--color-on-panel);
}
.frame-report__cta svg {
  flex: none;
  width: 18px;
  height: 18px;
}


@media (max-width: 1099px) {
  .frame-report {
    --print-w: 50px;
    --print-h: 36px;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: start;
    column-gap: var(--space-3);
    row-gap: 0;
    width: 100%;
    padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3);
    border-radius: 18px;
    text-align: left;
  }
  .frame-report__fan {
    grid-row: 1 / span 2;
    height: calc(var(--print-h) + 12px);
    margin: 0;
  }
  .frame-report__print {
    top: 6px;
    padding: 2px;
    border-radius: 8px;
  }
  .frame-report__print img {
    border-radius: 6px;
  }
  .frame-report__fan[data-count='3'] .frame-report__print:nth-child(2),
  .frame-report:hover .frame-report__fan[data-count='3'] .frame-report__print:nth-child(2) {
    translate: -22px 3px;
    rotate: -8deg;
  }
  .frame-report__fan[data-count='3'] .frame-report__print:nth-child(3),
  .frame-report:hover .frame-report__fan[data-count='3'] .frame-report__print:nth-child(3) {
    translate: 22px 3px;
    rotate: 8deg;
  }
  .frame-report__fan[data-count='2'] .frame-report__print:nth-child(1) {
    translate: -10px 0;
  }
  .frame-report__fan[data-count='2'] .frame-report__print:nth-child(2),
  .frame-report:hover .frame-report__fan[data-count='2'] .frame-report__print:nth-child(2) {
    translate: 12px 3px;
  }
  .frame-report__more {
    top: -2px;
    left: calc(50% + var(--print-w) / 2 - 4px);
    min-width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
  .frame-report__title {
    grid-column: 2;
    font-size: 0.95rem;
  }
  .frame-report__count {
    grid-column: 2;
    padding-left: calc(22px + var(--space-2));
    font-size: 0.8rem;
  }
  .frame-report__cta {
    grid-column: 3;
    grid-row: 1 / span 2;
    width: auto;
    margin: 0;
    padding: 0 var(--space-4);
  }
}

@media (max-width: 480px) {
  .frame-report {
    grid-template-columns: 80px auto auto;
    justify-self: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 10px 10px 10px 12px;
    border-radius: 20px;
  }
  .frame-report__title {
    font-size: 0.88rem;
  }
  .frame-report__tick {
    display: none;
  }
  .frame-report__count {
    padding-left: 0;
  }
  .frame-report__cta {
    width: 44px;
    padding: 0;
  }
  .frame-report__cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .frame-report,
  .frame-report:hover,
  .frame-report__print {
    transition: none;
  }
  .frame-report__fan[data-count='0']::before {
    animation: none;
  }
  .frame-report:hover {
    translate: 0 0;
  }
}


.fold-sheet {
  position: fixed;
  z-index: 40;
  overflow: hidden;
  border-radius: 28px;
  background: var(--color-card-bg);
  box-shadow: var(--float-lift, var(--shadow-card));
  pointer-events: none;
}
.fold-sheet__face {
  position: absolute;
}


@media (min-width: 901px) and (max-width: 1099px) and (max-height: 820px) {
  .estimate-funnel[data-step='form'] .funnel-frame__over {
    margin-bottom: 0;
  }
  .estimate-funnel[data-step='form'] .frame-report {
    padding-block: 6px;
  }
}
