.case-main {
  padding-bottom: 100px;
}
.case-intro {
  padding-top: 0;
}
.case-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
}
.case-back > svg,
.case-other > svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.case-back:hover {
  color: var(--purple);
}
.case-demo-notice {
  margin-top: 24px;
  padding: 15px 20px;
  border: 1px solid #e3d9f5;
  border-radius: 10px;
  background: #f7f4ff;
  font-size: 14px;
  line-height: 1.8;
  color: #76628f;
}
.case-demo-notice strong {
  font-weight: 600;
}
.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
  margin-top: 50px;
}
.case-client-logo {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
}
.case-heading h1 {
  font-size: clamp(62px, 6.4vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
.case-tagline {
  margin-top: 26px;
  font-size: 23px;
  line-height: 1.5;
  max-width: 480px;
}
.case-lead {
  margin-top: 20px;
  max-width: 490px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}
.case-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.case-facts dt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.case-facts dd {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.7;
}
.case-cover {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}
.case-cover > img {
  display: block;
  width: 100%;
  height: auto;
}
.case-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 60px;
  padding-block: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-section-nav > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
}
.case-section-nav > a:hover {
  color: var(--purple);
}
.case-section {
  padding-block: 112px;
}
.case-section-heading h2 {
  font-size: clamp(42px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: 0;
}
.case-section-heading > p {
  max-width: 690px;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}
.case-context {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 96px;
}
.case-story > p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
}
.case-story > .case-story-lead {
  font-size: 20px;
  line-height: 1.8;
  color: var(--ink);
}
.case-story > p + p {
  margin-top: 25px;
}
.case-problems {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.case-problems li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.7;
}
.case-problems li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--purple);
}
.case-solution {
  padding: 62px;
  border-radius: 20px;
  background: var(--purple);
  color: #fff;
}
.case-solution .case-section-heading > p {
  font-size: 18px;
  color: #f0eaff;
}
.case-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.case-module {
  padding: 25px 24px 29px;
  border: 1px solid #ffffff40;
  border-radius: 12px;
  background: #ffffff08;
}
.case-module > svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 24px;
}
.case-module h3 {
  font-family: Manrope, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
}
.case-module p {
  margin-top: 15px;
  font-size: 16px;
  line-height: 1.85;
  color: #eee7ff;
}
.case-solution-outcome {
  max-width: 760px;
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.85;
}
.case-tesson-marbrerie #images {
  padding-top: 0;
}
.case-ge-vendee-est .case-solution {
  background: var(--yellow);
  color: var(--ink);
}
.case-ge-vendee-est .case-solution .case-section-heading > p,
.case-ge-vendee-est .case-module p {
  color: #465137;
}
.case-ge-vendee-est .case-module {
  background: #ffffff33;
  border-color: #445c2833;
}
.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.case-gallery-grid > figure {
  margin: 0;
  min-width: 0;
}
.case-image-detail {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 14px;
}
.case-image-detail > img {
  position: absolute;
  width: 175%;
  height: 175%;
  max-width: none;
  object-fit: cover;
}
.detail-top-right > img {
  top: 0;
  right: 0;
}
.detail-bottom-left > img {
  bottom: 0;
  left: 0;
}
.case-gallery-grid figcaption {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 20px;
}
.case-gallery-grid figcaption strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}
.case-gallery-grid figcaption > span {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.case-numbers {
  padding-top: 0;
  text-align: center;
}
.case-numbers .case-section-heading > p {
  margin-inline: auto;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 50px 0 0;
}
.case-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 32px;
  border-right: 1px solid var(--line);
}
.case-metrics > div:last-child {
  border: 0;
}
.case-metrics dt {
  order: 1;
  font-size: 16px;
  line-height: 1.8;
}
.case-metrics dd {
  margin: 0;
  color: var(--purple);
  font-family: Instrument, Georgia, serif;
  font-size: 92px;
  line-height: 1;
  white-space: nowrap;
}
.case-metrics dd > span {
  display: block;
  margin-top: 14px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
.case-metrics .metric-percent > span {
  display: inline;
  margin: 0 0 0 2px;
  font-family: Instrument, Georgia, serif;
  font-size: 0.66em;
  line-height: 1;
}
.case-testimonial {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: start;
  padding: 55px;
  background: #f3f0fa;
  border: 1px solid #e8e0f4;
  border-radius: 18px;
}
.case-testimonial .case-section-heading h2 {
  font-size: 44px;
}
.case-testimonial .case-section-heading > p {
  font-size: 14px;
  color: #76628f;
}
.case-client-quote {
  margin: 0;
  min-width: 0;
}
.case-quote-mark {
  display: block;
  height: 48px;
  color: var(--purple);
  font-family: Instrument, Georgia, serif;
  font-size: 82px;
  line-height: 1;
}
.case-client-quote blockquote {
  margin: 15px 0 30px;
}
.case-client-quote blockquote p {
  font-size: 23px;
  line-height: 1.7;
}
.case-client-quote figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
}
.case-client-quote figcaption > img {
  display: block;
  flex: none;
  width: 55px;
  height: 55px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
.case-client-quote figcaption > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.case-client-quote figcaption strong {
  font-size: 16px;
  font-weight: 600;
}
.case-client-quote figcaption > span > span {
  font-size: 14px;
  line-height: 1.7;
  color: #76628f;
}
.case-other {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-block: 62px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-other > img {
  display: block;
  width: 120px;
  height: 90px;
  object-fit: contain;
  border-radius: 9px;
}
.case-other > span {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.case-other > span > span {
  font-size: 14px;
  color: var(--muted);
}
.case-other strong {
  font-family: Instrument, Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
}
.case-other > svg {
  margin-left: auto;
  color: var(--purple);
}
.case-other:hover strong {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.case-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 60px;
  border-radius: 20px;
  background: #211336;
  color: #fff;
}
.case-cta h2 {
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: 0;
}
.case-cta-copy > p {
  max-width: 530px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.9;
  color: #e0d5f0;
}
.case-cta .button {
  flex: none;
  max-width: 100%;
  background: var(--yellow);
  color: var(--ink);
  min-height: 56px;
  gap: 18px;
}
.case-cta .button:hover {
  background: #e6ff7d;
}
.case-cta .button-icon > svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 1100px) {
  .case-hero {
    gap: 40px;
    grid-template-columns: 1fr 1fr;
  }
  .case-heading h1 {
    font-size: 70px;
  }
  .case-tagline {
    font-size: 21px;
  }
  .case-context {
    gap: 50px;
  }
  .case-solution {
    padding: 42px;
  }
  .case-module {
    padding-inline: 20px;
  }
  .case-testimonial {
    gap: 42px;
    padding: 40px;
  }
  .case-cta {
    gap: 35px;
    padding: 44px;
  }
  .case-cta h2 {
    font-size: 46px;
  }
}
@media (max-width: 850px) {
  .case-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .case-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
    gap: 0 36px;
    align-items: start;
  }
  .case-client-logo {
    grid-column: 1/-1;
  }
  .case-heading h1,
  .case-tagline {
    grid-column: 1;
  }
  .case-lead {
    grid-column: 2;
    grid-row: 2 / span 2;
    margin-top: 0;
  }
  .case-facts {
    grid-column: 1/-1;
  }
  .case-cover {
    max-width: 760px;
  }
  .case-context {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .case-context h2 br {
    display: none;
  }
  .case-modules {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .case-module {
    padding: 26px;
  }
  .case-module > svg {
    margin-bottom: 18px;
  }
  .case-module p {
    max-width: 600px;
  }
  .case-testimonial {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .case-cta {
    display: block;
  }
  .case-cta .button {
    margin-top: 30px;
  }
  .case-metrics > div {
    padding-inline: 20px;
  }
  .case-metrics dd {
    font-size: 76px;
  }
}
@media (max-width: 600px) {
  .case-main {
    padding-bottom: 70px;
  }
  .case-intro {
    padding-top: 0;
  }
  .case-demo-notice {
    margin-top: 20px;
    padding: 14px 16px;
  }
  .case-hero {
    margin-top: 36px;
    gap: 32px;
  }
  .case-heading {
    display: block;
  }
  .case-client-logo {
    width: 58px;
    height: 58px;
    margin-bottom: 15px;
  }
  .case-heading h1 {
    font-size: 60px;
  }
  .case-tagline {
    font-size: 22px;
    margin-top: 22px;
  }
  .case-lead {
    font-size: 16px;
    margin-top: 21px;
  }
  .case-facts {
    gap: 20px;
    margin-top: 26px;
    padding-top: 22px;
  }
  .case-facts dd {
    font-size: 15px;
  }
  .case-cover {
    border-radius: 12px;
  }
  .case-section-nav {
    margin-top: 36px;
    gap: 0 24px;
  }
  .case-section-nav > a {
    font-size: 14px;
  }
  .case-section {
    padding-block: 72px;
  }
  .case-section-heading h2 {
    font-size: 43px;
  }
  .case-section-heading > p {
    margin-top: 21px;
    font-size: 16px;
  }
  .case-story > .case-story-lead {
    font-size: 18px;
  }
  .case-story > p {
    font-size: 16px;
  }
  .case-context {
    gap: 28px;
  }
  .case-solution {
    padding: 30px 24px;
    border-radius: 14px;
  }
  .case-solution .case-section-heading > p {
    font-size: 16px;
  }
  .case-modules {
    margin-top: 30px;
  }
  .case-module {
    padding: 24px 20px;
  }
  .case-module h3 {
    font-size: 20px;
  }
  .case-gallery-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 30px;
  }
  .case-image-detail {
    border-radius: 12px;
  }
  .case-gallery-grid figcaption {
    margin-top: 17px;
  }
  .case-numbers {
    padding-top: 0;
    text-align: left;
  }
  .case-metrics {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 35px;
  }
  .case-metrics > div {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 26px;
  }
  .case-metrics > div:last-child {
    padding-bottom: 0;
  }
  .case-metrics dd {
    grid-column: 1;
    grid-row: 1;
    font-size: 64px;
  }
  .case-metrics dt {
    grid-column: 2;
    grid-row: 1;
    font-size: 16px;
  }
  .case-metrics dd > span {
    font-size: 14px;
    margin-top: 10px;
    white-space: normal;
  }
  .case-testimonial {
    padding: 30px 24px;
    border-radius: 14px;
  }
  .case-testimonial .case-section-heading h2 {
    font-size: 39px;
  }
  .case-client-quote blockquote p {
    font-size: 20px;
  }
  .case-client-quote figcaption {
    gap: 12px;
  }
  .case-client-quote figcaption > img {
    width: 44px;
    height: 44px;
  }
  .case-other {
    gap: 18px;
    margin-block: 44px;
    padding-block: 22px;
  }
  .case-other > img {
    width: 86px;
    height: 65px;
  }
  .case-other strong {
    font-size: 29px;
  }
  .case-other > svg {
    width: 17px;
    height: 17px;
  }
  .case-cta {
    padding: 34px 26px;
    border-radius: 14px;
  }
  .case-cta h2 {
    font-size: 43px;
  }
  .case-cta .button {
    font-size: 14px;
    padding: 14px 16px;
    gap: 14px;
  }
}
@media (max-width: 360px) {
  .case-heading h1 {
    font-size: 53px;
  }
  .case-solution,
  .case-testimonial {
    padding-inline: 20px;
  }
  .case-metrics > div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 20px;
  }
  .case-metrics dd {
    font-size: 58px;
  }
  .case-cta {
    padding-inline: 22px;
  }
  .case-cta h2 {
    font-size: 38px;
  }
  .case-cta .button {
    font-size: 13px;
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .case-metrics .metric-percent {
    font-size: 58px;
  }
}
@media (max-width: 360px) {
  .case-metrics .metric-percent {
    font-size: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
