/* HOME commercial composition — shared identity, no third-party dependencies. */
.home-page { --home-space: clamp(4rem, 8vw, 8rem); }
.home-hero__logo-fallback { z-index: 3; width: min(72vw, 62rem); pointer-events: none; }
.home-hero[data-visual-mode="logo-particles"] .home-hero__logo-fallback { opacity: 0; }
.home-hero__canvas { opacity: .55; pointer-events: none; }
.home-hero[data-visual-ready="true"] .home-hero__canvas { opacity: 1; }
@media (min-width: 64rem) {
    .home-hero__canvas { inset: var(--hero-visual-top, 6rem) 0 auto; height: var(--hero-visual-height, 40svh); }
    .home-hero[data-visual-ready="true"] .home-hero__logo-fallback { top: calc(var(--hero-visual-top, 6rem) + var(--hero-visual-height, 40svh) * .5); }
}
.home-hero__intro { max-width: 100rem; margin-inline: auto; }
.home-hero__intro h1 { max-width: 29ch; }
.home-hero__actions a { gap: .75rem; }
.home-hero__credentials { padding-top: .5rem; }
.home-chapters { scroll-margin-top: calc(var(--cositt-header-height) + 1rem); }
.cositt-horizontal-ready .home-chapters__sticky { padding-top: var(--cositt-header-height); }
.home-chapter--verifactu .home-chapter__visual { color: var(--cositt-red); }
.service-fiscal { display: grid; align-content: center; gap: 1.5rem; width: min(85%, 30rem); min-height: 18rem; border-block: 1px solid currentColor; text-align: left; }
.service-fiscal > span { font-size: clamp(.875rem, 1.5vw, 1.25rem); }
.service-fiscal strong { font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 400; letter-spacing: -.04em; }
.service-fiscal small { max-width: 30ch; color: var(--cositt-muted); font-size: .875rem; }
.home-proof, .home-fiscal, .home-partners { width: min(calc(100% - 2 * var(--cositt-gutter)), 100rem); margin-inline: auto; padding-block: var(--home-space); }
.home-proof h2, .home-fiscal h2, .home-partners h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.home-proof__heading { max-width: 48rem; }
.home-preview-label { display: inline-block; margin: 1.5rem 0 0; padding: .5rem .75rem; border-left: 2px solid var(--cositt-red); background: rgb(197 36 57 / 5%); color: var(--cositt-ink); font-size: .875rem; }
.home-proof__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 3.5rem 0 1.5rem; }
.home-proof__metrics > div { display: grid; grid-template-rows: auto 1fr; align-content: start; gap: .75rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgb(25 24 25 / 18%); }
.home-proof__metrics dt { grid-row: 2; }
.home-proof__metrics dd { grid-row: 1; }
.home-proof__metrics dt { max-width: 24ch; font-size: .875rem; color: var(--cositt-muted); }
.home-proof__metrics dd { margin: 0; font-size: clamp(3.5rem, 8vw, 8rem); line-height: .95; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.home-proof__sectors { margin: 0 0 3rem; color: var(--cositt-muted); }
.home-proof__cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.home-case { min-width: 0; padding-top: 1rem; border-top: 1px solid var(--cositt-ink); }
.home-case__sector { margin: 0 0 1rem; font-size: .875rem; letter-spacing: .04em; color: var(--cositt-muted); }
.home-case__visual { display: flex; align-items: baseline; gap: 1rem; min-height: 9rem; padding: 1.25rem 0; font-size: 5rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--cositt-red); }
.home-case__visual span { max-width: 15ch; font-size: .875rem; font-weight: 400; letter-spacing: 0; line-height: 1.4; color: var(--cositt-muted); }
.home-case h3 { max-width: 20ch; margin: 1rem 0; font-size: clamp(1.6rem, 2.5vw, 2.5rem); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; }
.home-case > p:not(.home-case__sector) { max-width: 34ch; }
.home-case details { margin-top: 1.5rem; font-size: .875rem; }
.home-case summary { display: list-item; cursor: pointer; padding-block: .75rem; text-decoration: underline; text-underline-offset: .25em; }
.home-case details p { color: var(--cositt-muted); }
.home-client-preview { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(25 24 25 / 15%); }
.home-client-preview > p { color: var(--cositt-muted); font-size: .875rem; }
.home-client-preview ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.home-client-preview li { font-size: clamp(.875rem, 1.3vw, 1.25rem); font-weight: 700; color: var(--cositt-muted); }
.home-fiscal { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 4rem; border-bottom: 1px solid rgb(25 24 25 / 18%); scroll-margin-top: var(--cositt-header-height); }
.home-fiscal h2 { max-width: 17ch; }
.home-fiscal p:not(.eyebrow) { max-width: 43ch; margin: 1.5rem 0 0; }
.home-fiscal__action > a { display: inline-flex; min-height: 3rem; align-items: center; gap: 1rem; padding-block: .5rem; color: var(--cositt-red); font-size: 1.125rem; text-decoration-thickness: 1px; }
.home-fiscal details { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgb(25 24 25 / 18%); scroll-margin-top: calc(var(--cositt-header-height) + 1rem); }
.home-fiscal summary { padding-block: .5rem; cursor: pointer; font-size: .875rem; }
.home-fiscal details p { color: var(--cositt-muted); font-size: .875rem; }
.home-fiscal details a { display: inline-flex; min-height: 2.75rem; align-items: center; margin-top: .5rem; }
.home-partners { padding-bottom: calc(var(--home-space) * 1.15); }
.home-partners__heading { max-width: 48rem; }
.home-partners__heading > p:not(.eyebrow) { max-width: 47ch; margin-block: 1.5rem 0; }
.home-partners__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; list-style: none; padding: 0; margin: 3rem 0 1.5rem; }
.home-partners__list li { padding-block: 1.5rem; border-block: 1px solid rgb(25 24 25 / 18%); font-size: clamp(2rem, 4vw, 4rem); font-weight: 700; letter-spacing: -.04em; }
.home-partners__pending { max-width: 70ch; margin: 0; font-size: .875rem; color: var(--cositt-muted); }
.home-contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.5rem; }
.home-contact__booking { display: inline-flex; min-height: 3.25rem; align-items: center; padding: .75rem 1rem; border: 1px solid currentColor; background: transparent; color: var(--cositt-white); font: inherit; font-weight: 700; text-decoration: none; }
.home-contact .home-contact__cta { margin-top: 0; }
.home-contact .home-contact__pending { max-width: 55ch; font-size: .875rem; opacity: .85; }
.home-portal__timeline ol { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.home-hero__booking, .home-contact__booking { border-radius: 0; }
@media (max-width: 63.99rem) {
    .home-proof__cases { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .home-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 2rem; }
    .home-case__sector { grid-column: 1 / -1; }
    .home-case__visual { grid-column: 1; grid-row: 2 / 5; }
    .home-case h3, .home-case > p:not(.home-case__sector), .home-case details, .home-case > a { grid-column: 2; }
    .home-fiscal { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .home-client-preview ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
    .home-hero__logo-fallback { top: 27%; }
    .home-proof__metrics { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
    .home-proof__metrics > div { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; }
    .home-proof__metrics dd { font-size: 4rem; }
    .home-proof__metrics dt { max-width: 19ch; }
    .home-case { display: block; }
    .home-case__visual { min-height: 7rem; padding-block: 1rem; }
    .home-partners__list { gap: 1rem; }
    .home-partners__list li { font-size: clamp(1.15rem, 5vw, 1.75rem); }
    .home-client-preview ul { gap: 1rem; }
    .home-portal__timeline ol { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .home-portal__timeline li:last-child { display: block; }
}
@media (max-height: 700px) and (max-width: 40rem) {
    .home-hero { min-height: 48rem; height: 48rem; }
    .home-hero__stage { min-height: 48rem; }
    .home-hero__logo-fallback { top: 25%; width: 65vw; }
}
.home-cash-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem .75rem; width: min(88%, 32rem); color: var(--cositt-white); }
.home-cash-flow__step { position: relative; display: grid; align-content: start; justify-items: start; gap: .75rem; padding-bottom: 1.25rem; }
.home-cash-flow__step b { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; background: var(--cositt-white); color: var(--cositt-ink); font-size: .875rem; font-weight: 700; }
.home-cash-flow__label { font-size: clamp(.875rem, 1.1vw, 1rem); line-height: 1.3; }
.home-cash-flow__step small { font-size: .875rem; line-height: 1.4; color: #c7c3c5; }
.home-cash-flow__step::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--cositt-red); content: ''; transform-origin: left; }
.home-cash-flow__result { grid-column: 1 / -1; display: block; padding: 1.5rem; background: var(--cositt-red); font-size: clamp(1.75rem, 3vw, 2.8rem); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; }
.home-cash-flow > p { grid-column: 1 / -1; margin: 0; color: #c7c3c5; font-size: .875rem; }
@media (prefers-reduced-motion: no-preference) {
    .home-chapter[data-active="true"] .home-cash-flow__step::after { animation: home-cash-track .75s ease-out both; }
    .home-chapter[data-active="true"] .home-cash-flow__step b { animation: home-cash-check .65s ease-out both; }
    .home-chapter[data-active="true"] .home-cash-flow__step:nth-child(2)::after,
    .home-chapter[data-active="true"] .home-cash-flow__step:nth-child(2) b { animation-delay: .8s; }
    .home-chapter[data-active="true"] .home-cash-flow__step:nth-child(3)::after,
    .home-chapter[data-active="true"] .home-cash-flow__step:nth-child(3) b { animation-delay: 1.6s; }
    .home-chapter[data-active="true"] .home-cash-flow__result { animation: service-confirm .6s 2.3s var(--cositt-ease) both; }
}
@keyframes home-cash-track { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes home-cash-check { from { background: transparent; color: var(--cositt-white); } to { background: var(--cositt-white); color: var(--cositt-ink); } }
@media (max-width: 40rem) {
    .home-chapter--cashdro .home-chapter__visual { min-height: 27rem; }
    .home-cash-flow { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .home-cash-flow__step { grid-template-columns: 2.5rem minmax(0, 1fr); gap: .25rem 1rem; padding-bottom: .75rem; }
    .home-cash-flow__step b { grid-row: 1 / 3; }
    .home-cash-flow__step small { grid-column: 2; }
    .home-cash-flow__label { font-size: .9375rem; }
    .home-cash-flow__result { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__canvas { display: none; }
    .home-manifesto__phrases { gap: 2rem; }
}
