/* LIVRABLE 2 — parcours continu, mobile-first et accessible */

:root {
    --l2-safe-bottom: max(18px, env(safe-area-inset-bottom));
    --l2-focus: #ff3347;
    --l2-copy: #5e5e65;
}

html,
body.slide-page {
    width: 100%;
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
}

html {
    scroll-padding-top: 0;
    scroll-behavior: auto;
}

body.slide-page {
    background: var(--light-bg);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus-visible {
    outline: 3px solid var(--l2-focus);
    outline-offset: 4px;
}

.skip-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    font-weight: 800;
}

#pitstop-app {
    min-height: 100vh;
    opacity: 1;
}

.ambient-field {
    z-index: 0;
    opacity: .38;
}

.global-progress {
    z-index: 1200;
}

.global-progress i,
body[data-slide] .global-progress i {
    transform: scaleX(0);
    transition: none;
}

.network-banner {
    position: fixed;
    z-index: 1300;
    top: calc(var(--header-height) + 10px);
    left: 50%;
    width: min(680px, calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 16px;
    border: 1px solid #a86d00;
    border-radius: 12px;
    background: #fff8e6;
    color: #5d3c00;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .16);
    font-size: .875rem;
    line-height: 1.45;
    transform: translateX(-50%);
}

.network-banner[hidden] {
    display: none;
}

.network-retry,
.form-alert-retry {
    min-width: 94px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font-weight: 850;
}

.slide-page .site-header {
    height: var(--header-height);
}

.header-mobile-cta {
    display: none;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--brand-red);
    color: #fff;
    font-size: .8125rem;
    font-weight: 850;
}

.header-status {
    display: none;
}

.slide-deck {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
    scroll-behavior: auto;
    overscroll-behavior: auto;
    scrollbar-width: auto;
}

.slide {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    scroll-margin-top: 0;
}

.slide.section,
.hero.hero-light {
    padding-top: calc(var(--header-height) + clamp(24px, 4vh, 48px));
    padding-bottom: clamp(42px, 6vh, 76px);
}

.hero.hero-light {
    min-height: 0;
    padding-bottom: clamp(48px, 7vh, 86px);
}

.hero.hero-light .hero-layout {
    align-items: center;
}

.hero h1,
.territory-copy h2,
.investment-heading h2,
.profile-heading h2,
.process-heading h2,
.faq-slide .faq-heading h2,
.slide.section-form .form-intro h2,
.formats-layout h2 {
    text-wrap: balance;
}

.investment-heading h2 {
    font-size: clamp(2.75rem, 4.2vw, 4rem);
    line-height: .98;
}

.territory-copy h2,
.profile-heading h2,
.process-heading h2,
.faq-slide .faq-heading h2,
.formats-layout h2 {
    font-size: clamp(2.65rem, 4.25vw, 4.15rem);
    line-height: .98;
}

.slide.section-form .form-intro h2 {
    font-size: clamp(2.55rem, 3.8vw, 3.75rem);
    line-height: .98;
}

.hero-lead,
.section-heading > p,
.territory-copy > p,
.form-intro > p,
.faq-heading > p {
    text-wrap: pretty;
}

.eyebrow,
.section-index strong,
.section-index span,
.board-title small,
.board-footer span,
.timeline-state,
.map-card-header,
.floating-cta-copy small,
.header-status,
.js-command-header .main-nav > a > span {
    font-size: .75rem;
}

.investment-board {
    margin: 0;
}

.section-index {
    top: calc(var(--header-height) + 18px);
    color: rgba(255, 255, 255, .58);
}

.section-index.section-index-dark {
    color: #5f5f64;
}

.section-index strong {
    color: #ff3347;
}

.section-index.section-index-dark strong {
    color: #c30000;
}

.section-index strong,
.section-index span {
    font-size: .75rem;
}

.formats-layout {
    display: grid;
    gap: 46px;
}

.formats-layout .section-heading {
    max-width: 760px;
    margin: 0;
}

.formats-layout h2 {
    max-width: 700px;
    color: var(--ink);
    font-size: clamp(42px, 5vw, 72px);
}

.formats-layout .section-heading > p {
    color: #4f4f56;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.formats-grid article {
    min-height: 220px;
    padding: 25px;
    border: 1px solid rgba(9, 9, 11, .13);
    border-radius: 20px;
    background: rgba(255, 255, 255, .7);
}

.formats-grid article > span {
    display: block;
    overflow: hidden;
    color: var(--brand-red);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.formats-grid h3 {
    margin: 45px 0 10px;
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1.15;
}

.formats-grid p {
    margin: 0;
    color: var(--l2-copy);
    font-size: .9375rem;
}

.territory-map-card {
    height: auto;
    min-height: 0;
    max-height: 620px;
    margin: 0;
    aspect-ratio: 4 / 3;
}

.territory-map-visual {
    background:
        radial-gradient(circle at 50% 42%, rgba(217, 0, 0, .1), transparent 48%),
        linear-gradient(rgba(9, 9, 11, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(9, 9, 11, .035) 1px, transparent 1px),
        #efeee9;
    background-size: auto, 28px 28px, 28px 28px, auto;
}

.territory-map-visual img {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 18px 28px 40px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 18px 17px rgba(9, 9, 11, .18));
    transform: none;
}

.map-card-note {
    margin: 0;
}

#faq.faq-slide {
    padding-top: calc(var(--header-height) + clamp(24px, 4vh, 48px)) !important;
    padding-bottom: clamp(56px, 8vh, 96px) !important;
}

.faq-slide .faq-layout {
    padding-bottom: 0;
}

.faq-slide .faq-list summary {
    min-height: 56px;
    font-size: 1.0625rem;
}

.faq-slide .faq-list details p {
    font-size: .9375rem;
}

.slide.section-form {
    padding-top: calc(var(--header-height) + clamp(24px, 4vh, 48px));
    padding-bottom: clamp(56px, 8vh, 96px);
    overflow: visible;
}

.slide.section-form .form-layout {
    height: auto;
    min-height: 0;
    align-items: start;
}

.slide.section-form .application-card {
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
}

.form-step-status {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 850;
}

.form-progress-meter {
    width: 100%;
    height: 7px;
    display: block;
    margin: 0 0 18px;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e2e5;
    color: var(--brand-red);
    accent-color: var(--brand-red);
}

.form-progress-meter::-webkit-progress-bar {
    background: #e2e2e5;
}

.form-progress-meter::-webkit-progress-value {
    border-radius: 999px;
    background: var(--brand-red);
}

.form-progress-meter::-moz-progress-bar {
    border-radius: 999px;
    background: var(--brand-red);
}

.form-progress {
    position: static;
    margin: 0 0 34px;
    padding: 0;
    list-style: none;
}

.l2-enhanced .form-panel legend > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-progress::before,
.form-progress .progress-line {
    display: none;
}

.form-progress li {
    min-width: 0;
}

.progress-step {
    width: 100%;
    min-height: 54px;
    padding: 2px;
}

.progress-step:disabled {
    cursor: default;
    opacity: .68;
}

.progress-step > span {
    width: 34px;
    height: 34px;
    font-size: .75rem;
}

.progress-step small {
    font-size: .75rem;
    line-height: 1.25;
}

.form-panel {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid #e7e7e9;
}

.form-panel:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.is-enhanced .form-panel {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    animation: none;
}

.form-panel legend {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.form-panel legend span,
.field label,
.label-row label,
.panel-help,
.field-error,
.field-hint,
.checkbox-label > span:last-child,
.non-contractual-box p,
.referral-notice strong,
.referral-notice small,
.form-network-alert,
.error-summary,
.qualification-note,
.submission-status {
    font-size: .875rem;
}

.field label,
.label-row label {
    line-height: 1.4;
}

.panel-help,
.field-hint,
.field label small,
.label-row label small,
.label-row > span {
    color: #66666d;
    font-size: .8125rem;
}

.operator-rule span {
    color: #ff6672;
    font-size: .75rem;
}

.field input,
.field select {
    height: 52px;
}

.field input,
.field select,
.field textarea {
    min-width: 0;
    font-size: 1rem;
}

.field textarea {
    min-height: 150px;
}

.field-error {
    line-height: 1.45;
}

.checkbox-label {
    min-height: 44px;
    align-items: start;
}

.custom-check {
    width: 24px;
    height: 24px;
}

.consent-box {
    margin-top: 13px;
}

.qualification-note {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(9, 9, 11, .12);
    border-radius: 13px;
    background: #f3f3ef;
    color: #53535a;
}

.qualification-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
}

.qualification-note p {
    margin: 0;
}

.error-summary,
.form-network-alert {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 2px solid #b31325;
    border-radius: 13px;
    background: #fff2f4;
    color: #72101d;
}

.error-summary[hidden],
.form-network-alert[hidden] {
    display: none;
}

.error-summary strong,
.form-network-alert strong {
    display: block;
    color: #6e0e1b;
    font-size: 1rem;
}

.error-summary ul {
    margin: 9px 0 0;
    padding-left: 20px;
}

.error-summary li + li {
    margin-top: 6px;
}

.error-summary a {
    color: #760e1c;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-network-alert p {
    margin: 5px 0 0;
}

.form-alert-retry {
    margin-top: 12px;
}

.review-card {
    margin: 26px 0;
    padding: 20px;
    border: 1px solid #d8d8dc;
    border-radius: 16px;
    background: #f7f7f4;
}

.review-heading,
.review-group-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.review-heading > div > span {
    color: var(--brand-red);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.review-heading h3 {
    margin: 3px 0 0;
    color: var(--ink);
    font-size: 1.35rem;
}

.review-heading > p {
    max-width: 230px;
    margin: 0;
    color: #66666d;
    font-size: .8125rem;
    text-align: right;
}

.review-groups {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.review-groups > section {
    padding: 15px;
    border: 1px solid #e0e0e2;
    border-radius: 12px;
    background: #fff;
}

.review-group-heading h4 {
    margin: 0;
    color: var(--ink);
    font-size: 1rem;
}

.review-group-heading button {
    min-width: 74px;
    min-height: 44px;
    padding: 6px 11px;
    border: 1px solid #b9b9be;
    border-radius: 999px;
    background: #fff;
    color: #343439;
    font-size: .8125rem;
    font-weight: 800;
}

.review-groups dl {
    display: grid;
    grid-template-columns: minmax(130px, .7fr) minmax(0, 1.3fr);
    gap: 7px 14px;
    margin: 13px 0 0;
    font-size: .8125rem;
}

.review-groups dt {
    color: #66666d;
}

.review-groups dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: #2d2d32;
    font-weight: 720;
}

.submission-status {
    min-height: 1.4em;
    margin: 16px 0 0;
    color: #595960;
    text-align: center;
}

.site-footer .footer-brand p,
.site-footer .footer-links a {
    color: #a1a1aa;
    font-size: .8125rem;
}

.site-footer .footer-bottom {
    color: #a1a1aa;
    font-size: .75rem;
}

.form-actions .button,
.button-submit {
    min-height: 50px;
}

.floating-investment-cta {
    z-index: 900;
}

.floating-investment-cta.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
}

.slide-pagination a {
    position: relative;
    display: block;
    width: 14px;
    height: 18px;
    border: 0;
    background: transparent;
}

.slide-pagination a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, -50%);
}

.slide-pagination a.is-active::before,
.slide-pagination a[aria-current="location"]::before {
    border-color: var(--brand-red);
    background: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(217, 0, 0, .14);
}

.confirmation-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 18%, rgba(217, 0, 0, .12), transparent 26%),
        #f3f3ef;
    color: var(--ink);
}

.confirmation-main {
    min-height: 100vh;
    padding: calc(var(--header-height) + 64px) 0 70px;
}

.confirmation-card-l2 {
    max-width: 780px;
    margin-inline: auto;
}

.confirmation-card-l2 h1 {
    text-wrap: balance;
}

.confirmation-lead {
    max-width: 630px;
    margin-inline: auto;
    color: #5c5c63;
    font-size: 1rem;
}

.contact-confirmed {
    display: grid;
    gap: 3px;
    max-width: 520px;
    margin: 12px auto 0;
    padding: 14px 18px;
    border: 1px solid #d9d9dc;
    border-radius: 12px;
    background: #f8f8f5;
}

.contact-confirmed span {
    color: #74747a;
    font-size: .8125rem;
}

.contact-confirmed strong {
    overflow-wrap: anywhere;
    color: var(--ink);
}

.confirmation-states {
    display: grid;
    gap: 12px;
    max-width: 620px;
    margin: 28px auto;
    padding: 0;
    list-style: none;
    text-align: left;
}

.confirmation-states li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 13px;
    padding: 15px;
    border: 1px solid #dedee1;
    border-radius: 13px;
    background: #fff;
}

.confirmation-states li > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 2px solid #b9b9be;
    border-radius: 50%;
    color: #55555b;
    font-weight: 900;
}

.confirmation-states .is-complete > span {
    border-color: #217744;
    background: #217744;
    color: #fff;
}

.confirmation-states .is-warning > span {
    border-color: #a86d00;
    color: #714900;
}

.confirmation-states .is-pending > span {
    border-color: #3266a8;
    color: #234d82;
}

.confirmation-states strong {
    color: var(--ink);
}

.confirmation-states p {
    margin: 3px 0 0;
    color: #626269;
    font-size: .875rem;
}

.confirmation-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.confirmation-live {
    min-height: 1.35em;
    margin: 0 0 18px;
    color: #6d6d74;
    font-size: 12px;
}

.receipt-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.receipt-summary > div {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(15, 15, 18, .09);
    border-radius: 12px;
    background: #fafafa;
}

.receipt-summary dt {
    margin-bottom: 5px;
    color: #77777e;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.receipt-summary dd {
    margin: 0;
    color: #18181b;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.receipt-contact {
    margin: 18px 0 0;
    color: #66666d;
    font-size: 12px;
}

.receipt-contact a {
    color: #b81727;
    font-weight: 800;
}

@media (max-width: 520px) {
    .receipt-summary { grid-template-columns: 1fr; }
}

@media print {
    .confirmation-page { background: #fff !important; }
    .confirmation-page .site-header,
    .confirmation-page .skip-link,
    .confirmation-actions { display: none !important; }
    .confirmation-main { min-height: 0; padding: 0; }
    .confirmation-card-l2 {
        max-width: none;
        border: 0;
        box-shadow: none;
    }
}

html:not(.l2-enhanced) .js-reveal,
html:not(.l2-enhanced) .js-stagger,
html:not(.l2-enhanced) .js-stagger > * {
    opacity: 1;
    transform: none;
}

.js-command-header .main-nav {
    gap: clamp(14px, 1.45vw, 24px);
    font-size: .8rem;
}

.slide-page .main-nav .nav-cta {
    flex: 0 0 auto;
    white-space: nowrap;
}

.floating-investment-cta {
    display: none !important;
}

.investment-slide-layout {
    column-gap: clamp(42px, 6vw, 84px);
    row-gap: 24px;
}

.investment-pillars article {
    min-height: 176px;
    padding: 22px;
}

.investment-pillars h3 {
    margin: 30px 0 9px;
}

.profile-heading,
.process-heading {
    margin-bottom: 24px;
}

.profile-grid-investment .profile-card {
    min-height: 242px;
    padding: 22px;
}

.profile-grid-investment .profile-card h3 {
    margin: 34px 0 12px;
}

.operator-rule {
    margin-top: 12px;
}

.slide.section-form .form-layout {
    grid-template-columns: minmax(360px, .72fr) minmax(600px, 1.28fr);
    gap: clamp(38px, 4vw, 60px);
}

.slide.section-form .form-intro {
    max-width: 470px;
}

.slide-pagination {
    right: 14px;
    gap: 2px;
}

.slide-pagination a {
    width: 36px;
    height: 28px;
    color: rgba(255, 255, 255, .5);
}

body[data-theme="light"] .slide-pagination a {
    color: rgba(9, 9, 11, .44);
}

.slide-pagination a::before {
    width: 8px;
    height: 8px;
}

.slide-pagination a::after {
    content: attr(data-label);
    position: absolute;
    top: 50%;
    right: 34px;
    padding: 6px 9px;
    border-radius: 7px;
    background: rgba(9, 9, 11, .92);
    color: #fff;
    font-size: .6875rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(6px, -50%);
    transition: opacity .18s ease, transform .18s ease;
}

.slide-pagination a:hover::after,
.slide-pagination a:focus-visible::after {
    opacity: 1;
    transform: translate(0, -50%);
}

@media (min-width: 981px) {
    html {
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
    }

    html.is-one-page-scrolling {
        scroll-snap-type: none;
    }

    .slide {
        min-height: 100vh;
        min-height: 100svh;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .slide.section:not(.section-form):not(.faq-slide) {
        display: flex;
        align-items: center;
    }

    .hero.hero-light {
        min-height: 100vh;
        min-height: 100svh;
    }

    .site-footer {
        scroll-snap-align: end;
    }
}

@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
    body.slide-page {
        --section-enter-y: 24px;
    }

    body.slide-page[data-scroll-direction="up"] {
        --section-enter-y: -24px;
    }

    .l2-enhanced .slide.is-section-entering > .container {
        animation: l2-section-enter .78s cubic-bezier(.16, 1, .3, 1) both;
        will-change: opacity, transform, filter;
    }
}

@keyframes l2-section-enter {
    0% {
        opacity: .56;
        filter: blur(3px);
        transform: translateY(var(--section-enter-y, 24px)) scale(.992);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

@media (min-width: 981px) and (max-height: 820px) {
    :root {
        --header-height: 72px;
    }

    .slide.section,
    .hero.hero-light,
    #faq.faq-slide,
    .slide.section-form {
        padding-top: calc(var(--header-height) + 22px) !important;
        padding-bottom: 34px !important;
    }

    .hero.hero-light h1 {
        font-size: clamp(3.2rem, 5vw, 4.45rem);
    }

    .hero.hero-light .hero-lead {
        margin-top: 18px;
        font-size: 1rem;
    }

    .hero-proof {
        margin-top: 18px;
    }

    .hero-proof > div {
        min-height: 68px;
        padding: 12px 14px;
    }

    .hero-notice-light {
        margin-top: 12px;
        padding-top: 12px;
    }

    .investment-board {
        padding: 18px;
    }

    .board-header {
        padding-bottom: 13px;
    }

    .board-title {
        padding: 17px 0 14px;
    }

    .investment-flow article {
        min-height: 112px;
        padding: 13px;
    }

    .investment-flow article strong {
        margin-top: 15px;
    }

    .board-footer {
        margin-top: 14px;
        padding: 13px;
    }

    .investment-heading h2,
    .territory-copy h2,
    .profile-heading h2,
    .process-heading h2,
    .faq-slide .faq-heading h2,
    .formats-layout h2 {
        font-size: clamp(2.55rem, 3.8vw, 3.65rem);
    }

    .slide.section-form .form-intro h2 {
        font-size: clamp(2.4rem, 3.35vw, 3.25rem);
    }

    .investment-pillars article {
        min-height: 150px;
        padding: 18px;
    }

    .investment-pillars h3 {
        margin-top: 20px;
    }

    .profile-grid-investment .profile-card {
        min-height: 210px;
        padding: 18px;
    }

    .profile-grid-investment .profile-card h3 {
        margin-top: 24px;
    }

    .territory-criteria {
        margin: 17px 0;
    }

    .territory-criteria article {
        min-height: 88px;
        padding: 12px;
    }

    .territory-map-card {
        max-height: 520px;
    }

    .process-timeline-investment li {
        min-height: 76px;
        padding-block: 11px;
    }
}

@media (max-width: 1180px) {
    .slide-pagination {
        display: none;
    }

    .formats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .floating-investment-cta {
        display: none;
    }

    .hero.hero-light .hero-layout,
    .investment-slide-layout,
    .territory-layout,
    .slide.section-form .form-layout,
    .faq-slide .faq-layout {
        grid-template-columns: 1fr;
    }

    .slide.section-form .form-intro,
    .slide.section-form .application-card,
    .faq-slide .faq-heading {
        max-width: none;
    }

    .territory-map-card {
        width: min(100%, 650px);
        margin-inline: auto;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: calc(68px + env(safe-area-inset-top));
    }

    .slide-page .site-header {
        padding-top: env(safe-area-inset-top);
    }

    .slide-page .header-inner {
        gap: 10px;
    }

    .header-mobile-cta {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-toggle {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
    }

    .l2-enhanced .slide-page .main-nav {
        top: 100%;
        min-height: calc(100dvh - var(--header-height));
        height: calc(100dvh - var(--header-height));
    }

    html:not(.l2-enhanced) .nav-toggle {
        display: none;
    }

    html:not(.l2-enhanced) .slide-page .main-nav {
        position: static;
        width: auto;
        min-height: 0;
        height: auto;
        display: block;
        padding: 0;
        overflow: visible;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        background: transparent;
    }

    html:not(.l2-enhanced) .slide-page .main-nav > a {
        display: none;
    }

    html:not(.l2-enhanced) .header-mobile-cta {
        margin-left: auto;
    }

    .slide.section,
    .hero.hero-light,
    #faq.faq-slide {
        padding-top: calc(var(--header-height) + 42px) !important;
        padding-bottom: 78px !important;
    }

    .hero.hero-light .hero-layout {
        gap: 52px;
    }

    .slide.section-form .form-layout {
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(var(--container), calc(100% - 30px));
    }

    .ambient-field {
        opacity: .18;
    }

    .slide.section,
    .hero.hero-light,
    #faq.faq-slide {
        padding-bottom: 66px !important;
    }

    .hero.hero-light h1 {
        font-size: clamp(2.55rem, 12vw, 3.5rem);
    }

    .territory-copy h2,
    .investment-heading h2,
    .profile-heading h2,
    .process-heading h2,
    .faq-slide .faq-heading h2,
    .slide.section-form .form-intro h2,
    .formats-layout h2 {
        font-size: clamp(2.15rem, 10vw, 3rem);
    }

    .hero-actions,
    .form-actions,
    .confirmation-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button,
    .form-actions .button,
    .confirmation-actions .button {
        width: 100%;
    }

    .formats-grid,
    .field-grid-2 {
        grid-template-columns: 1fr;
    }

    .formats-grid article {
        min-height: 0;
    }

    .formats-grid h3 {
        margin-top: 26px;
    }

    .territory-map-card {
        aspect-ratio: 4 / 5;
    }

    .application-card {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .form-progress {
        gap: 3px;
    }

    .progress-step small {
        max-width: 66px;
        overflow-wrap: anywhere;
        font-size: .6875rem;
    }

    .form-panel legend {
        font-size: 1.7rem;
    }

    .review-heading {
        display: block;
    }

    .review-heading > p {
        max-width: none;
        margin-top: 8px;
        text-align: left;
    }

    .review-groups dl {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .review-groups dd + dt {
        margin-top: 8px;
    }

    .network-banner {
        align-items: stretch;
        flex-direction: column;
    }

    .network-retry {
        width: 100%;
    }

    .site-footer {
        padding-bottom: var(--l2-safe-bottom);
    }
}

@media (max-width: 430px) {
    .brand-logo,
    .slide-page .brand .brand-logo {
        width: 118px;
    }

    .header-mobile-cta {
        min-height: 42px;
        padding-inline: 11px;
        font-size: .75rem;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .hero-proof > div,
    .investment-pillars article,
    .territory-criteria article,
    .profile-card {
        padding-inline: 16px;
    }

    .form-progress {
        margin-inline: -6px;
    }

    .progress-step > span {
        width: 32px;
        height: 32px;
    }

    .progress-step small {
        font-size: .625rem;
        letter-spacing: 0;
        text-transform: none;
    }

    .review-card {
        padding: 15px;
    }

    .confirmation-main {
        padding-inline: 0;
    }

    .confirmation-card-l2 {
        padding: 24px 16px;
    }
}

@media (max-width: 340px) {
    .header-mobile-cta {
        padding-inline: 9px;
        font-size: .6875rem;
    }

    .brand-logo,
    .slide-page .brand .brand-logo {
        width: 104px;
    }

    .container {
        width: min(var(--container), calc(100% - 22px));
    }
}

/* Les anciens habillages descendaient certains repères à 6–11 px. */
.header-mobile-cta,
.slide-page .brand > span:last-child,
.hero-proof strong,
.board-header span,
.board-title small,
.investment-flow article > span,
.board-footer span,
.investment-pillars article > span,
.territory-criteria span,
.map-card-header strong,
.map-selection-legend span,
.map-selection-legend strong,
.footer-links strong {
    font-size: .75rem;
}

.hero-proof span,
.investment-flow article p,
.board-footer strong,
.investment-disclaimer p,
.territory-criteria small,
.map-card-note p,
.process-timeline-investment p {
    font-size: .8125rem;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
        scroll-snap-type: none;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

.analytics-preference {
    position: fixed;
    z-index: 1200;
    right: clamp(1rem, 3vw, 2.5rem);
    bottom: clamp(1rem, 3vw, 2.5rem);
    width: min(620px, calc(100vw - 2rem));
    padding: 1.15rem;
    border: 1px solid rgba(18, 18, 20, .16);
    border-radius: 18px;
    background: rgba(248, 247, 243, .98);
    color: #17171a;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}
.analytics-preference[hidden] { display: none; }

.analytics-preference strong { display: block; margin-bottom: .3rem; font-size: 1rem; }
.analytics-preference p { margin: 0; line-height: 1.5; font-size: .88rem; }
.analytics-preference a { display: inline-block; margin-top: .45rem; color: inherit; font-size: .82rem; }
.analytics-preference-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.analytics-preference-actions .button { min-height: 44px; padding: .72rem 1rem; white-space: nowrap; }
.analytics-preference-status { grid-column: 1 / -1; min-height: 1.2em; color: #8b1117; }
.footer-preference-button { width: fit-content; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }
.footer-preference-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (max-width: 760px) {
    .analytics-preference { grid-template-columns: 1fr; }
    .analytics-preference-actions { justify-content: stretch; }
    .analytics-preference-actions .button { flex: 1 1 180px; }
}

/* Rendus CMS : mêmes composants en aperçu et en publication. */
.cms-preview-banner {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10000;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 9px 18px;
    border-bottom: 1px solid rgba(255,255,255,.16);
    background: #111115;
    color: #fff;
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
}
.cms-preview-banner strong { color: #ff6876; letter-spacing: .03em; }
.cms-preview-banner ~ .site-header { top: 44px; }

.cms-hero-media {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #18181b;
    box-shadow: 0 34px 80px rgba(15,15,18,.24);
}
.cms-hero-media picture,
.cms-hero-media img { display: block; width: 100%; height: 100%; }
.cms-hero-media img { min-height: 520px; object-fit: cover; }
.cms-hero-media figcaption {
    position: absolute;
    inset: auto 16px 16px;
    padding: 9px 11px;
    border-radius: 8px;
    background: rgba(10,10,12,.76);
    color: #fff;
    font-size: 10px;
    backdrop-filter: blur(8px);
}
.cms-hero-media figcaption small { color: #b8b8bc; }
.cms-hero-media--editorial { border-radius: 4px 24px 4px 24px; }
.cms-media-placeholder {
    min-height: 440px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 7px;
    padding: 30px;
    border: 2px dashed #c9c9c6;
    border-radius: 20px;
    background: repeating-linear-gradient(-45deg, #f6f6f3, #f6f6f3 10px, #efefec 10px, #efefec 20px);
    color: #4e4e53;
    text-align: center;
}
.cms-media-placeholder strong { font-size: 20px; }
.cms-media-placeholder span { max-width: 330px; font-size: 12px; }

.cms-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}
.cms-support-grid article { padding: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(255,255,255,.045); }
.cms-support-grid span { color: #ff5364; font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.cms-support-grid h3 { margin: 8px 0 5px; color: #fff; font-size: 15px; }
.cms-support-grid p { margin: 0; color: #aaaab0; font-size: 11px; }

.section-evidence { min-height: 100vh; background: #f2f1ed; color: #17171a; }
.evidence-layout { display: grid; gap: 28px; }
.evidence-context-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.evidence-context-grid article { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 13px; border: 1px solid rgba(20,20,23,.1); border-radius: 11px; background: rgba(255,255,255,.58); }
.evidence-context-grid article > span { color: #bf1928; font-size: 10px; font-weight: 900; }
.evidence-context-grid strong { display: block; font-size: 12px; }
.evidence-context-grid p { margin: 4px 0 0; color: #66666c; font-size: 10px; }
.evidence-context-grid small { display: block; margin-top: 5px; color: #8b1a26; font-size: 9px; font-weight: 800; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.evidence-card { min-width: 0; overflow: hidden; border: 1px solid rgba(20,20,23,.11); border-radius: 16px; background: #fff; box-shadow: 0 15px 35px rgba(15,15,18,.055); }
.evidence-card > img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.evidence-card > div { display: grid; gap: 8px; padding: 20px; }
.evidence-card > div > span { color: #d71d2f; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.evidence-card h3 { margin: 0; font-size: 19px; line-height: 1.15; }
.evidence-card strong { font-size: 24px; line-height: 1.05; }
.evidence-card p { margin: 0; color: #626268; font-size: 12px; }
.evidence-card small { color: #74747a; font-size: 9px; }
.evidence-card a { color: #bf1928; text-decoration: underline; text-underline-offset: 2px; }
.evidence-card--testimonial p { font-style: italic; }
.evidence-closing { max-width: 780px; margin: 0; color: #64646a; }
.cms-public-empty,
.territory-empty { padding: 20px; border: 1px solid rgba(20,20,23,.12); border-radius: 12px; background: rgba(255,255,255,.62); }
.cms-public-empty strong,
.territory-empty strong { display: block; font-size: 15px; }
.cms-public-empty p,
.territory-empty p { margin: 5px 0 0; color: #65656b; font-size: 11px; }
.cms-preview-warning { display: block; padding: 7px 9px; border-radius: 7px; background: #fff0cf; color: #704c00; font-size: 9px; font-weight: 800; }

.slide.section-form .form-assurances > div > span { display: grid; gap: 3px; min-width: 0; }
.slide.section-form .form-assurances strong { color: #e6e5e9; font-size: 12px; }
.slide.section-form .form-assurances small { color: #929199; font-size: 10px; line-height: 1.35; }
.slide.section-form .form-assurances em { color: #ff7b87; font-size: 9px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.slide.section-form .form-assurances b { margin-left: auto; color: #77767e; font-size: 9px; }
.footer-address { max-width: 260px; color: #96959c; font-size: 11px; line-height: 1.45; }

.territory-public-list { margin: 18px 0; }
.territory-public-list > strong { display: block; margin-bottom: 9px; font-size: 13px; }
.territory-public-list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.territory-public-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 9px; align-items: center; padding: 10px; border: 1px solid rgba(20,20,23,.11); border-radius: 9px; background: rgba(255,255,255,.7); }
.territory-public-list li > span { font-size: 11px; font-weight: 800; }
.territory-public-list mark { padding: 4px 7px; border-radius: 999px; background: #ecece8; color: #55555b; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.territory-public-list mark[data-territory-status="available"],
.territory-public-list mark[data-territory-status="priority"] { background: #e5f5eb; color: #166638; }
.territory-public-list mark[data-territory-status="reserved"],
.territory-public-list mark[data-territory-status="covered"] { background: #e7edf8; color: #2d579b; }
.territory-public-list mark[data-territory-status="unavailable"] { background: #f7e5e7; color: #8c2130; }
.territory-public-list li small { grid-column: 1 / -1; color: #737379; font-size: 9px; }
.faq-answer { padding: 0 54px 20px 0; color: #626268; }
.faq-answer p { margin: 0 0 8px; }
.faq-answer p:last-child,
.faq-answer ul:last-child,
.faq-answer ol:last-child { margin-bottom: 0; }
.process-closing { max-width: 760px; margin: 22px 0 0; color: #aaaab0; }

@media (max-width: 980px) {
    .evidence-grid,
    .evidence-context-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cms-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cms-hero-media img { min-height: 430px; }
}

@media (max-width: 680px) {
    .cms-preview-banner { min-height: 54px; gap: 3px 10px; font-size: 9px; }
    .cms-preview-banner ~ .site-header { top: 54px; }
    .cms-hero-media { border-radius: 16px; }
    .cms-hero-media img { min-height: 420px; }
    .cms-media-placeholder { min-height: 300px; }
    .evidence-grid,
    .evidence-context-grid,
    .cms-support-grid,
    .territory-public-list ul { grid-template-columns: 1fr; }
    .evidence-card > div { padding: 17px; }
    .faq-answer { padding-right: 0; }
}
