/* Commercial pages and the home page */
.fi-home .sys-page-hero {
    max-width: none;
    padding: clamp(36px, 6vw, 88px) clamp(20px, 5vw, 64px);
    background: linear-gradient(115deg, #fff8ed, #ffead2);
}
.fi-home .sys-page-hero h1 {
    max-width: 20ch;
    font-size: clamp(2.4rem, 5.2vw, 5rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    overflow-wrap: break-word;
}
.fi-home .sys-page-hero .fi-lead { max-width: 64ch; }
.fi-home .sys-page-hero .fi-kicker { color: #983e00; }
.fi-home :is(.fi-findings, .fi-steps) > :is(article, li) {
    background: #fff7ec;
    border-radius: 16px;
    border: 1px solid #efcfad;
    border-top: 3px solid #f08332;
    padding: clamp(16px, 2.5vw, 30px);
}
.fi-home .fi-method { background: #fff0de; }
.fi-home .fi-support { background: #ffead2; color: #211d18; }
.fi-home .fi-support :is(h2, h3, p, li) { color: inherit; }
.fi-home .fi-support .fi-kicker { color: #983e00; }
.fi-home .fi-final.fi-demo-section { background: #fff0de; color: #211d18; }
.fi-home .fi-final.fi-demo-section :is(h2, p) { color: inherit; }
.fi-home .fi-final.fi-demo-section .fi-kicker { color: #983e00; }
.fi-home .fi-final.fi-demo-section .ds-btn { color: #fff; }
.fi-home .fi-deliverables {
    background: #fff2e3;
    border-radius: 20px;
    padding-inline: clamp(20px, 4vw, 56px);
}
.fi-resource-hero {
    background: linear-gradient(115deg, #fff8ed, #ffead2);
    border-radius: 20px;
    padding-inline: clamp(20px, 4vw, 56px);
}
.dd-resources .dd-resource {
    background: #fff8ef;
    border-radius: 16px;
    border-top: 3px solid #f08332;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .fi-home .ds-btn, .dd-resources .dd-resource a { transition: transform .18s ease; }
    .fi-home .ds-btn:hover, .dd-resources .dd-resource a:hover { transform: translateY(-3px); }
}

/* Align page introductions and preserve usable space at every width. */
.fi-home .sys-page-hero,
.fi-resource-hero {
    box-sizing: border-box;
    width: min(1200px, calc(100% - clamp(24px, 6vw, 80px)));
    margin-inline: auto;
    padding-inline: clamp(18px, 5%, 64px);
    border-top: 4px solid #f08332;
    border-radius: 0 0 20px 20px;
}
.fi-home .sys-page-hero h1,
.fi-resource-hero h1 {
    text-wrap: balance;
    overflow-wrap: anywhere;
}
.fi-home .sys-page-hero + .fi-section,
.fi-resource-hero + .dd-resources {
    margin-block-start: clamp(16px, 3vw, 44px);
}

/* Clients perdus: opening section only. */
body.page-clients-perdus .dcp > section:first-of-type {
    background: linear-gradient(115deg, #fff8ed, #ffead2);
    border-top: 4px solid #f08332;
    border-radius: 0 0 20px 20px;
    padding: clamp(28px, 5vw, 72px) clamp(18px, 5%, 64px);
}
body.page-clients-perdus .dcp > section:first-of-type > h2 {
    font-size: clamp(2rem, 4.8vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -.045em;
    color: #c45400;
    text-wrap: balance;
}
