/* Layouts confined to the two comparison pages. Shared brand tokens stay in styles.css. */
.offer-page { --o-space: clamp(56px, 7vw, 100px); }
.offer-page main { overflow-wrap: break-word; }
.offer-page :where(section[id], main[id]) { scroll-margin-top: 125px; }
.offer-page :where(a, summary, button):focus-visible { outline: 3px solid var(--bronze); outline-offset: 5px; }
.o-skip { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--paper); padding: 14px 20px; transform: translateY(-160%); }
.o-skip:focus { transform: none; }
.o-container { width: 100%; max-width: 1256px; margin-inline: auto; padding-inline: 32px; }
.o-section { padding-block: var(--o-space); }
.offer-page h1 { font-size: clamp(44px, 4.7vw, 68px); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.offer-page h2 { font-size: clamp(34px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.offer-page h3 { text-wrap: balance; }
.offer-page p { font-size: 17px; line-height: 1.7; }
.offer-page .eyebrow { font-size: 11px; line-height: 1.6; letter-spacing: .16em; display: block; }
.offer-page .btn { white-space: normal; justify-content: center; min-height: 48px; line-height: 1.4; text-align: center; }
.offer-page .btn .icon { flex: none; }
.offer-page .btn:active { transform: scale(.98); }
.o-inline-link, .o-quiet-link { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.o-inline-link .icon, .o-quiet-link .icon { flex: none; font-size: 18px; }
.o-quiet-link { color: #fff; }
.o-quiet-link:hover { color: var(--gold); }
/* "Scroll down" buttons: real secondary buttons, with the arrow nudging down on hover */
.o-jump .icon { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.o-jump.btn--ghost-light { background: rgba(255,255,255,.1); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (hover: hover) and (pointer: fine) { .o-jump:hover .icon { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .o-jump .icon { transition: none; } }
.o-heading { display: flex; flex-direction: column; gap: 18px; max-width: 690px; margin-bottom: 44px; }
.o-heading p { max-width: 570px; color: var(--muted); }
.o-hero-note { display: block; font-size: 12px; line-height: 1.6; letter-spacing: .04em; }
.o-soft { background: var(--cream-deep); }

/* Audit: an atmospheric opening, then an editorial reading rhythm. */
.o-audit-hero { background: var(--teal-dark); color: #fff; position: relative; overflow: hidden; border-radius: 0 0 40px 40px; }
.o-audit-hero__media { position: absolute; inset: 0; }
.o-audit-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.o-audit-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,35,37,.96), rgba(9,35,37,.83) 36%, rgba(9,35,37,.28) 65%, rgba(9,35,37,.03)); }
.o-audit-hero__copy { position: relative; padding-block: 86px 80px; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.o-audit-hero__copy h1 { max-width: 640px; }
.o-audit-hero__copy h1 em { color: var(--gold); }
.o-audit-hero__copy p { max-width: 460px; color: #e2ebea; font-size: 18px; }
.o-audit-hero__copy .btn-row { margin-top: 4px; align-items: center; gap: 20px; }
.o-audit-hero__copy .o-hero-note { color: #c5d8d6; margin-top: 10px; }
.o-context { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.o-context h2 { margin-top: 18px; }
.o-context__body > p { color: var(--muted); }
.o-situations { padding: 0; margin: 22px 0 0; list-style: none; }
.o-situations li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; line-height: 1.55; }
.o-situations li::before { content: ''; width: 5px; height: 5px; background: var(--bronze); position: absolute; top: 21px; left: 1px; border-radius: 50%; }
.o-results { background: var(--teal); color: #fff; }
.o-results__grid { display: grid; grid-template-columns: 1fr .88fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.o-results__copy { display: flex; flex-direction: column; gap: 20px; }
.o-results__copy h2 em { color: var(--gold); }
.o-results__copy > p { color: var(--on-teal); max-width: 470px; }
.o-outcomes { list-style: none; counter-reset: outcome; padding: 0; margin: 10px 0 0; }
.o-outcomes li { counter-increment: outcome; display: grid; grid-template-columns: 32px 1fr; gap: 5px 14px; padding: 18px 0; border-top: 1px solid #ffffff24; }
.o-outcomes li::before { content: counter(outcome, decimal-leading-zero); grid-row: span 2; color: var(--gold); font-size: 14px; padding-top: 3px; }
.o-outcomes strong { font-size: 17px; font-weight: 500; }
.o-outcomes span { color: var(--on-teal); font-size: 14px; line-height: 1.5; }
.o-report { background: var(--paper); color: var(--teal); margin: 0; padding: clamp(26px, 3vw, 44px); border-radius: 4px 4px 28px 4px; box-shadow: 14px 14px 0 #ffffff0c; }
.o-report__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--chip); font-size: 10px; letter-spacing: .13em; }
.o-report h3 { font-size: 32px; margin: 30px 0 6px; }
.o-report .o-report__intro { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.o-report__row { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.o-report__number { color: var(--bronze); font-family: var(--serif); font-size: 24px; }
.o-report__row strong { font-size: 15px; font-weight: 600; }
.o-report__row p { font-size: 13px; color: var(--muted); margin-top: 5px; line-height: 1.6; }
.o-report__foot { margin-top: 14px; background: var(--cream-deep); padding: 14px; font-size: 12px; font-weight: 600; line-height: 1.6; }
.o-report figcaption { font-size: 11px; color: var(--muted); margin-top: 18px; }

/* Paie: "aller plus loin" cross-links */
.o-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.o-next__card { display: flex; flex-direction: column; gap: 12px; padding: 30px; border: 1px solid var(--chip); border-radius: 20px; background: var(--paper); color: var(--teal-ink); transition: border-color .2s, transform .25s cubic-bezier(.2,.8,.2,1); }
.o-next__card strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; }
.o-next__card > span:not(.eyebrow):not(.o-next__go) { font-size: 15px; line-height: 1.6; color: var(--muted); }
.o-next__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--teal); }
.o-next__go .icon { font-size: 18px; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) and (pointer: fine) {
  .o-next__card:hover { border-color: var(--bronze-soft); color: var(--teal-ink); transform: translateY(-2px); }
  .o-next__card:hover .o-next__go .icon { transform: translateX(3px); }
}
@media (max-width: 760px) { .o-next { grid-template-columns: 1fr; } }

/* Audit: the 8 control categories, on a light background */
.o-controls-section { padding-top: 0; }
.o-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--chip); border: 1px solid var(--chip); border-radius: 20px; overflow: hidden; }
.o-control { background: var(--paper); padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.o-control > .icon { font-size: 26px; color: var(--bronze); margin-bottom: 6px; }
.o-control strong { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.15; }
.o-control > span:not(.icon) { font-size: 14px; line-height: 1.55; color: var(--muted); flex: 1; }
.o-control em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); margin-top: 8px; }
.o-control em.o-control__imp { color: var(--teal); opacity: .7; }
.o-detail__body .priority { width: 100%; }
@media (max-width: 1050px) { .o-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .o-controls { grid-template-columns: 1fr; } }

/* Numbered steps stay evenly distributed, with a vertical rhythm on narrow screens. */
.o-timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.o-timeline--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.o-timeline--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.o-timeline li { padding: 24px 26px 0 0; border-top: 1px solid var(--chip); position: relative; }
.o-timeline li::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); }
.o-timeline li + li { padding-left: 24px; }
.o-timeline li + li::before { left: 24px; }
.o-step-number { display: block; font-family: var(--serif); font-size: 36px; color: var(--bronze); line-height: 1; margin-bottom: 22px; }
.o-timeline h3 { font-size: 26px; line-height: 1.15; margin-bottom: 12px; }
.o-timeline p { font-size: 15px; color: var(--muted); line-height: 1.65; }
.o-step-role { display: block; color: var(--bronze); font-size: 10px; letter-spacing: .14em; margin-bottom: 12px; font-weight: 700; }
.o-formulas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.o-formula { padding: 30px 26px; border: 1px solid var(--chip); border-radius: 20px; background: var(--paper); display: flex; flex-direction: column; gap: 18px; }
.o-formula h3 { font-size: 31px; }
.o-formula p { color: var(--muted); font-size: 15px; }
.o-list { list-style: none; padding: 0; margin: 0; }
.o-list li { position: relative; padding: 7px 0 7px 19px; font-size: 14px; line-height: 1.6; }
.o-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; position: absolute; left: 0; top: 15px; background: var(--bronze); }
.o-formula .o-list { flex: 1; }
.o-formula__foot { border-top: 1px solid var(--line); padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.o-formula__foot > span { color: var(--muted); }
.o-formula__foot a { display: flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; }
.o-formula--featured { background: var(--teal); color: #fff; border-color: var(--teal); }
.o-formula--featured :where(.eyebrow, .o-formula__foot a) { color: var(--gold); }
.o-formula--featured :where(p, .o-formula__foot > span) { color: var(--on-teal); }
.o-formula--featured .o-list li::before { background: var(--gold); }
.o-formula--featured .o-formula__foot { border-color: #ffffff30; }
.o-lodeom { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 0 0; }
.o-lodeom > div { display: flex; gap: 18px; align-items: flex-start; max-width: 700px; }
.o-lodeom > div > .icon { font-size: 28px; color: var(--bronze); margin-top: 2px; }
.o-lodeom h3 { font-size: 24px; margin-bottom: 8px; }
.o-lodeom p { font-size: 14px; color: var(--muted); }
.o-lodeom > a { flex: none; }

/* Payroll has its own opening composition, without another full-width overlay. */
.o-payroll-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; padding-top: 64px; padding-bottom: 68px; }
.o-payroll-hero__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.o-payroll-hero__copy h1 { font-size: clamp(44px, 4.6vw, 65px); }
.o-payroll-hero__copy h1 em { color: var(--bronze); }
.o-payroll-hero__copy p { max-width: 490px; color: var(--muted); }
.o-payroll-hero__copy .btn-row { align-items: center; gap: 12px; }
.o-payroll-hero__copy .o-hero-note { color: var(--muted); margin-top: 6px; }
.o-payroll-hero__visual { min-width: 0; }
.o-payroll-hero__visual > img { width: 100%; aspect-ratio: 1.12; height: auto; object-fit: cover; object-position: 95% center; border-radius: 90px 24px 24px 24px; }
.o-image-caption { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 12px; color: var(--muted); margin-top: 18px; }
.o-caption-line { width: 32px; height: 1px; background: var(--bronze); }
.o-choice-section { border-top: 1px solid var(--chip); }
.o-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.o-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 12px 52px 12px 0; }
.o-choice + .o-choice { border-left: 1px solid var(--chip); padding-left: 52px; padding-right: 0; }
.o-choice__number { font-size: 11px; letter-spacing: .12em; font-weight: 700; color: var(--bronze); }
.o-choice h3 { font-size: clamp(30px, 3vw, 40px); line-height: 1.15; }
.o-choice > p { font-size: 16px; color: var(--muted); }
.o-choice .o-list { flex: 1; }
.o-small-note { font-size: 13px !important; color: var(--muted); margin-top: 34px; }
.o-expert { background: #e9e6dc; }
.o-expert__grid { display: grid; grid-template-columns: .7fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.o-expert__portrait { margin: 0; }
.o-expert__portrait img { width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 20%; border-radius: 8px 80px 8px 8px; }
.o-expert__portrait figcaption { margin-top: 18px; font-family: var(--serif); font-size: 24px; }
.o-expert__portrait figcaption span { display: block; font-family: var(--sans); font-size: 11px; margin-top: 5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.o-expert__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.o-expert__copy h2 em { color: var(--bronze); }
.o-expert__copy > p { color: var(--muted); font-size: 16px; }
.o-expert__facts { display: flex; flex-wrap: wrap; gap: 24px 36px; padding-top: 22px; border-top: 1px solid #cfcabe; margin-top: 4px; width: 100%; }
.o-expert__facts > span { font-size: 12px; line-height: 1.7; color: var(--muted); }
.o-expert__facts strong { font-weight: 600; font-size: 15px; display: block; color: var(--teal); }

/* Native details keep the complete information available without a JS dependency. */
.o-details-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.o-details-layout .o-heading { margin-bottom: 0; }
.o-accordion { min-width: 0; border-top: 1px solid var(--chip); }
.o-detail { border-bottom: 1px solid var(--chip); }
.o-detail:not([open]) > .o-detail__body { display: none; }
.o-detail summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 24px 0; cursor: pointer; font-size: 17px; font-weight: 500; line-height: 1.5; }
.o-detail summary::-webkit-details-marker { display: none; }
.o-detail__sign { width: 18px; height: 18px; position: relative; flex: none; }
.o-detail__sign::before, .o-detail__sign::after { content: ''; position: absolute; background: var(--bronze); }
.o-detail__sign::before { width: 14px; height: 1px; left: 2px; top: 8px; }
.o-detail__sign::after { width: 1px; height: 14px; top: 2px; left: 8px; }
.o-detail[open] .o-detail__sign::after { display: none; }
.o-detail__body { padding: 0 22px 28px 0; display: flex; flex-direction: column; gap: 18px; }
.o-detail__body p { font-size: 15px; color: var(--muted); }
.o-detail__body h3 { font-size: 23px; margin-bottom: 12px; }
.o-definition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0; }
.o-definition-grid dt { font-weight: 600; font-size: 14px; margin-bottom: 8px; line-height: 1.6; }
.o-definition-grid dd { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; }
.o-final { display: flex; align-items: center; justify-content: space-between; gap: 36px; border-top: 1px solid var(--chip); }
.o-final > div { display: flex; flex-direction: column; gap: 20px; max-width: 700px; }
.o-final p { max-width: 570px; color: var(--muted); }
.o-final > .btn, .o-final__actions { flex: none; }
@media (hover: hover) and (pointer: fine) {
  .o-detail summary:hover { color: var(--bronze); }
  /* hover géré dans styles.css (.link-label) */
}
@media (max-width: 1050px) {
  .o-formulas { grid-template-columns: 1fr; }
  .o-formula { display: grid; grid-template-columns: .85fr 1.15fr; column-gap: 32px; }
  .o-formula > .eyebrow { grid-column: 1 / -1; }
  .o-formula h3 { grid-column: 1; }
  .o-formula > p { grid-column: 1; }
  .o-formula > .o-list { grid-column: 2; grid-row: 2 / 4; }
  .o-formula__foot { grid-column: 1 / -1; }
  .o-payroll-hero { gap: 32px; }
  .o-context { gap: 36px; }
  .o-details-layout { grid-template-columns: .8fr 1.2fr; gap: 36px; }
  .o-lodeom { align-items: flex-start; flex-direction: column; gap: 14px; }
  .o-timeline--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .o-timeline--four li:nth-child(3) { padding-left: 0; }
  .o-timeline--four li:nth-child(3)::before { left: 0; }
}
@media (max-width: 760px) {
  .offer-page { --o-space: 56px; }
  .o-container { padding-inline: 24px; }
  .o-heading { margin-bottom: 32px; }
  .o-context, .o-results__grid, .o-expert__grid, .o-details-layout { grid-template-columns: 1fr; gap: 36px; }
  .o-audit-hero { display: flex; flex-direction: column; border-radius: 0 0 24px 24px; }
  .o-audit-hero__copy { order: 0; padding-block: 48px 36px; }
  .o-audit-hero__media { position: relative; order: 1; aspect-ratio: 1.9; }
  .o-audit-hero__media::after { background: linear-gradient(180deg, var(--teal-dark), transparent 24%); }
  .o-audit-hero__media img { object-position: 75% 45%; }
  .o-audit-hero__copy h1 { font-size: clamp(40px, 7.8vw, 56px); }
  .o-audit-hero__copy p { font-size: 16px; }
  .o-audit-hero__copy .o-hero-note { margin-top: 0; }
  .o-report { box-shadow: 8px 8px 0 #ffffff0c; max-width: 520px; width: calc(100% - 8px); }
  .o-payroll-hero { grid-template-columns: 1fr; padding-top: 44px; gap: 32px; }
  .o-payroll-hero__copy h1 { font-size: clamp(42px, 7.8vw, 58px); }
  .o-payroll-hero__visual > img { aspect-ratio: 1.6; border-radius: 54px 18px 18px 18px; object-position: 90% center; }
  .o-choices { grid-template-columns: 1fr; gap: 30px; }
  .o-choice, .o-choice + .o-choice { padding: 0; border: 0; }
  .o-choice + .o-choice { padding-top: 30px; border-top: 1px solid var(--chip); }
  .o-expert__portrait { max-width: 360px; }
  .o-expert__portrait img { max-height: 340px; }
  .o-timeline--three { grid-template-columns: 1fr; gap: 30px; }
  .o-timeline--three li, .o-timeline--three li + li { padding: 20px 0 0 60px; }
  .o-timeline--three li::before, .o-timeline--three li + li::before { left: 0; }
  .o-timeline--three .o-step-number { position: absolute; left: 0; top: 20px; font-size: 30px; }
  .o-final { flex-direction: column; align-items: flex-start; gap: 28px; }
}
@media (max-width: 480px) {
  .o-container { padding-inline: 20px; }
  .o-audit-hero__copy .btn-row { gap: 12px; }
  .o-formula { display: flex; padding: 26px 22px; }
  .o-timeline--four { grid-template-columns: 1fr; gap: 28px; }
  .o-timeline--four li, .o-timeline--four li + li, .o-timeline--four li:nth-child(3) { padding: 20px 0 0 56px; }
  .o-timeline--four li::before, .o-timeline--four li + li::before { left: 0; }
  .o-timeline--four .o-step-number { position: absolute; left: 0; top: 20px; font-size: 28px; }
  .o-definition-grid { grid-template-columns: 1fr; }
  .o-detail summary { font-size: 16px; padding-block: 22px; }
  .o-detail__body { padding-right: 0; }
  .o-lodeom > div { gap: 12px; }
  .o-lodeom .o-inline-link { flex-shrink: 1; }
  .offer-page .eyebrow { letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
  .offer-page { scroll-behavior: auto; }
  html:has(.offer-page) { scroll-behavior: auto; }
  .offer-page .btn:active { transform: none; }
  .offer-page .site-header, .offer-page .site-header__inner, .offer-page .site-header__logo img { transition: none; }
}
