/* Section Nos prestations — layout StudiCorp + maquettes décoratives (couleurs fixes) */

.prestations {
  background: var(--sc-surface-2);
  border-block: 1px solid var(--sc-line);
}

.prestations .section__lead {
  margin-bottom: 1.75rem;
}

.prestations__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}

.prestations__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  background: transparent;
  color: var(--sc-ink-muted);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.25s var(--sc-ease), box-shadow 0.25s var(--sc-ease),
    background 0.25s var(--sc-ease), color 0.25s var(--sc-ease),
    transform 0.25s var(--sc-ease);
}

.prestations__tab:hover {
  border-color: color-mix(in srgb, var(--sc-neon) 45%, var(--sc-line));
}

.prestations__tab:focus-visible {
  outline: 2px solid var(--sc-accent-text);
  outline-offset: 2px;
}

.prestations__tab[aria-selected="true"] {
  border-color: transparent;
  background: var(--sc-card);
  box-shadow: 0 0 22px var(--sc-neon-glow);
  color: var(--sc-ink);
  transform: translateY(-1px);
}

.prestations__panels {
  position: relative;
  overflow: hidden;
}

.prestations__panels.is-resizing {
  transition: height 0.45s var(--sc-ease);
}

.prestations__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(var(--panel-dx, 0), 0.7rem, 0);
  transition: opacity 0.42s var(--sc-ease), transform 0.5s var(--sc-ease),
    visibility 0.42s;
}

.prestations__panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(var(--panel-dx, 0), 0, 0);
  z-index: 1;
}

.prestations__copy,
.prestations__visual {
  transition: opacity 0.4s var(--sc-ease), transform 0.5s var(--sc-ease);
}

.prestations__panel:not(.is-active) .prestations__copy {
  opacity: 0;
  transform: translateY(0.55rem);
}

.prestations__panel:not(.is-active) .prestations__visual {
  opacity: 0;
  transform: translateY(0.85rem) scale(0.985);
  transition-delay: 0.05s;
}

@media (prefers-reduced-motion: reduce) {
  .prestations__tab,
  .prestations__panel,
  .prestations__copy,
  .prestations__visual,
  .prestations__panels.is-resizing {
    transition: none;
    transform: none;
  }
}

.prestations__num {
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--sc-accent-text);
}

.prestations__stage {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 800px) {
  .prestations__stage {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 2.25rem;
  }
}

.prestations__name {
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sc-accent-text);
}

.prestations__hook {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.prestations__desc {
  margin: 0 0 1.25rem;
  max-width: 34rem;
  color: var(--sc-ink-muted);
  font-size: 1.0625rem;
}

.prestations__visual {
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius);
  background: var(--sc-card);
  box-shadow: var(--sc-shadow);
  min-height: 16rem;
}

.prestations__visual.glow-card:hover {
  transform: none;
}

@media (max-width: 799px) {
  .prestations__visual {
    min-height: 0;
  }
}

.mock-frame {
  padding: 0.85rem;
}

.mock-frame--phone {
  display: flex;
  justify-content: center;
  padding: 1.25rem 0.85rem;
  background: linear-gradient(160deg, #0f2a24, #0b1a16);
  border-radius: inherit;
}

/* —— Chrome fenêtre —— */
.mock-win {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #f0e9e1;
  border-bottom: 1px solid #e5dcd1;
}

.mock-chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.mock-chrome i:nth-child(1) {
  background: #ff5f57;
}
.mock-chrome i:nth-child(2) {
  background: #febc2e;
}
.mock-chrome i:nth-child(3) {
  background: #28c840;
}

.mock-url {
  margin-left: 8px;
  flex: 1;
  max-width: 16rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e5dcd1;
  color: #9b8f82;
  font-size: 0.6875rem;
}

.mock-chrome--dark {
  background: #0a1420;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.mock-chrome--dark .mock-url {
  background: #0f1b2d;
  border-color: rgba(255, 255, 255, 0.08);
  color: #6f8aa8;
}

.mock-win--saas .mock-chrome--dark {
  background: #0e0b18;
}

.mock-win--saas .mock-chrome--dark .mock-url {
  background: #141020;
  color: #8f88c0;
}

/* —— Vitrine —— */
.mock-win--vitrine {
  background: #fbf7f2;
  color: #2d1a0a;
}

.mock-vit-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 12px 16px;
  border-bottom: 1px solid #eee4d8;
}

.mock-vit-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.mock-vit-brand span {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #2d1a0a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}

.mock-vit-links {
  display: none;
  gap: 12px;
  font-size: 0.6875rem;
  color: #6d5949;
}

@media (min-width: 640px) {
  .mock-vit-links {
    display: flex;
  }
}

.mock-on {
  color: #3b8a5a;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mock-on::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b8a5a;
}

.mock-vit-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  padding: 16px;
  align-items: center;
}

.mock-vit-eye {
  margin: 0 0 8px;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d85a30;
}

.mock-vit-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.2;
}

.mock-vit-p {
  margin: 0 0 12px;
  font-size: 0.75rem;
  color: #6d5949;
}

.mock-vit-btn {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 7px;
  background: #d85a30;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
}

.mock-vit-img {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: linear-gradient(135deg, #5c4433, #2d1a0a);
}

/* —— App web —— */
.mock-win--appweb {
  background: #0f1b2d;
  color: #cdd9e6;
}

.mock-aw {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  min-height: 13.5rem;
}

.mock-aw-side {
  background: #0b1622;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 8px;
}

.mock-aw-logo {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #378add;
  margin-bottom: 12px;
}

.mock-aw-nav {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.6875rem;
  color: #8fa6bd;
}

.mock-aw-nav.on {
  background: #13253a;
  color: #fff;
}

.mock-aw-main {
  padding: 14px;
}

.mock-aw-h {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 650;
  color: #fff;
}

.mock-aw-sub {
  margin: 2px 0 12px;
  font-size: 0.6875rem;
  color: #6f8aa8;
}

.mock-aw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mock-aw-stats div {
  background: #13253a;
  border-radius: 8px;
  padding: 8px;
}

.mock-aw-stats b {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.mock-aw-stats span {
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6f8aa8;
}

.mock-aw-rows {
  background: #0b1622;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.mock-aw-rows div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: 0.6875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-aw-rows div:last-child {
  border-bottom: 0;
}

.mock-aw-rows em {
  font-style: normal;
  font-size: 0.625rem;
  padding: 2px 8px;
  border-radius: 999px;
  flex: none;
}

.st-done {
  background: #0f3a2c;
  color: #5dcaa5;
}
.st-prog {
  background: #3a3410;
  color: #e0b83d;
}
.st-todo {
  background: #1a2e44;
  color: #8fa6bd;
}

/* —— SaaS —— */
.mock-win--saas {
  background: #141020;
  color: #f3eff6;
}

.mock-ss-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-ss-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.mock-ss-brand i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #a855f7;
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.75rem;
}

.mock-ss-search {
  flex: 1;
  max-width: 12rem;
  padding: 5px 10px;
  border-radius: 7px;
  background: #1e1830;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.6875rem;
  color: #8f88c0;
}

.mock-ss-body {
  padding: 14px;
}

.mock-ss-h {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  font-weight: 650;
}

.mock-ss-chart {
  background: #1a1428;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.mock-ss-chart svg {
  display: block;
  width: 100%;
  height: 72px;
}

.mock-ss-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-ss-metrics div {
  background: #1a1428;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px;
}

.mock-ss-metrics span {
  display: block;
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f88c0;
  margin-bottom: 4px;
}

.mock-ss-metrics b {
  font-size: 1.05rem;
}

/* —— Mobile —— */
.mock-phone {
  width: 168px;
  background: #0c0d10;
  border-radius: 26px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mock-phone-screen {
  background: #faf7f4;
  border-radius: 20px;
  overflow: hidden;
  color: #2d1a0a;
  padding-bottom: 12px;
}

.mock-phone-notch {
  height: 18px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mock-phone-notch::after {
  content: "";
  width: 52px;
  height: 5px;
  border-radius: 5px;
  background: #0c0d10;
}

.mock-phone-hi {
  padding: 4px 14px 10px;
  font-size: 0.625rem;
  color: #9b8f82;
}

.mock-phone-hi strong {
  display: block;
  font-size: 0.9375rem;
  color: #2d1a0a;
}

.mock-phone-card {
  margin: 0 12px 10px;
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(135deg, #1d9e75, #0f6e56);
  color: #fff;
}

.mock-phone-card span {
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.mock-phone-card b {
  display: block;
  font-size: 0.9375rem;
  margin-top: 4px;
}

.mock-phone-card i {
  display: block;
  height: 4px;
  margin-top: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
}

.mock-phone-card i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 68%;
  border-radius: 4px;
  background: #fff;
}

.mock-phone-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 6px;
  padding: 8px;
  background: #fff;
  border: 1px solid #eee2d7;
  border-radius: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.mock-phone-item em {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #e1f5ee;
  color: #0f6e56;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.75rem;
  flex: none;
}

/* —— Refonte —— */
.mock-ref {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 13.5rem;
}

.mock-ref-side {
  padding: 14px 16px;
}

.mock-ref-side p {
  margin: 0 0 14px;
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mock-ref-side .bar {
  display: block;
  height: 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.mock-ref-side .w60 {
  width: 70%;
  height: 14px;
  margin-bottom: 12px;
}
.mock-ref-side .w80 {
  width: 90%;
}
.mock-ref-side .w50 {
  width: 55%;
}
.mock-ref-side .w64 {
  width: 64%;
  height: 16px;
  margin-bottom: 12px;
}
.mock-ref-side .w72 {
  width: 86%;
}
.mock-ref-side .w48 {
  width: 48%;
}

.mock-ref-before {
  background: #e8e6e1;
}

.mock-ref-before p {
  color: #7a776f;
}

.mock-ref-before .bar {
  background: #c4c1b8;
}

.mock-ref-before .btn-ghost {
  display: block;
  margin-top: 16px;
  height: 22px;
  width: 72px;
  border-radius: 4px;
  background: #9b988e;
}

.mock-ref-after {
  background: #0f1b2d;
}

.mock-ref-after p {
  color: #85b7eb;
}

.mock-ref-after .bar {
  background: #24405c;
}

.mock-ref-after .w64 {
  background: #cdd9e6;
}

.mock-ref-after .btn-acc {
  display: block;
  margin-top: 16px;
  height: 26px;
  width: 88px;
  border-radius: 8px;
  background: #378add;
}

@media (max-width: 479px) {
  .mock-vit-hero {
    grid-template-columns: 1fr;
  }

  .mock-aw {
    grid-template-columns: 1fr;
  }

  .mock-aw-side {
    display: none;
  }
}
