/* Work prolonge les tokens et composants de Tax, sans modifier sa page. */
.work-product { --work-mint: #eaf5f3; --work-outline: #bcd3df; }
.work-hero { padding-top: 4rem; }
.work-hero-copy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 3rem; align-items: start; }
.work-hero-copy h1 { grid-row: 1 / 4; max-width: none; margin-bottom: 0; font-size: clamp(3rem, 4.8vw, 4.5rem); }
.work-hero-lede { max-width: 45rem; color: #456174; font-size: 1.16rem; line-height: 1.7; }
.work-hero-copy .tax-actions { margin-top: 0.4rem; }
.work-hero-note { display: flex; flex-wrap: wrap; gap: 0.7rem 1.5rem; margin-top: 1rem; color: #5a7180; font-size: 0.85rem; }
.work-hero-note a { display: inline-flex; gap: 0.35rem; align-items: center; color: #075c9d; font-weight: 650; text-decoration: none; }
.work-hero-note .icon { width: 1rem; }
.work-section-heading { max-width: 52rem; margin-bottom: 2.8rem; }
.work-section-heading > p:last-child { max-width: 46rem; color: #526b7c; font-size: 1.08rem; }
.work-editorial { padding-top: 2.5rem; color: #506a7b; font-size: 1.08rem; }
.work-situations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.work-situations article { padding-top: 1rem; border-top: 1px solid var(--tax-line); }
.work-situations span { color: #245475; font-size: 0.98rem; font-weight: 650; }
.work-situations p { margin-top: 0.7rem; margin-bottom: 0; color: #587181; font-size: 0.96rem; }

.work-media-frame { min-width: 0; margin: 0; }
.work-media-frame--hero { max-width: 70rem; margin: 2.5rem auto 0; }
.work-frame-bar { display: flex; gap: 1rem; align-items: center; min-height: 2.8rem; padding: 0.6rem 1.1rem; color: #426278; font-size: 0.77rem; background: #fff; border: 1px solid var(--work-outline); border-bottom: 0; border-radius: 0.75rem 0.75rem 0 0; }
.work-frame-bar > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-frame-bar small { flex-shrink: 0; margin-left: auto; color: #607e8e; font-size: 0.68rem; }
.work-frame-dots { display: flex; gap: 0.3rem; flex-shrink: 0; }
.work-frame-dots i { width: 0.4rem; height: 0.4rem; background: #ccdae2; border-radius: 50%; }
.work-frame-dots i:last-child { background: #9dd9d7; }
.work-frame-body { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #eef5f7; border: 1px solid var(--work-outline); border-radius: 0 0 0.75rem 0.75rem; box-shadow: 0 18px 42px -28px rgba(6, 43, 82, 0.33); }
.work-capture-placeholder { position: relative; display: grid; overflow: hidden; width: 100%; height: 100%; place-items: center; background: #f1f7f8; }
.work-capture-placeholder::before, .work-capture-placeholder::after { position: absolute; width: 70%; height: 150%; content: ""; border: 1px solid #d6e7eb; border-radius: 48%; transform: rotate(-28deg); }
.work-capture-placeholder::before { top: -65%; right: -10%; }
.work-capture-placeholder::after { bottom: -90%; left: -13%; }
.work-placeholder-orbit { position: absolute; right: -17%; bottom: -62%; width: 70%; aspect-ratio: 1; background: #e1f2f1; border: 1px solid #c9e4e3; border-radius: 50%; }
.work-placeholder-content { position: relative; z-index: 1; display: grid; justify-items: center; gap: 0.7rem; max-width: 85%; padding: 1.5rem; text-align: center; }
.work-placeholder-index { color: #587887; font-size: clamp(0.65rem, 1vw, 0.8rem); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }
.work-placeholder-icon { display: grid; width: clamp(2.5rem, 5vw, 4rem); aspect-ratio: 1; place-items: center; color: #08799e; background: #fff; border: 1px solid #c4dfe6; border-radius: 0.8rem; }
.work-placeholder-icon .icon { width: 47%; height: 47%; }
.work-placeholder-content > p { margin: 0; color: #16496d; font-size: clamp(1.35rem, 3vw, 2.5rem); font-weight: 450; letter-spacing: -0.05em; line-height: 1.2; }
.work-placeholder-content > p strong { color: #0a7f9b; font-weight: 650; }
.work-placeholder-title { color: #456b80; font-size: clamp(0.8rem, 1.3vw, 1.05rem); }
.work-placeholder-label { padding: 0.35rem 0.65rem; color: #497084; font-size: clamp(0.66rem, 1vw, 0.78rem); background: #fff; border: 1px solid #d1e1e9; border-radius: 999px; }
.work-placeholder-caption { position: absolute; z-index: 1; right: 1rem; bottom: 0.85rem; left: 1rem; color: #65808e; font-size: 0.72rem; text-align: center; }
.work-media-frame figcaption { margin-top: 1rem; color: #3e6278; font-size: 0.92rem; }
.work-media-frame figcaption > span, .work-media-frame figcaption > small { display: block; }
.work-media-frame figcaption > small { margin-top: 0.35rem; color: #657b89; font-size: 0.77rem; }
.work-real-capture { position: relative; display: block; width: 100%; height: 100%; background: #edf3f7; }
.work-real-capture img { display: block; width: 100%; height: 100%; object-fit: contain; }
.work-real-capture > span { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; gap: 0.45rem; align-items: center; padding: 0.6rem 0.8rem; color: #fff; font-size: 0.8rem; background: #123d5f; border-radius: 0.35rem; }

.work-video-section { color: #d6e5ef; background: var(--tax-navy); }
.work-video-section h2 { color: #fff; }
.work-video-section .tax-eyebrow { color: #8de0df; }
.work-video-section .work-section-heading > p:last-child { color: #bfd3e2; }
.work-video-frame { position: relative; overflow: hidden; width: 100%; border: 1px solid #426a88; border-radius: 0.8rem; background: #0c385c; box-shadow: 0 22px 42px -30px rgba(0,0,0,.5); }
.work-video-preview { position: relative; display: grid; overflow: hidden; aspect-ratio: 16 / 9; place-items: center; }
.work-video-art { position: absolute; inset: 0; display: grid; gap: 1rem; align-content: center; justify-items: center; padding-bottom: 5rem; background: #0b365a; }
.work-video-art::before { position: absolute; top: -45%; right: -5%; width: 70%; aspect-ratio: 1; content: ""; border: 1px solid #2b5b78; border-radius: 50%; }
.work-video-art::after { position: absolute; bottom: -70%; left: -15%; width: 80%; aspect-ratio: 1; content: ""; border: 1px solid #2b5b78; border-radius: 50%; }
.work-video-art > img { width: 4rem; height: 4rem; }
.work-video-art > span { color: #fff; font-size: clamp(1.8rem, 4vw, 3.6rem); font-weight: 400; letter-spacing: -0.05em; }
.work-video-art > span > strong { color: #7be2df; font-weight: 600; }
.work-video-art .work-video-art__line { width: 4rem; height: 1px; background: #5e929e; }
.work-video-art > small { padding-inline: 1rem; color: #abc8d9; font-size: 0.88rem; text-align: center; }
.work-video-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-video-pending { position: absolute; right: 2rem; bottom: 1.75rem; left: 2rem; padding-top: 1rem; border-top: 1px solid #426783; }
.work-video-pending p { margin-bottom: 0.3rem; color: #e2eff7; font-size: clamp(1rem, 1.7vw, 1.4rem); font-weight: 600; }
.work-video-pending > span:last-child { color: #b1cadb; font-size: 0.84rem; }
.work-video-pending:has(+ *) { background: #0b365a; }
.work-video-preview:has(.work-video-cover) .work-video-pending { right: 0; bottom: 0; left: 0; padding: 1.2rem 1.5rem; background: rgba(6,43,82,.95); border-top: 0; }
.work-play { position: absolute; display: grid; justify-items: center; gap: 0.65rem; padding: 1.2rem 1.6rem; color: #073654; font-size: 0.96rem; font-weight: 700; background: #fff; border: 1px solid #d5edf2; border-radius: 0.65rem; }
.work-play svg { width: 2.2rem; height: 2.2rem; }
.work-video-player { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #052440; }
.work-video-status { color: #e4d8c4; font-size: 0.9rem; }
.work-video-takeaways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.work-video-takeaways li { display: flex; gap: 0.8rem; align-items: start; color: #bfd4e1; font-size: 0.91rem; }
.work-video-takeaways b { color: #7fd9da; font-size: 0.75rem; }
.work-transcript { margin-top: 1rem; color: #c7dce8; }
.work-transcript summary { cursor: pointer; }
.work-transcript p { margin-top: 1rem; white-space: pre-line; }

.work-gallery-section { background: #f8faf9; }
.work-gallery { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; margin-top: 0; padding-top: 0; border: 0; }
.work-gallery-navigation { min-width: 0; }
.work-screen-tabs { display: grid; gap: 0.3rem; overflow: visible; padding: 0; margin: 0; }
.work-screen-tabs button { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.7rem; align-items: center; min-height: 3.9rem; padding: 0.9rem; font-size: 0.87rem; line-height: 1.4; text-align: left; white-space: normal; border-color: transparent; background: transparent; border-radius: 0.4rem; }
.work-screen-tabs button > span { color: #6d8997; font-size: 0.72rem; }
.work-screen-tabs button[aria-selected="true"] > span { color: #a4d8e4; }
.work-gallery-navigation > p { margin-top: 1.2rem; padding-inline: 0.9rem; color: #677f8d; font-size: 0.8rem; }
.work-gallery-stage { min-width: 0; }
.work-screen-panel { padding-top: 0; }
.work-screen-copy { min-height: 8.3rem; }
.work-screen-copy .tax-eyebrow { margin-bottom: 0.55rem; }
.work-screen-copy > p:last-child { max-width: 43rem; color: #587383; font-size: 0.98rem; }
.work-screen-copy h3 { margin-bottom: 0.65rem; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.js .work-product .work-screen-panel:not([hidden]) { animation: work-media-in 230ms ease-out; }
@keyframes work-media-in { from { opacity: 0.35; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.work-confidence { background: #fff; }
.work-confidence .tax-split > div:first-child > p:last-child { max-width: 34rem; color: #5a7180; }
.work-confidence-points article { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 1rem; padding-block: 1.4rem; border-top: 1px solid var(--tax-line); }
.work-confidence-points article:first-child { padding-top: 0; border: 0; }
.work-confidence-points > article > .icon { width: 1.7rem; height: 1.7rem; color: #0c7a95; }
.work-confidence-points h3 { font-size: 1.15rem; }
.work-confidence-points p { margin-bottom: 0; color: #587282; font-size: 0.96rem; }
.work-swiss-note { display: flex; gap: 2rem; justify-content: space-between; align-items: center; padding-top: 1.5rem; margin-top: 2.5rem; border-top: 1px solid var(--tax-line); }
.work-swiss-note > span { color: #23516f; font-size: 0.9rem; font-weight: 650; }
.work-swiss-note > p { max-width: 37rem; margin: 0; color: #597282; font-size: 0.92rem; }

.work-pricing-section { background: #eff5f6; }
.work-simulator-controls { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; padding: clamp(1.4rem, 3vw, 2.5rem); margin-bottom: 1.5rem; background: #fff; border: 1px solid #bed4e0; border-radius: 0.75rem; }
.work-simulator-controls h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.work-simulator-controls > div > p:last-child { max-width: 30rem; color: #5a7280; font-size: 0.95rem; }
.work-simulator-controls fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.work-simulator-controls fieldset > label:not(.sr-only) { display: block; margin-bottom: 0.5rem; color: #3d6178; font-size: 0.88rem; font-weight: 650; }
.work-number-control { display: flex; align-items: center; gap: 0.5rem; max-width: 22rem; }
.work-number-control button { flex: 0 0 3rem; width: 3rem; height: 3rem; color: #164f74; font-size: 1.6rem; background: #edf4f8; border: 1px solid #c4d9e5; border-radius: 0.4rem; }
.work-number-control input { min-width: 0; width: 100%; height: 3.5rem; padding: 0.25rem 0.6rem; color: #123d5e; font-size: 2rem; font-weight: 600; text-align: center; background: #fff; border: 1px solid #a6c1d1; border-radius: 0.4rem; }
.work-number-control input[aria-invalid="true"] { border-color: #ab2b40; }
.work-simulator-controls input[type="range"] { width: 100%; min-height: 2.8rem; margin: 0.75rem 0 0; accent-color: #087b9a; cursor: pointer; }
.work-presets { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.work-presets button { min-height: 2.75rem; padding: 0.5rem 0.6rem; color: #4f7086; font-size: 0.78rem; background: #f3f8fa; border: 1px solid #c9dde7; border-radius: 0.4rem; }
.work-billing { display: inline-flex; gap: 0.25rem; padding: 0.25rem; background: #edf3f6; border: 1px solid #c6d9e3; border-radius: 0.5rem; }
.work-billing button { min-height: 2.8rem; padding: 0.5rem 0.8rem; color: #365e76; font-size: 0.9rem; font-weight: 650; background: transparent; border: 0; border-radius: 0.35rem; }
.work-billing button[aria-pressed="true"] { color: #fff; background: #062b52; }
.work-billing small { margin-left: 0.3rem; font-size: 0.72rem; font-weight: 500; }
.work-count-error { margin: 0.6rem 0 0 !important; color: #a72c41; font-size: 0.85rem; }
.work-count-error:empty { display: none; }
.work-pricing-status { color: #355c73; font-size: 0.9rem; }
.work-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.work-plan { min-width: 0; padding: clamp(1.25rem, 2.5vw, 2rem); background: #fff; border: 1px solid #bfd4e0; border-radius: 0.7rem; }
.work-plan--recommended { background: #f7fcfd; border: 2px solid #0b7b9d; box-shadow: 0 12px 25px -23px #124665; }
.work-plan-heading { display: flex; gap: 0.4rem; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 3rem; margin-bottom: 0.7rem; }
.work-plan-heading h3 { margin: 0; font-size: 1.35rem; }
.work-plan-heading > span { padding: 0.3rem 0.4rem; color: #1c6375; font-size: 0.65rem; font-weight: 650; background: #e2f4ef; border-radius: 0.3rem; }
.work-plan-description { min-height: 3.2rem; color: #607784; font-size: 0.91rem; line-height: 1.5; }
.work-plan-price { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: baseline; margin-bottom: 0.3rem !important; }
.work-plan-price output { color: #073c62; font-size: clamp(1.9rem, 3.1vw, 2.7rem); font-weight: 650; letter-spacing: -0.055em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.work-plan-price > span { color: #57778c; font-size: 0.87rem; }
.work-plan-payment { min-height: 1.4rem; margin-bottom: 0.75rem !important; color: #658090; font-size: 0.77rem; }
.work-plan-formula { min-height: 2.8rem; color: #557184; font-size: 0.8rem; }
.work-plan-savings { margin-bottom: 0.85rem !important; color: #176d69; font-size: 0.86rem; font-weight: 650; }
.work-plan .tax-button { width: 100%; margin-top: 0.4rem; }
.work-plan .tax-button[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.work-plan ul { display: grid; gap: 0.65rem; padding: 1.25rem 0 0 1rem; margin: 1.5rem 0 0; color: #587386; font-size: 0.88rem; border-top: 1px solid #d8e5eb; }
.work-quote-state { display: flex; gap: 2rem; justify-content: space-between; align-items: center; padding: 1.6rem; margin-bottom: 1.5rem; color: #2f566e; background: #e3f1ef; border: 1px solid #b7dad4; border-radius: 0.65rem; }
.work-quote-state > div > .icon { width: 1.6rem; height: 1.6rem; margin-bottom: 0.7rem; color: #087e84; }
.work-quote-state h3 { font-size: 1.35rem; }
.work-quote-state p { max-width: 37rem; margin-bottom: 0; color: #4d6f75; }
.work-quote-state .tax-button { flex-shrink: 0; }
.work-checkout-note { margin-top: 1rem; }
.work-comparison { margin-top: 1.5rem; }
.work-comparison .tax-note { padding-bottom: 0.8rem; }

.work-ecosystem .work-editorial { padding-top: 0; }
.work-ecosystem-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 2.7rem; border-block: 1px solid #ccdce5; }
.work-ecosystem-links a { padding: 1.6rem; color: #224e6c; text-decoration: none; border-right: 1px solid #ccdce5; }
.work-ecosystem-links a:first-child { padding-left: 0; }
.work-ecosystem-links a:last-child { border: 0; }
.work-ecosystem-links a:hover { background: #f5f9fa; }
.work-ecosystem-links a > span { display: block; margin-bottom: 1.3rem; color: #63818f; font-size: 0.74rem; }
.work-ecosystem-links h3 { font-size: 1.25rem; }
.work-ecosystem-links p { color: #587383; font-size: 0.9rem; }
.work-ecosystem-links .icon { color: #0e7996; }
.work-accompaniment { display: flex; justify-content: space-between; gap: 3rem; align-items: center; margin-top: 3.5rem; }
.work-accompaniment > div:first-child { max-width: 42rem; }
.work-accompaniment p:not(.tax-eyebrow) { color: #5b7382; }
.work-accompaniment > div:last-child { display: grid; justify-items: start; gap: 1rem; }
.work-questions { background: #f8faf9; }
.work-final { padding: clamp(2rem, 5vw, 4rem); margin-top: 4rem; color: #d3e3ee; background: var(--tax-navy); border-radius: 0.8rem; }
.work-final h2 { color: #fff; }
.work-final .tax-eyebrow { color: #8adfdd; }
.work-final .tax-button--primary { color: #063454; background: #fff; border-color: #fff; }
.work-final .tax-button--secondary { color: #fff; background: transparent; border-color: #7d9bb5; }
.work-final-simulator { display: inline-block; margin-top: 1.25rem; color: #a7d8e7; font-size: 0.9rem; }
.work-contact-context { padding: 1rem 1.2rem; margin-bottom: 1rem; color: #275c74; font-size: 0.9rem; background: #e8f5f2; border: 1px solid #bdded9; border-radius: 0.7rem; }
@media (max-width: 1050px) {
  .work-hero-copy { grid-template-columns: 1fr; }
  .work-hero-copy h1 { grid-row: auto; max-width: 24ch; margin-bottom: 1.7rem; }
  .work-hero-copy .tax-actions { margin-top: 1rem; }
  .work-gallery { grid-template-columns: 12rem minmax(0, 1fr); gap: 1.5rem; }
  .work-screen-tabs button { padding: 0.7rem 0.5rem; font-size: 0.82rem; }
  .work-plan-heading { align-content: start; min-height: 4rem; }
  .work-plan-price output { font-size: 2rem; }
  .work-plan-description { min-height: 4.3rem; }
}
@media (max-width: 800px) {
  .work-gallery { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
  .work-screen-tabs { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.25rem 0.2rem 0.8rem; }
  .work-screen-tabs button { display: flex; min-height: 3rem; padding: 0.65rem 0.85rem; font-size: 0.86rem; white-space: nowrap; }
  .work-gallery-navigation > p { padding-inline: 0; margin-top: 0.2rem; margin-bottom: 0; }
  .work-screen-copy { min-height: 0; }
  .work-placeholder-caption { font-size: 0.65rem; }
  .work-simulator-controls { grid-template-columns: 1fr; gap: 1.5rem; }
  .work-plan-grid { grid-template-columns: 1fr; }
  .work-plan-heading { min-height: 0; }
  .work-plan-description { min-height: 0; }
  .work-plan-price output { font-size: 2.5rem; }
  .work-plan-formula { min-height: 0; }
  .work-plan ul { grid-template-columns: 1fr 1fr; }
  .work-quote-state, .work-accompaniment, .work-swiss-note { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .work-editorial { padding-top: 0; }
}
@media (max-width: 560px) {
  .work-hero { padding-top: 2.6rem; }
  .work-hero-copy h1 { font-size: clamp(2rem, 8.4vw, 2.8rem); max-width: none; }
  .work-hero-lede { font-size: 1.02rem; }
  .work-media-frame--hero { margin-top: 2rem; }
  .work-frame-bar { gap: 0.5rem; padding: 0.55rem 0.65rem; font-size: 0.64rem; }
  .work-frame-bar small { display: none; }
  .work-placeholder-content { gap: 0.38rem; padding: 0.75rem 0.75rem 1.5rem; }
  .work-placeholder-icon { width: 2.1rem; border-radius: 0.5rem; }
  .work-placeholder-content > p { font-size: 1.5rem; }
  .work-placeholder-title { max-width: 24ch; font-size: 0.77rem; line-height: 1.3; }
  .work-placeholder-index { font-size: 0.6rem; }
  .work-placeholder-label { padding: 0.2rem 0.45rem; font-size: 0.6rem; }
  .work-placeholder-caption { right: 0.5rem; bottom: 0.5rem; left: 0.5rem; font-size: 0.58rem; }
  .work-media-frame figcaption { font-size: 0.86rem; }
  .work-situations, .work-ecosystem-links, .work-video-takeaways { grid-template-columns: 1fr; gap: 1.4rem; }
  .work-video-art { gap: 0.5rem; padding-bottom: 4.5rem; }
  .work-video-art > img { width: 2.4rem; height: 2.4rem; }
  .work-video-art > span { font-size: 1.8rem; }
  .work-video-art > small, .work-video-art__line { display: none; }
  .work-video-pending { right: 0.85rem; bottom: 0.7rem; left: 0.85rem; padding-top: 0.7rem; }
  .work-video-pending p { font-size: 0.88rem; }
  .work-video-pending > span:last-child { font-size: 0.66rem; }
  .work-section-heading { margin-bottom: 2rem; }
  .work-section-heading > p:last-child { font-size: 1rem; }
  .work-plan ul { grid-template-columns: 1fr; }
  .work-billing { display: flex; }
  .work-billing button { flex: 1; }
  .work-billing small { display: block; margin: 0.15rem 0 0; }
  .work-presets button { flex: 1; padding-inline: 0.4rem; font-size: 0.7rem; }
  .work-ecosystem-links { gap: 0; }
  .work-ecosystem-links a { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid #ccdce5; }
  .work-ecosystem-links a > span { margin-bottom: 0.7rem; }
  .work-final { padding: 2rem 1.3rem; }
  .work-final h2 { font-size: 1.9rem; }
  .work-quote-state .tax-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .js .work-product .work-screen-panel:not([hidden]) { animation: none; }
}
