/* The public simulator reuses the native Gestion de patrimoine hero and its patterned aside. */
.edpt-native .edpt-pv-landing {
    --pv-copper:#a45235;--pv-navy:#181e35;--pv-gold:#f1cd4f;
    --pv-paper:#fffdf8;--pv-ivory:#f6f0e5;--pv-line:#e3d9ca;
    --pv-ink:#181e35;--pv-muted:#4f5868;
}
.edpt-native .edpt-pv-landing .edpt-profile-heading {margin-bottom:clamp(28px,4.6vw,66px)}
.edpt-pv-landing .edpt-pv-start h2 em {display:block}
.edpt-pv-landing .edpt-pv-login {margin-top:9px;font-size:.875rem}
.edpt-pv-landing #edpt-pv-contenu,.edpt-pv-landing [id^="pv-"] {scroll-margin-top:114px}
.edpt-native .edpt-pv-landing .edpt-pv-editorial {display:grid;gap:clamp(14px,2.4vw,27px);min-width:0}
.edpt-native .edpt-pv-landing .edpt-pv-section,
.edpt-pv-landing .edpt-pv-toc,.edpt-pv-landing .edpt-pv-related {
    padding:clamp(19px,4vw,44px);border:1px solid var(--pv-line);border-radius:18px;
    background:var(--pv-paper);color:var(--pv-ink);min-width:0;
}
.edpt-native .edpt-pv-landing .edpt-pv-introduction {background:var(--pv-ivory)}
.edpt-pv-landing .edpt-pv-kicker {
    display:block;color:var(--pv-copper);font-size:.73rem;font-weight:720;letter-spacing:.13em;text-transform:uppercase;
}
.edpt-native .edpt-pv-landing .edpt-pv-section h2,
.edpt-native .edpt-pv-landing .edpt-pv-cta h2 {
    margin:10px 0 16px;color:inherit;font:400 clamp(27px,3.8vw,46px)/1.14 Georgia,"Times New Roman",serif;
    letter-spacing:-.03em;max-width:29ch;overflow-wrap:anywhere;
}
.edpt-pv-landing .edpt-pv-section p,.edpt-pv-landing .edpt-pv-steps li,.edpt-pv-landing .edpt-pv-rules li {
    line-height:1.75;color:var(--pv-muted);max-width:78ch;margin:0 0 12px;
}
.edpt-pv-landing .edpt-pv-section p:last-child {margin-bottom:0}
.edpt-pv-landing .edpt-pv-section strong {color:var(--pv-ink)}
.edpt-pv-landing .edpt-pv-section a,.edpt-pv-landing .edpt-pv-text-link {color:var(--pv-copper);text-underline-offset:3px}
.edpt-pv-landing .edpt-pv-text-link {display:inline-flex;gap:8px;align-items:baseline;font-weight:700}
.edpt-pv-landing .edpt-pv-toc {padding-block:clamp(18px,2.5vw,28px)}
.edpt-pv-landing .edpt-pv-toc ul,.edpt-pv-landing .edpt-pv-related {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 22px;
}
.edpt-pv-landing .edpt-pv-toc ul {margin:9px 0 0;padding:0;list-style:none}
.edpt-pv-landing .edpt-pv-toc li {margin:0;padding:0;list-style:none}
.edpt-pv-landing .edpt-pv-toc a,.edpt-pv-landing .edpt-pv-related a {
    display:flex;align-items:baseline;gap:8px;padding:8px 0;border-bottom:1px solid var(--pv-line);
    color:var(--pv-copper);font-size:.95rem;text-decoration:none;
}
.edpt-pv-landing .edpt-pv-toc a::before {content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:none;margin-top:3px}
.edpt-pv-landing .edpt-pv-toc a:hover,.edpt-pv-landing .edpt-pv-related a:hover {text-decoration:underline;text-underline-offset:3px}
.edpt-pv-landing .edpt-pv-universes {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.edpt-pv-landing .edpt-pv-universes section {padding:clamp(16px,2.6vw,29px);border:1px solid var(--pv-line);border-radius:14px;background:var(--pv-ivory);min-width:0}
.edpt-pv-landing .edpt-pv-index {display:inline-block;margin-bottom:12px;color:var(--pv-copper);font:16px/1 Georgia,serif}
.edpt-native .edpt-pv-landing .edpt-pv-universes h3 {margin:0 0 8px;color:var(--pv-ink);font:400 clamp(22px,2.5vw,29px)/1.2 Georgia,serif}
.edpt-pv-landing .edpt-pv-steps {margin:0;padding:0;list-style:none;counter-reset:pv-steps}
.edpt-pv-landing .edpt-pv-steps li {counter-increment:pv-steps;position:relative;padding-left:44px;min-height:32px}
.edpt-pv-landing .edpt-pv-steps li::before {
    content:counter(pv-steps,decimal-leading-zero);position:absolute;left:0;top:2px;display:grid;place-items:center;
    width:31px;height:31px;border-radius:50%;background:var(--pv-ivory);color:var(--pv-copper);font:14px Georgia,serif;
}
.edpt-pv-landing .edpt-pv-rules {padding-inline-start:20px;margin:0}
.edpt-pv-landing .edpt-pv-rules li::marker {color:var(--pv-copper)}
.edpt-pv-landing .edpt-pv-section .edpt-pv-context {
    border-inline-start:3px solid var(--pv-copper);background:var(--pv-ivory);padding:10px 14px;
    border-radius:0 8px 8px 0;font-size:.9rem;max-width:80ch;
}
.edpt-pv-landing .edpt-pv-faq details {border-top:1px solid var(--pv-line)}
.edpt-pv-landing .edpt-pv-faq details:last-child {border-bottom:1px solid var(--pv-line)}
.edpt-pv-landing .edpt-pv-faq summary {
    display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;cursor:pointer;
    padding:13px 0;font-weight:700;color:var(--pv-ink);line-height:1.4;
}
.edpt-pv-landing .edpt-pv-faq summary::-webkit-details-marker {display:none}
.edpt-pv-landing .edpt-pv-faq summary::after {content:"+";font:22px Georgia,serif;color:var(--pv-copper)}
.edpt-pv-landing .edpt-pv-faq details[open] summary::after {content:"−"}
.edpt-pv-landing .edpt-pv-faq details p {padding-bottom:13px}
.edpt-pv-landing .edpt-pv-related .edpt-pv-kicker {grid-column:1/-1}
.edpt-pv-landing .edpt-pv-related a {justify-content:space-between}
.edpt-pv-landing .edpt-pv-cta {
    display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:22px;
    margin-top:clamp(16px,3vw,32px);padding:clamp(20px,4vw,45px);border-radius:22px;color:#fff;
    background:radial-gradient(ellipse at 98% 0%,#2a3c59,transparent 65%),#0b182f;
}
.edpt-pv-landing .edpt-pv-cta .edpt-pv-kicker {color:#f5dc8e}
.edpt-pv-landing .edpt-pv-cta p {margin:0;color:#d9e2f0;max-width:59ch;line-height:1.65}
.edpt-pv-landing .edpt-pv-cta-actions {display:flex;flex-direction:column;align-items:flex-start;gap:8px;color:#fff}
.edpt-native .edpt-pv-landing .edpt-pv-cta-actions .edpt-button {background:var(--pv-gold);border-color:var(--pv-gold);color:#0b182f;text-decoration:none}
.edpt-native .edpt-pv-landing .edpt-pv-cta-actions .edpt-button:hover {background:#ffe58a}
.edpt-pv-landing .edpt-pv-cta-actions>a:not(.edpt-button) {font-size:.85rem;color:#fff;text-underline-offset:3px}
.edpt-pv-landing :is(a,summary):focus-visible {outline:2px solid var(--pv-copper);outline-offset:3px}
.edpt-pv-landing .edpt-pv-cta a:focus-visible {outline-color:var(--pv-gold)}
html[data-edpt-appearance=dark] .edpt-native .edpt-pv-landing {
    --pv-paper:#1c2335;--pv-ivory:#242c40;--pv-line:#3f4759;--pv-ink:#f7f1e8;
    --pv-muted:#d1d6e0;--pv-copper:#f0a887;
}
@media(max-width:650px) {
    .edpt-pv-landing .edpt-pv-universes,.edpt-pv-landing .edpt-pv-toc ul,.edpt-pv-landing .edpt-pv-related {grid-template-columns:minmax(0,1fr)}
}

/* Decorative diagrams for both already-published and newly provisioned pages.
   Scope by the existing semantic section IDs; stored editorial content is not changed. */
@media(min-width:950px) {
    .edpt-native .edpt-pv-landing .edpt-pv-section:is(
        [aria-labelledby="pv-definition"], [aria-labelledby="pv-premier-ordre"],
        [aria-labelledby="pv-regles"], [aria-labelledby="pv-exercice"], [aria-labelledby="pv-questions"]
    ) {
        position:relative;
        --pv-art-width:clamp(210px,25vw,390px);
        --pv-art-right:clamp(25px,4vw,70px);
        padding-inline-end:calc(var(--pv-art-width) + var(--pv-art-right) + clamp(13px,2vw,34px));
    }
    .edpt-native .edpt-pv-landing .edpt-pv-section:is(
        [aria-labelledby="pv-definition"], [aria-labelledby="pv-premier-ordre"],
        [aria-labelledby="pv-regles"], [aria-labelledby="pv-exercice"], [aria-labelledby="pv-questions"]
    )::after {
        content:"";position:absolute;inset-inline-end:var(--pv-art-right);inset-block-start:50%;
        width:var(--pv-art-width);aspect-ratio:360/238;transform:translateY(-50%);
        background:var(--pv-art) center/contain no-repeat;pointer-events:none;
    }
    .edpt-pv-landing [aria-labelledby="pv-definition"] {--pv-art:url('portfolio-illustrations/portfolio.svg')}
    .edpt-pv-landing [aria-labelledby="pv-premier-ordre"] {--pv-art:url('portfolio-illustrations/orders.svg')}
    .edpt-pv-landing [aria-labelledby="pv-regles"] {--pv-art:url('portfolio-illustrations/rules.svg')}
    .edpt-pv-landing [aria-labelledby="pv-exercice"] {--pv-art:url('portfolio-illustrations/comparison.svg')}
    .edpt-pv-landing [aria-labelledby="pv-questions"] {--pv-art:url('portfolio-illustrations/faq.svg')}
}
@media(min-width:1120px) {
    .edpt-native .edpt-pv-landing .edpt-pv-universes>section {
        position:relative;--pv-universe-art-width:clamp(80px,11vw,155px);
        --pv-universe-art-right:clamp(10px,1.3vw,19px);
        padding-inline-end:calc(var(--pv-universe-art-width) + var(--pv-universe-art-right) + 14px);
    }
    .edpt-pv-landing .edpt-pv-universes>section:first-child {--pv-universe-art:url('portfolio-illustrations/funds.svg')}
    .edpt-pv-landing .edpt-pv-universes>section:nth-child(2) {--pv-universe-art:url('portfolio-illustrations/stocks.svg')}
    .edpt-pv-landing .edpt-pv-universes>section::after {
        content:"";position:absolute;inset-inline-end:var(--pv-universe-art-right);inset-block-start:50%;
        width:var(--pv-universe-art-width);aspect-ratio:150/142;transform:translateY(-50%);
        background:var(--pv-universe-art) center/contain no-repeat;pointer-events:none;
    }
}
