/* =========================================================================
   Pages statiques & contenu prose — Design V2
   ========================================================================= */

body.page-static main#main > section[style],
body.page-static .static-hero {
    padding: var(--section-y) 0 clamp(48px, 6vw, 80px) !important;
}

body.page-static main#main .container[style*="max-width"] {
    max-width: 760px !important;
}

body.page-static .static-hero-inner {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

body.page-static .static-prose,
body.page-static main#main article[style] {
    font-size: 1rem !important;
    line-height: 1.75 !important;
    color: var(--text-muted) !important;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--gutter) clamp(80px, 10vw, 120px);
}

body.page-static .static-prose h2,
body.page-static main#main article h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.35rem;
    color: var(--museum-black);
    margin: 2.5rem 0 1rem;
}

body.page-static .static-prose ul,
body.page-static main#main article ul {
    padding-left: 1.25rem;
}

body.page-static .static-prose li {
    margin-bottom: .5rem;
}

/* Blocs offre avec styles inline */
body.page-static [style*="border-radius: 16"],
body.page-static [style*="border-radius:16"],
body.page-static [style*="border-radius: 12"],
body.page-static [style*="box-shadow"] {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid var(--border) !important;
}

body.page-static [style*="linear-gradient"] {
    background: var(--museum-white) !important;
    background-image: none !important;
}

body.page-static [style*="background:#"],
body.page-static [style*="background: #"] {
    /* preserve only if needed — soften colored boxes */
}

/* Grilles offre */
body.page-static [style*="display:grid"],
body.page-static [style*="display: grid"] {
    gap: var(--card-gap, 28px) !important;
    background: transparent !important;
    border: none !important;
}

body.page-static [style*="display:grid"] > *,
body.page-static [style*="display: grid"] > * {
    background: var(--museum-white);
    padding: 24px !important;
    border: 1px solid var(--border);
}

/* Legal / terms */
body.page-static .legal-content,
body.page-static pre {
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 24px;
    background: var(--museum-gray);
    overflow-x: auto;
}
