.ged-preview {
    padding-block: clamp(26px, 4vw, 52px) clamp(32px, 5vw, 68px);
    color: #1c392e;
    background:
        linear-gradient(90deg, rgba(61, 115, 88, .09) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(rgba(61, 115, 88, .09) 1px, transparent 1px) 0 0 / 24px 24px,
        #e4eee4;
}

.cloud-landing .ged-preview h2 {
    margin: 0 0 clamp(12px, 2vw, 23px);
    font-size: clamp(26px, 3vw, 40px);
}

.ged-preview__window {
    margin: 0;
    border: 1px solid #729884;
    box-shadow: 6px 6px 0 #b7d1c1;
    font-size: 0.875rem;
    line-height: 1.4;
}

.ged-preview__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 10px clamp(12px, 2vw, 22px);
    color: #d6eddf;
    background: #152f27;
    border-bottom: 1px solid #628e79;
}

.ged-preview__app {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f1faf3;
    font-weight: 600;
}

.ged-preview__app::before {
    content: "";
    inline-size: 14px;
    block-size: 14px;
    background: #84d9b2;
    clip-path: polygon(0 0, 43% 0, 43% 29%, 71% 29%, 71% 57%, 100% 57%, 100% 100%, 0 100%);
}

.ged-preview__layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 2fr) minmax(0, 1.25fr);
    gap: 1px;
    background: #86a995;
}

.ged-preview__layout > div { min-width: 0; padding: clamp(12px, 2vw, 24px); }
.ged-preview__layout :is(h3, h4, p) { margin: 0; color: inherit; }
.ged-preview__layout h3 { font-size: 1rem; font-weight: 600; }
.ged-preview__layout h4 { font-size: .875rem; font-weight: 600; }
.ged-preview__layout ul { margin: 0; padding: 0; list-style: none; }
.ged-preview__layout li { margin: 0; }

.ged-preview__spaces { color: #e3f3e8; background: #24463b; }
.ged-preview__spaces ul { display: grid; gap: 4px; margin-top: 12px; }
.ged-preview__spaces li { padding: 8px 9px; border: 1px solid transparent; }
.ged-preview__spaces li .ged-file-icon { background: currentColor; }
.ged-preview__spaces .ged-preview__current { color: #153a2c; background: #a9e3c3; border-color: #a9e3c3; font-weight: 600; }

.ged-preview__files { background: #f6f7ef; }
.ged-preview__files .ged-preview__path { color: #456757; font-size: .8125rem; }
.ged-preview__files h3 { margin: 2px 0 10px; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.18; }
.ged-preview__files .ged-preview__folders { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 17px; }
.ged-preview__folders li { padding: 6px 9px; border: 1px solid #c0d4c3; background: #edf3e9; }
.ged-preview__folders .ged-preview__current { color: #214d37; background: #d7ecdc; border-color: #92b49d; font-weight: 600; }
.ged-preview__files .ged-preview__documents { margin-top: 6px; }
.ged-preview__documents li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    border-top: 1px solid #c5d6c7;
}

.ged-preview__documents small { flex: 0 0 auto; color: #405a4c; font-size: .75rem; }
.ged-preview__documents .ged-preview__approved { padding: 2px 6px; color: #204633; background: #d7eadc; font-weight: 600; }

.ged-preview__access { background: #dfecdf; }
.ged-preview__access p { margin: 3px 0 12px; color: #426252; font-size: .8125rem; }
.ged-preview__access li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid #aec9b5;
}

.ged-preview__avatar {
    display: grid;
    place-items: center;
    inline-size: 28px;
    block-size: 28px;
    color: #22503b;
    background: #bcdbc6;
    font-size: .6875rem;
    font-weight: 700;
}

.ged-preview__access li div > * { display: block; }
.ged-preview__access li div span { color: #325947; font-size: .8125rem; }
.ged-preview__access small { margin-top: 3px; color: #3d5d4d; font-size: .75rem; }

@media (max-width: 1020px) {
    .ged-preview__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
    .ged-preview__access { grid-column: 1 / -1; }
    .ged-preview__access ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}

@media (max-width: 660px) {
    .ged-preview__layout, .ged-preview__access ul { grid-template-columns: minmax(0, 1fr); }
    .ged-preview__access ul { gap: 0; }
    .ged-preview__spaces ul { display: flex; flex-wrap: wrap; margin-top: 8px; }
    .ged-preview__spaces li { padding: 4px 6px; }
}

.ged-section-nav {
    background: #e7eee4;
    border-bottom: 1px solid var(--cloud-border);
    color: #214434;
}

.ged-section-nav .ed-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px clamp(16px, 4vw, 52px);
    padding-block: 14px;
}

.ged-section-nav a {
    padding-block: 6px;
    font-size: 14px;
    font-weight: 600;
}

.ged-section-nav a:hover { text-decoration: underline; }
.cloud-landing [id] { scroll-margin-top: 90px; }

.ged-feature {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 70px);
}

.ged-feature .ged-lead {
    max-width: 50ch;
    margin-top: 24px;
    color: #42594b;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.65;
}

.ged-feature__image {
    background: #254238;
    border: 1px solid #759c86;
    overflow: hidden;
}

.ged-feature__image img {
    display: block;
    width: 100%;
    height: auto;
}

.cloud-landing .ged-problems,
.cloud-landing .ged-access__rules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 26px;
    margin: 0;
}

.cloud-landing .ged-problems { grid-column: 1 / -1; }
.ged-problems > div { padding: 18px 0 0; border-top: 1px solid #7f9b88; }
.cloud-landing dt { font-size: 18px; font-weight: 600; }
.cloud-landing dd { margin: 5px 0 0; line-height: 1.6; }
.ged-problems dd, .ged-contexts dd { color: #40604e; }

.cloud-landing .ged-access {
    background: radial-gradient(ellipse at 70% 25%, #254a3c, transparent 65%), #172e27;
}

.ged-access .ed-section-heading .ed-eyebrow { color: #a9e4c5; }

.ged-demo {
    min-inline-size: 0;
    margin: 0;
    padding: clamp(12px, 2.25vw, 27px);
    background: #1a362d;
    border: 1px solid #6c9e88;
    box-shadow: 9px 9px 0 #11261f;
}

.ged-demo legend {
    padding: 0 9px;
    color: #d9eee0;
    font-size: 14px;
    font-weight: 600;
}

.ged-demo__profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 17px;
}

.ged-demo__profiles label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 10px 16px;
    background: #244638;
    color: #dfefe5;
    border: 1px solid #65927c;
    font-size: 14px;
    font-weight: 600;
    min-height: 44px;
}

.ged-demo__profiles input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ged-demo__profiles label:hover { background: #315646; }
.ged-demo__profiles label:has(input:checked) { color: #102c21; background: #a7e5c3; border-color: #a7e5c3; }
.ged-demo__profiles label:focus-within { outline: 2px solid #dbffe9; outline-offset: 3px; }

.ged-demo__workspace {
    color: #20352a;
    background: #f1f5eb;
    box-shadow: 0 8px 18px #0a20183d;
}

.ged-demo__workspace > header {
    padding: 20px clamp(15px, 2vw, 29px);
    background: #e0ecdf;
    border-bottom: 1px solid #bbcebd;
}

.cloud-landing .ged-demo__caption { color: #3a5c4b; font-size: 13px; margin-bottom: 5px; }
.ged-demo__workspace h3 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; line-height: 1.16; }

.ged-demo__profile {
    display: none;
    grid-template-columns: minmax(175px, .34fr) minmax(0, 1fr);
}

.ged-demo:has([value="responsable"]:checked) [data-ged-view="responsable"],
.ged-demo:has([value="equipe"]:checked) [data-ged-view="equipe"],
.ged-demo:has([value="partenaire"]:checked) [data-ged-view="partenaire"] { display: grid; }

.ged-demo__sidebar {
    background: #e7efe3;
    border-right: 1px solid #c5d6c4;
    padding: 21px 18px;
}

.ged-demo__profile h4 { color: #20352a; font-size: 16px; margin: 0; }
.ged-demo__profile p { color: #3e5749; font-size: 15px; line-height: 1.5; }
.ged-demo__profile ul { padding: 0; margin: 12px 0 0; list-style: none; }
.ged-demo__sidebar li { padding: 8px 10px; color: #345946; font-size: 14px; }
.ged-demo__sidebar .ged-demo__active-space { background: #d1e6d6; color: #204535; font-weight: 600; }

.ged-demo__documents { padding: 21px clamp(14px, 2.6vw, 32px); }

.ged-demo__identity,
.ged-demo__documents li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 6px 12px;
}

.ged-demo__identity > span {
    color: #244f3a;
    font-size: 13px;
    border: 1px solid #8eaf9b;
    padding: 5px 9px;
}

.ged-demo__documents li { padding: 11px 0; border-top: 1px solid #c8d5c7; }

.ged-file-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: -3px;
    background: #3a795d;
}

.ged-file-icon--folder {
    clip-path: polygon(0 18%, 38% 18%, 38% 34%, 100% 34%, 100% 89%, 0 89%);
}

.ged-file-icon--file {
    background: linear-gradient(#f1f5eb, #f1f5eb) 42% 53% / 6px 1px no-repeat,
        linear-gradient(#f1f5eb, #f1f5eb) 42% 72% / 6px 1px no-repeat, #3a795d;
    clip-path: polygon(13% 0, 63% 0, 88% 25%, 88% 100%, 13% 100%);
}

.ged-demo__documents strong { color: #234b39; background: #dbeadf; padding: 4px 8px; font-size: 13px; }
.ged-demo__documents .ged-demo__action { color: #67481e; background: #f9ecd5; }

.ged-pilot {
    margin-top: clamp(24px, 4vw, 48px);
    padding: clamp(18px, 3.2vw, 42px);
    color: #1c2d24;
    background: #e7f0e4;
    border: 1px solid #9db5a3;
}

.ged-pilot__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 32px;
}

.cloud-landing .ged-pilot__heading h2 {
    font-size: clamp(28px, 3.2vw, 44px);
}

.ged-pilot__heading p {
    margin-top: 14px;
    max-width: 64ch;
    line-height: 1.6;
}

.ged-pilot__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 23px;
}

.ged-pilot__details article {
    padding: clamp(14px, 2.2vw, 27px);
    background: #f6f8f1;
    border-top: 2px solid #4b8b70;
}

.ged-pilot__details h3 {
    color: #20352a;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.2;
}

.ged-pilot__details ul {
    margin: 12px 0 0;
    padding-inline-start: 18px;
    line-height: 1.5;
}

.ged-pilot__details li + li { margin-top: 6px; }
.cloud-landing .ged-pilot__note { margin-top: 14px; color: #40604e; font-size: 14px; }

@media (max-width: 680px) {
    .ged-pilot__details { grid-template-columns: minmax(0, 1fr); }
}

.ged-access__rules > div { padding-top: 15px; border-top: 1px solid #668e7e; }
.ged-access__rules dd { color: #d1e5d9; }

.cloud-landing .ged-workflow,
.cloud-landing .ged-delivery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: ged-step;
}

.ged-workflow li,
.ged-delivery li {
    counter-increment: ged-step;
    background: #eaf1e7;
    padding: clamp(17px, 3vw, 33px);
    border-top: 2px solid #4b8b70;
}

.ged-workflow li::before,
.ged-delivery li::before {
    content: counter(ged-step) ".";
    display: block;
    margin-bottom: 12px;
    color: #32614c;
    font-size: 18px;
    font-weight: 600;
}

.ged-workflow h3,
.ged-delivery h3,
.ged-integration__examples h3,
.ged-hosting__controls h3 {
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.22;
    font-weight: 500;
}

.ged-workflow p,
.ged-delivery p,
.ged-integration p,
.ged-hosting__controls p { margin-top: 12px; line-height: 1.6; }

.ged-integration {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 68px);
}

.ged-integration p { max-width: 58ch; }
.ged-integration__examples { padding: clamp(18px, 3vw, 36px); background: #f1f6ee; border: 1px solid #9db5a3; }
.ged-integration__examples dl { margin: 17px 0 0; }
.ged-integration__examples dl > div { border-top: 1px solid #b4c9b7; padding: 12px 0; }
.ged-integration__examples dl > div:last-child { padding-bottom: 0; }
.ged-integration__examples dd { color: #40604e; }

.ged-api-exchange {
    grid-column: 1 / -1;
    padding: clamp(18px, 3.5vw, 44px);
    border: 1px solid #9db5a3;
    background: #f1f6ee;
}

.ged-api-exchange__label {
    display: inline-block;
    color: #32614c;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ged-api-exchange h3 {
    margin-top: 8px;
    font-size: clamp(23px, 3vw, 36px);
    line-height: 1.15;
    font-weight: 500;
}

.ged-api-exchange__messages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 22px;
    background: #628375;
    border: 1px solid #628375;
}

.ged-api-exchange__message {
    min-width: 0;
    background: #1d322a;
    color: #f1f6ee;
}

.ged-api-exchange__message h4 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 0;
    padding: 12px clamp(10px, 2vw, 22px);
    border-bottom: 1px solid #628375;
    color: inherit;
    font-size: 0.875rem;
    font-weight: 600;
}

.ged-api-exchange__message span { color: #a5e0c4; }
.ged-api-exchange__message pre {
    margin: 0;
    padding: 14px clamp(10px, 2vw, 22px);
    color: inherit;
    font-size: 0.8125rem;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ged-api-exchange__message code { color: inherit; font-size: inherit; }
.ged-api-exchange__result {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 24px;
    padding: 14px 0;
    border-bottom: 1px solid #b4c9b7;
}

.ged-api-exchange .ged-api-exchange__result p { max-width: 72ch; margin: 0; }
.ged-api-exchange .ged-api-exchange__result a { margin-top: 0; }
.ged-api-exchange__details { margin-top: 14px; }
.ged-api-exchange__details summary { cursor: pointer; color: #214434; font-weight: 600; }
.ged-api-exchange__details .ged-api-exchange__messages { margin-top: 12px; }
.ged-api-exchange .ged-api-exchange__note { max-width: none; color: #40604e; font-size: 0.875rem; }

.ged-hosting__controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 68px);
    margin-bottom: clamp(26px, 4.5vw, 52px);
}

.ged-hosting__controls p { max-width: 60ch; color: #d1e5d9; }
.cloud-landing .ged-sage { background: #e1ecdf; color: var(--cloud-ink); }
.ged-contexts dl { margin: 0; }
.ged-contexts dl > div { border-top: 1px solid #9cb3a1; padding: 16px 0; }

@media (max-width: 850px) {
    .ged-feature, .ged-integration, .ged-hosting__controls { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
    .ged-api-exchange__messages,
    .cloud-landing .ged-problems,
    .cloud-landing .ged-access__rules,
    .cloud-landing .ged-workflow,
    .cloud-landing .ged-delivery,
    .ged-demo__profile { grid-template-columns: minmax(0, 1fr); }

    .ged-section-nav a { padding-block: 9px; }
    .ged-demo { box-shadow: 5px 5px 0 #11261f; }
    .ged-demo__profiles label { flex: 1 1 auto; padding-inline: 9px; }
    .ged-demo__sidebar { padding: 12px 14px; border: 0; border-bottom: 1px solid #c5d6c4; }
    .ged-demo__sidebar ul { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
    .ged-demo__sidebar li { padding: 5px 7px; }
    .ged-demo__documents { padding-block: 14px; }
}

.ged-demo [hidden] { display: none; }

.ged-demo__guide,
.ged-demo__erp,
.ged-demo__document-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.ged-demo__guide,
.ged-demo__erp { justify-content: space-between; }

.ged-demo__guide { margin-bottom: 16px; }
.ged-demo__guide p { color: #d9eee0; line-height: 1.5; }

.ged-demo__filename {
    display: block;
    margin: 3px 0 0 24px;
    color: #3e5749;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.ged-demo__button,
.ged-demo__quiet {
    cursor: pointer;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #7ca991;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
}

.ged-demo__button { color: #fff; background: #215e47; }
.ged-demo__button:hover { background: #174b38; }
.ged-demo__quiet { color: #ebf6ec; background: #244638; }
.ged-demo__quiet:hover { background: #315646; }
.ged-demo__next { margin-top: 12px; }

.ged-demo__api { margin-top: 16px; }
.ged-demo__api h3 { margin: 0; color: #f1f7ee; font-size: 17px; }
.ged-demo__api .ged-api-exchange__messages { margin-top: 8px; }

.ged-demo__erp {
    margin-top: 14px;
    padding: 15px 18px;
    color: #f1f7ee;
    background: #294c3e;
    border: 1px solid #65927c;
}

.ged-demo__erp p { color: #cee5d6; margin-bottom: 4px; font-size: 13px; }
.ged-demo__erp h4 { color: inherit; font-size: 17px; margin: 0; }
.ged-demo__erp output { padding: 6px 10px; color: #173c29; background: #d1e6d6; font-weight: 600; }
.ged-demo[data-workflow-state="syncing"] .ged-demo__erp output { color: #67481e; background: #f9ecd5; }
.ged-demo[data-workflow-state="synchronized"] .ged-demo__erp output { color: #102c21; background: #a7e5c3; }
.ged-demo:is([data-workflow-state="syncing"], [data-workflow-state="synchronized"]) [data-ged-document-status] {
    color: #234b39;
    background: #dbeadf;
}

.ged-demo__button:focus-visible,
.ged-demo__quiet:focus-visible,
.ged-demo__api:focus { outline: 2px solid #6bb093; outline-offset: 3px; }
