/**
 * 3SAFE – Page Formation DUERP EVRP Pro
 * Styles strictement limités au composant .s3duerp et à ses dialogues.
 */
:root {
    --s3duerp-navy: #11184f;
    --s3duerp-navy-deep: #091033;
    --s3duerp-navy-2: #222b72;
    --s3duerp-blue: #2867b2;
    --s3duerp-blue-2: #3b7fc4;
    --s3duerp-burgundy: #9a1d3f;
    --s3duerp-burgundy-2: #74152f;
    --s3duerp-teal: #167c82;
    --s3duerp-ink: #15192d;
    --s3duerp-muted: #626b7c;
    --s3duerp-border: #dce1eb;
    --s3duerp-soft: #f3f5f9;
    --s3duerp-white: #ffffff;
    --s3duerp-success: #16724a;
    --s3duerp-danger: #a31d34;
    --s3duerp-shadow-sm: 0 10px 28px rgba(17, 24, 79, 0.08);
    --s3duerp-shadow: 0 18px 45px rgba(16, 24, 78, 0.12);
    --s3duerp-shadow-lg: 0 28px 80px rgba(5, 13, 50, 0.24);
    --s3duerp-radius-sm: 14px;
    --s3duerp-radius: 22px;
    --s3duerp-radius-lg: 32px;
    --s3duerp-focus: 0 0 0 4px rgba(40, 103, 178, 0.24);
}

body.s3duerp-page-active .page_title,
body.s3duerp-page-active .page-title,
body.s3duerp-page-active .entry-title,
body.s3duerp-page-active .post-title,
body.s3duerp-page-active .elementor-page-title,
body.s3duerp-page-active .stm_page_bc,
body.s3duerp-page-active .page_bc,
body.s3duerp-page-active .breadcrumbs,
body.s3duerp-page-active .breadcrumb {
    display: none !important;
}

body.s3duerp-page-active {
    overflow-x: hidden;
    overflow-x: clip;
}

body.s3duerp-page-active .entry-content,
body.s3duerp-page-active .post-content,
body.s3duerp-page-active .elementor-widget-theme-post-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

.s3duerp,
.s3duerp *,
.s3duerp *::before,
.s3duerp *::after,
.s3duerp-dialog,
.s3duerp-dialog *,
.s3duerp-dialog *::before,
.s3duerp-dialog *::after {
    box-sizing: border-box;
}

.s3duerp,
.s3duerp-dialog {
    font-family: Inter, Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.s3duerp {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    color: var(--s3duerp-ink);
    background: var(--s3duerp-white);
    font-size: 16px;
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.s3duerp--full-bleed {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

.s3duerp a {
    color: inherit;
    text-decoration: none;
}

.s3duerp img,
.s3duerp svg {
    display: block;
    max-width: 100%;
}

.s3duerp button,
.s3duerp input,
.s3duerp select,
.s3duerp textarea {
    font: inherit;
}

.s3duerp h1,
.s3duerp h2,
.s3duerp h3,
.s3duerp p,
.s3duerp dl,
.s3duerp dd,
.s3duerp dt,
.s3duerp ol,
.s3duerp figure {
    margin: 0;
}

.s3duerp-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.s3duerp-skip {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--s3duerp-white);
    background: var(--s3duerp-burgundy);
    font-weight: 800;
}

.s3duerp-skip:focus {
    top: 16px;
}

.s3duerp :focus-visible,
.s3duerp-dialog :focus-visible {
    outline: none;
    box-shadow: var(--s3duerp-focus);
}

.s3duerp-kicker {
    margin-bottom: 12px !important;
    color: var(--s3duerp-burgundy);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.s3duerp-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 19px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.s3duerp-button:hover {
    transform: translateY(-2px);
}

.s3duerp-button svg,
.s3duerp-text-link svg,
.s3duerp-overview-card > svg,
.s3duerp-quality-link a svg,
.s3duerp-mobile-actions svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.s3duerp-button--primary {
    color: var(--s3duerp-white) !important;
    background: var(--s3duerp-burgundy);
    box-shadow: 0 14px 30px rgba(154, 29, 63, 0.28);
}

.s3duerp-button--primary:hover,
.s3duerp-button--primary:focus-visible {
    background: var(--s3duerp-burgundy-2);
    box-shadow: 0 18px 36px rgba(154, 29, 63, 0.34);
}

.s3duerp-button--light {
    color: var(--s3duerp-navy) !important;
    background: var(--s3duerp-white);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.s3duerp-button--secondary {
    color: var(--s3duerp-white) !important;
    background: var(--s3duerp-navy);
}

.s3duerp-button--secondary:hover,
.s3duerp-button--secondary:focus-visible {
    background: var(--s3duerp-navy-2);
}

.s3duerp-button--ghost {
    color: var(--s3duerp-navy) !important;
    border-color: rgba(17, 24, 79, 0.18);
    background: var(--s3duerp-white);
}

.s3duerp-button--ghost:hover,
.s3duerp-button--ghost:focus-visible {
    border-color: var(--s3duerp-navy);
    background: var(--s3duerp-soft);
}

.s3duerp-button--outline-light {
    color: var(--s3duerp-white) !important;
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.07);
}

.s3duerp-button--outline-light:hover,
.s3duerp-button--outline-light:focus-visible {
    border-color: var(--s3duerp-white);
    background: rgba(255, 255, 255, 0.14);
}

.s3duerp-button--small {
    min-height: 42px;
    padding: 10px 15px;
    font-size: 0.9rem;
}

/* Hero */
.s3duerp-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 8vw, 108px) 0 clamp(86px, 10vw, 132px);
    color: var(--s3duerp-white);
    background:
        radial-gradient(circle at 83% 17%, rgba(63, 124, 211, 0.52), transparent 30%),
        radial-gradient(circle at 12% 95%, rgba(154, 29, 63, 0.26), transparent 31%),
        linear-gradient(134deg, var(--s3duerp-navy-deep) 0%, var(--s3duerp-navy) 55%, var(--s3duerp-navy-2) 100%);
}

.s3duerp-hero::before,
.s3duerp-hero::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.s3duerp-hero::before {
    top: -430px;
    right: -260px;
    width: 840px;
    height: 840px;
}

.s3duerp-hero::after {
    bottom: -510px;
    left: 22%;
    width: 760px;
    height: 760px;
}

.s3duerp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
    align-items: center;
    gap: clamp(46px, 7vw, 92px);
}

.s3duerp-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 42px;
}

.s3duerp-brand__logo {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: var(--s3duerp-white);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
}

.s3duerp-brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s3duerp-brand strong,
.s3duerp-brand small {
    display: block;
}

.s3duerp-brand strong {
    font-size: 1.25rem;
    letter-spacing: 0.08em;
}

.s3duerp-brand small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
}

.s3duerp-hero .s3duerp-kicker {
    color: #ffbdcc;
}

.s3duerp-hero h1 {
    max-width: 820px;
    color: var(--s3duerp-white);
    font-size: clamp(2.75rem, 6.2vw, 5.6rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.s3duerp-hero__lead {
    max-width: 760px;
    margin-top: 28px !important;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.72;
}

.s3duerp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.s3duerp-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 22px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 700;
}

.s3duerp-hero__facts span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.s3duerp-hero__facts svg {
    width: 17px;
    height: 17px;
    color: #ffb4c7;
}

.s3duerp-hero-card {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--s3duerp-radius-lg);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: var(--s3duerp-shadow-lg);
    backdrop-filter: blur(18px);
}

.s3duerp-hero-card__badges {
    display: flex;
    justify-content: center;
    margin: -76px 0 26px;
}

.s3duerp-hero-card__badges img {
    width: 142px;
    height: 142px;
    padding: 7px;
    border: 4px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: var(--s3duerp-white);
    object-fit: contain;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.25);
}

.s3duerp-hero-card__badges img + img {
    margin-left: -32px;
}

.s3duerp-hero-card__eyebrow {
    margin-bottom: 16px !important;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.s3duerp-hero-card__metric {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.s3duerp-hero-card__metric strong {
    color: var(--s3duerp-white);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.s3duerp-hero-card__metric span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    font-weight: 750;
}

.s3duerp-hero-card__metric--accent strong {
    color: #ffbdcc;
}

.s3duerp-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    color: var(--s3duerp-white) !important;
    font-size: 0.9rem;
    font-weight: 850;
}

/* Overview */
.s3duerp-overview {
    position: relative;
    z-index: 3;
    margin-top: -52px;
}

.s3duerp-overview__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--s3duerp-border);
    border-radius: var(--s3duerp-radius);
    background: var(--s3duerp-white);
    box-shadow: var(--s3duerp-shadow);
}

.s3duerp-overview-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 134px;
    padding: 24px;
    transition: background 0.2s ease, color 0.2s ease;
}

.s3duerp-overview-card + .s3duerp-overview-card {
    border-left: 1px solid var(--s3duerp-border);
}

.s3duerp-overview-card:hover,
.s3duerp-overview-card:focus-visible {
    color: var(--s3duerp-white);
    background: var(--s3duerp-navy);
}

.s3duerp-icon-box {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    color: var(--s3duerp-burgundy);
    background: #f9edf1;
}

.s3duerp-icon-box svg {
    width: 25px;
    height: 25px;
}

.s3duerp-overview-card small,
.s3duerp-overview-card strong {
    display: block;
}

.s3duerp-overview-card small {
    margin-bottom: 4px;
    color: var(--s3duerp-muted);
    font-size: 0.77rem;
    font-weight: 750;
}

.s3duerp-overview-card strong {
    color: var(--s3duerp-navy);
    font-size: 1.03rem;
    line-height: 1.35;
}

.s3duerp-overview-card:hover small,
.s3duerp-overview-card:focus-visible small,
.s3duerp-overview-card:hover strong,
.s3duerp-overview-card:focus-visible strong {
    color: inherit;
}

/* Sections */
.s3duerp-section {
    padding: clamp(78px, 8vw, 118px) 0;
}

.s3duerp-section--soft {
    background: var(--s3duerp-soft);
}

.s3duerp-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    align-items: end;
    gap: 44px;
    margin-bottom: 42px;
}

.s3duerp-section-heading h2 {
    max-width: 760px;
    color: var(--s3duerp-navy);
    font-size: clamp(2.1rem, 4.6vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.s3duerp-section-heading > p {
    color: var(--s3duerp-muted);
    font-size: 1.02rem;
    line-height: 1.72;
}

.s3duerp-section-heading--single {
    grid-template-columns: 1fr;
}

/* Categories */
.s3duerp-categories {
    display: grid;
    gap: 18px;
}

.s3duerp-category {
    overflow: hidden;
    border: 1px solid var(--s3duerp-border);
    border-radius: var(--s3duerp-radius);
    background: var(--s3duerp-white);
    box-shadow: var(--s3duerp-shadow-sm);
}

.s3duerp-category[open] {
    box-shadow: var(--s3duerp-shadow);
}

.s3duerp-category summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    min-height: 122px;
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
}

.s3duerp-category summary::-webkit-details-marker {
    display: none;
}

.s3duerp-category summary:hover {
    background: #fafbfe;
}

.s3duerp-category__icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 17px;
    color: var(--s3duerp-white);
    background: linear-gradient(135deg, var(--s3duerp-navy), var(--s3duerp-blue));
    box-shadow: 0 12px 26px rgba(17, 24, 79, 0.20);
}

.s3duerp-category:nth-child(2) .s3duerp-category__icon {
    background: linear-gradient(135deg, var(--s3duerp-burgundy-2), var(--s3duerp-burgundy));
}

.s3duerp-category:nth-child(3) .s3duerp-category__icon {
    background: linear-gradient(135deg, #0d6268, var(--s3duerp-teal));
}

.s3duerp-category__icon svg {
    width: 29px;
    height: 29px;
}

.s3duerp-category__heading small,
.s3duerp-category__heading strong,
.s3duerp-category__heading em {
    display: block;
}

.s3duerp-category__heading small {
    margin-bottom: 3px;
    color: var(--s3duerp-burgundy);
    font-size: 0.73rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.s3duerp-category__heading strong {
    color: var(--s3duerp-navy);
    font-size: clamp(1.25rem, 2.6vw, 1.72rem);
    line-height: 1.25;
}

.s3duerp-category__heading em {
    margin-top: 5px;
    color: var(--s3duerp-muted);
    font-size: 0.9rem;
    font-style: normal;
}

.s3duerp-category__count {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--s3duerp-navy);
    background: var(--s3duerp-soft);
    font-size: 0.82rem;
    font-weight: 850;
    white-space: nowrap;
}

.s3duerp-category__chevron {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--s3duerp-border);
    border-radius: 50%;
    color: var(--s3duerp-navy);
    transition: transform 0.25s ease, background 0.2s ease;
}

.s3duerp-category__chevron svg {
    width: 19px;
    height: 19px;
}

.s3duerp-category[open] .s3duerp-category__chevron {
    transform: rotate(180deg);
    color: var(--s3duerp-white);
    background: var(--s3duerp-navy);
}

.s3duerp-category__content {
    padding: 0 26px 28px;
    border-top: 1px solid var(--s3duerp-border);
}

.s3duerp-category__intro {
    max-width: 930px;
    padding: 24px 0;
    color: var(--s3duerp-muted);
    line-height: 1.72;
}

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

.s3duerp-program-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 23px;
    border: 1px solid var(--s3duerp-border);
    border-radius: 18px;
    background: var(--s3duerp-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.s3duerp-program-card:hover {
    transform: translateY(-4px);
    border-color: rgba(40, 103, 178, 0.42);
    box-shadow: var(--s3duerp-shadow-sm);
}

.s3duerp-program-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.s3duerp-program-card__badge {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--s3duerp-burgundy-2);
    background: #f8e9ee;
    font-size: 0.73rem;
    font-weight: 900;
}

.s3duerp-program-card__version {
    color: var(--s3duerp-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.s3duerp-program-card h3 {
    color: var(--s3duerp-navy);
    font-size: 1.14rem;
    font-weight: 900;
    line-height: 1.35;
}

.s3duerp-program-card__subtitle {
    margin-top: 7px !important;
    color: var(--s3duerp-blue);
    font-size: 0.84rem;
    font-weight: 800;
}

.s3duerp-program-card__description {
    min-height: 112px;
    margin-top: 16px !important;
    color: var(--s3duerp-muted);
    font-size: 0.91rem;
    line-height: 1.66;
}

.s3duerp-program-meta {
    display: grid;
    gap: 10px;
    margin-top: 20px !important;
    padding-top: 18px;
    border-top: 1px solid var(--s3duerp-border);
}

.s3duerp-program-meta > div {
    display: grid;
    grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr);
    gap: 10px;
    align-items: start;
}

.s3duerp-program-meta dt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--s3duerp-muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.s3duerp-program-meta dt svg {
    width: 15px;
    height: 15px;
    color: var(--s3duerp-burgundy);
}

.s3duerp-program-meta dd {
    color: var(--s3duerp-ink);
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1.45;
}

.s3duerp-program-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
}

.s3duerp-program-card__actions .s3duerp-button {
    flex: 1 1 130px;
}

.s3duerp-program-note {
    margin-top: 22px !important;
    padding: 15px 18px;
    border-left: 4px solid var(--s3duerp-burgundy);
    border-radius: 8px 14px 14px 8px;
    color: var(--s3duerp-muted);
    background: var(--s3duerp-white);
    font-size: 0.84rem;
}

/* Process */
.s3duerp-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--s3duerp-border);
    border-radius: var(--s3duerp-radius);
    background: var(--s3duerp-white);
    list-style: none;
    box-shadow: var(--s3duerp-shadow-sm);
}

.s3duerp-process li {
    position: relative;
    min-height: 285px;
    padding: 30px 26px;
}

.s3duerp-process li + li {
    border-left: 1px solid var(--s3duerp-border);
}

.s3duerp-process li > span {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    color: var(--s3duerp-white);
    background: var(--s3duerp-navy);
    font-size: 0.82rem;
    font-weight: 900;
}

.s3duerp-process li:nth-child(2) > span,
.s3duerp-process li:nth-child(4) > span {
    background: var(--s3duerp-burgundy);
}

.s3duerp-process h3 {
    margin-top: 26px !important;
    color: var(--s3duerp-navy);
    font-size: 1.2rem;
}

.s3duerp-process p {
    margin-top: 11px !important;
    color: var(--s3duerp-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Statistics */
.s3duerp-section--stats {
    position: relative;
    overflow: hidden;
    color: var(--s3duerp-white);
    background:
        radial-gradient(circle at 90% 5%, rgba(59, 127, 196, 0.38), transparent 28%),
        linear-gradient(135deg, var(--s3duerp-navy-deep), var(--s3duerp-navy) 62%, var(--s3duerp-navy-2));
}

.s3duerp-section--stats::after {
    position: absolute;
    right: -260px;
    bottom: -360px;
    width: 720px;
    height: 720px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
}

.s3duerp-section-heading--light {
    position: relative;
    z-index: 1;
}

.s3duerp-section-heading--light h2,
.s3duerp-section-heading--light > p {
    color: var(--s3duerp-white);
}

.s3duerp-section-heading--light > p {
    color: rgba(255, 255, 255, 0.72);
}

.s3duerp-section--stats .s3duerp-kicker {
    color: #ffbdcc;
}

.s3duerp-stat-summary {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--s3duerp-radius);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.s3duerp-stat-summary > div {
    padding: 24px;
    text-align: center;
}

.s3duerp-stat-summary > div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.s3duerp-stat-summary strong,
.s3duerp-stat-summary span {
    display: block;
}

.s3duerp-stat-summary strong {
    color: var(--s3duerp-white);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.s3duerp-stat-summary span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 750;
}

.s3duerp-stats-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
    align-items: start;
    gap: 24px;
}

.s3duerp-chart {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--s3duerp-radius);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

.s3duerp-chart {
    display: grid;
    gap: 16px;
    padding: 25px;
}

.s3duerp-stat-row {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(260px, 1.2fr);
    align-items: center;
    gap: 18px;
}

.s3duerp-stat-label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.s3duerp-stat-label > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 900;
}

.s3duerp-stat-label strong {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.78rem;
    line-height: 1.35;
}

.s3duerp-stat-track {
    position: relative;
    height: 30px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

.s3duerp-stat-bar {
    display: flex;
    width: var(--s3duerp-value);
    min-width: 66px;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    padding: 0 10px;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}

.s3duerp-stat-bar span {
    color: var(--s3duerp-white);
    font-size: 0.72rem;
    font-weight: 900;
    white-space: nowrap;
}

.s3duerp-stat-bar--1 { background: linear-gradient(90deg, #2876bd, #4a9ada); }
.s3duerp-stat-bar--2 { background: linear-gradient(90deg, #8d1b3b, #bd3c61); }
.s3duerp-stat-bar--3 { background: linear-gradient(90deg, #12656b, #29a0a6); }
.s3duerp-stat-bar--4 { background: linear-gradient(90deg, #5c4aa7, #8170ca); }


/* Practical */
.s3duerp-practical-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.s3duerp-practical-grid article {
    min-height: 250px;
    padding: 26px;
    border: 1px solid var(--s3duerp-border);
    border-radius: var(--s3duerp-radius);
    background: var(--s3duerp-white);
    box-shadow: var(--s3duerp-shadow-sm);
}

.s3duerp-practical-grid article > span {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 15px;
    color: var(--s3duerp-white);
    background: var(--s3duerp-navy);
}

.s3duerp-practical-grid article:nth-child(even) > span {
    background: var(--s3duerp-burgundy);
}

.s3duerp-practical-grid article > span svg {
    width: 25px;
    height: 25px;
}

.s3duerp-practical-grid h3 {
    margin-top: 24px !important;
    color: var(--s3duerp-navy);
    font-size: 1.18rem;
}

.s3duerp-practical-grid p {
    margin-top: 10px !important;
    color: var(--s3duerp-muted);
    font-size: 0.9rem;
    line-height: 1.68;
}

.s3duerp-quality-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding: 22px 24px;
    border: 1px solid var(--s3duerp-border);
    border-radius: var(--s3duerp-radius);
    background: var(--s3duerp-white);
    box-shadow: var(--s3duerp-shadow-sm);
}

.s3duerp-quality-link > span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    color: var(--s3duerp-white);
    background: linear-gradient(135deg, var(--s3duerp-navy), var(--s3duerp-blue));
}

.s3duerp-quality-link > span svg {
    width: 26px;
    height: 26px;
}

.s3duerp-quality-link strong {
    color: var(--s3duerp-navy);
    font-size: 1.05rem;
}

.s3duerp-quality-link p {
    margin-top: 3px !important;
    color: var(--s3duerp-muted);
    font-size: 0.86rem;
}

.s3duerp-quality-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--s3duerp-burgundy);
    font-size: 0.86rem;
    font-weight: 900;
}

/* CTA */
.s3duerp-cta {
    padding: clamp(72px, 8vw, 104px) 0;
    color: var(--s3duerp-white);
    background: linear-gradient(135deg, var(--s3duerp-navy-deep), var(--s3duerp-navy));
}

.s3duerp-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 58px;
}

.s3duerp-cta .s3duerp-kicker {
    color: #ffbdcc;
}

.s3duerp-cta h2 {
    max-width: 780px;
    color: var(--s3duerp-white);
    font-size: clamp(2.2rem, 4.8vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.s3duerp-cta p:not(.s3duerp-kicker) {
    max-width: 720px;
    margin-top: 18px !important;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
}

.s3duerp-cta__actions {
    display: grid;
    min-width: 270px;
    gap: 10px;
}

.s3duerp-email {
    padding-top: 5px;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.86rem;
    font-weight: 750;
    text-align: center;
}

/* Dialogs */
.s3duerp-dialog:not([open]) {
    display: none;
}

.s3duerp-dialog {
    width: min(1120px, calc(100% - 28px));
    max-width: none;
    max-height: calc(100vh - 28px);
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 24px;
    color: var(--s3duerp-ink);
    background: transparent;
}

.s3duerp-contact-dialog {
    width: min(900px, calc(100% - 28px));
}

.s3duerp-dialog::backdrop {
    background: rgba(4, 9, 30, 0.78);
    backdrop-filter: blur(7px);
}

.s3duerp-dialog[open] {
    animation: s3duerp-dialog-in 0.24s ease-out;
}

.s3duerp-dialog__panel {
    display: flex;
    max-height: calc(100vh - 28px);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    background: var(--s3duerp-white);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.35);
}

.s3duerp-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--s3duerp-border);
    background: var(--s3duerp-white);
}

.s3duerp-dialog__header--dark {
    color: var(--s3duerp-white);
    border-bottom: 0;
    background: linear-gradient(135deg, var(--s3duerp-navy-deep), var(--s3duerp-navy));
}

.s3duerp-dialog__header small {
    display: block;
    margin-bottom: 3px;
    color: var(--s3duerp-burgundy);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.s3duerp-dialog__header--dark small {
    color: #ffbdcc;
}

.s3duerp-dialog__header h2 {
    color: var(--s3duerp-navy);
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    line-height: 1.25;
}

.s3duerp-dialog__header--dark h2 {
    color: var(--s3duerp-white);
}

.s3duerp-dialog__header--dark p {
    margin-top: 6px !important;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
}

.s3duerp-dialog__close {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--s3duerp-border);
    border-radius: 50%;
    color: var(--s3duerp-navy);
    background: var(--s3duerp-white);
    cursor: pointer;
}

.s3duerp-dialog__close--light {
    color: var(--s3duerp-white);
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
}

.s3duerp-dialog__close svg {
    width: 20px;
    height: 20px;
}

.s3duerp-document-viewer {
    display: grid;
    min-height: min(70vh, 720px);
    flex: 1 1 auto;
    place-items: center;
    overflow: auto;
    background: #e9edf3;
}

.s3duerp-document-viewer iframe {
    width: 100%;
    min-height: min(70vh, 720px);
    border: 0;
    background: var(--s3duerp-white);
}

.s3duerp-document-viewer img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 180px);
    object-fit: contain;
}

.s3duerp-dialog__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-top: 1px solid var(--s3duerp-border);
    background: var(--s3duerp-white);
}

.s3duerp-dialog__footer p {
    color: var(--s3duerp-muted);
    font-size: 0.78rem;
}

.s3duerp-contact-form {
    overflow: auto;
    padding: 24px;
}

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

.s3duerp-form-grid label,
.s3duerp-consent {
    display: grid;
    gap: 7px;
}

.s3duerp-form-grid label > span,
.s3duerp-consent span {
    color: var(--s3duerp-navy);
    font-size: 0.82rem;
    font-weight: 850;
}

.s3duerp-form-grid em,
.s3duerp-consent em {
    color: var(--s3duerp-burgundy);
    font-style: normal;
}

.s3duerp-form-grid input,
.s3duerp-form-grid select,
.s3duerp-form-grid textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--s3duerp-border);
    border-radius: 11px;
    color: var(--s3duerp-ink);
    background: var(--s3duerp-white);
}

.s3duerp-form-grid textarea {
    min-height: 122px;
    resize: vertical;
}

.s3duerp-form-grid input:focus,
.s3duerp-form-grid select:focus,
.s3duerp-form-grid textarea:focus {
    border-color: var(--s3duerp-blue);
    outline: none;
    box-shadow: var(--s3duerp-focus);
}

.s3duerp-form-grid__wide {
    grid-column: 1 / -1;
}

.s3duerp-consent {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    margin-top: 18px;
}

.s3duerp-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--s3duerp-burgundy);
}

.s3duerp-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.s3duerp-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--s3duerp-border);
}

.s3duerp-form-footer p {
    color: var(--s3duerp-muted);
    font-size: 0.8rem;
}

.s3duerp-form-footer a {
    color: var(--s3duerp-navy);
    font-weight: 800;
}

.s3duerp-form-status {
    min-height: 24px;
    margin-top: 14px;
    font-size: 0.86rem;
    font-weight: 800;
}

.s3duerp-form-status.is-success {
    color: var(--s3duerp-success);
}

.s3duerp-form-status.is-error {
    color: var(--s3duerp-danger);
}

/* Mobile actions and back to top */
.s3duerp-mobile-actions {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 900;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(9, 16, 51, 0.94);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(14px);
}

.s3duerp-mobile-actions a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--s3duerp-white) !important;
    font-size: 0.82rem;
    font-weight: 850;
}

.s3duerp-mobile-actions a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--s3duerp-burgundy);
}

.s3duerp-back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 850;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--s3duerp-white);
    background: var(--s3duerp-navy);
    box-shadow: var(--s3duerp-shadow);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.s3duerp-back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.s3duerp-back-top:hover {
    background: var(--s3duerp-burgundy);
}

.s3duerp-back-top svg {
    width: 22px;
    height: 22px;
}

/* Progressive enhancement */
.s3duerp.s3duerp--js [data-s3duerp-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.58s ease, transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.s3duerp.s3duerp--js [data-s3duerp-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@keyframes s3duerp-dialog-in {
    from { opacity: 0; transform: translateY(12px) scale(0.985); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
    .s3duerp-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
        gap: 44px;
    }

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

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

    .s3duerp-process li:nth-child(3) {
        border-left: 0;
    }

    .s3duerp-process li:nth-child(n + 3) {
        border-top: 1px solid var(--s3duerp-border);
    }

    .s3duerp-stats-layout {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 860px) {
    .s3duerp-hero {
        padding-top: 54px;
    }

    .s3duerp-hero__grid,
    .s3duerp-section-heading,
    .s3duerp-cta__inner {
        grid-template-columns: 1fr;
    }

    .s3duerp-hero-card {
        width: min(100%, 520px);
        margin-top: 48px;
    }

    .s3duerp-overview__grid {
        grid-template-columns: 1fr;
    }

    .s3duerp-overview-card + .s3duerp-overview-card {
        border-top: 1px solid var(--s3duerp-border);
        border-left: 0;
    }

    .s3duerp-section-heading {
        gap: 18px;
    }

    .s3duerp-stat-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .s3duerp-stat-label strong {
        font-size: 0.84rem;
    }

    .s3duerp-quality-link {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .s3duerp-quality-link a {
        grid-column: 2;
        justify-self: start;
    }

    .s3duerp-cta__actions {
        width: min(100%, 340px);
    }
}

@media (max-width: 680px) {
    .s3duerp-container {
        width: min(100% - 28px, 1180px);
    }

    .s3duerp {
        padding-bottom: 72px;
    }

    .s3duerp-hero {
        padding-bottom: 94px;
    }

    .s3duerp-brand {
        margin-bottom: 34px;
    }

    .s3duerp-brand__logo {
        width: 64px;
        height: 64px;
    }

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

    .s3duerp-actions .s3duerp-button {
        width: 100%;
    }

    .s3duerp-hero-card {
        padding: 22px;
    }

    .s3duerp-hero-card__badges img {
        width: 116px;
        height: 116px;
    }

    .s3duerp-overview {
        margin-top: -36px;
    }

    .s3duerp-overview-card {
        min-height: 116px;
        padding: 19px;
    }

    .s3duerp-section {
        padding: 70px 0;
    }

    .s3duerp-section-heading h2,
    .s3duerp-cta h2 {
        font-size: clamp(2rem, 10vw, 3.1rem);
    }

    .s3duerp-category summary {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 104px;
        padding: 18px;
    }

    .s3duerp-category__icon {
        width: 48px;
        height: 48px;
    }

    .s3duerp-category__count {
        display: none;
    }

    .s3duerp-category__heading em {
        display: none;
    }

    .s3duerp-category__content {
        padding: 0 16px 18px;
    }

    .s3duerp-program-grid,
    .s3duerp-process,
    .s3duerp-practical-grid,
    .s3duerp-stat-summary {
        grid-template-columns: 1fr;
    }

    .s3duerp-program-card__description {
        min-height: 0;
    }

    .s3duerp-process li + li,
    .s3duerp-process li:nth-child(3) {
        border-top: 1px solid var(--s3duerp-border);
        border-left: 0;
    }

    .s3duerp-stat-summary > div + div {
        border-top: 1px solid rgba(255, 255, 255, 0.13);
        border-left: 0;
    }

    .s3duerp-chart {
        padding: 18px;
    }


    .s3duerp-quality-link {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .s3duerp-quality-link a {
        grid-column: 1;
    }

    .s3duerp-dialog__footer,
    .s3duerp-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .s3duerp-form-grid {
        grid-template-columns: 1fr;
    }

    .s3duerp-form-grid__wide {
        grid-column: auto;
    }

    .s3duerp-form-footer .s3duerp-button {
        width: 100%;
    }

    .s3duerp-mobile-actions {
        display: grid;
    }

    .s3duerp-back-top {
        right: 16px;
        bottom: 78px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 420px) {
    .s3duerp-category__icon {
        display: none;
    }

    .s3duerp-category summary {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .s3duerp-program-meta > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .s3duerp *,
    .s3duerp *::before,
    .s3duerp *::after,
    .s3duerp-dialog *,
    .s3duerp-dialog *::before,
    .s3duerp-dialog *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .s3duerp.s3duerp--js [data-s3duerp-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .s3duerp--full-bleed {
        width: 100%;
        margin: 0;
    }

    .s3duerp-hero,
    .s3duerp-section--stats,
    .s3duerp-cta {
        color: #000;
        background: #fff;
    }

    .s3duerp-hero h1,
    .s3duerp-section-heading--light h2,
    .s3duerp-cta h2 {
        color: #11184f;
    }

    .s3duerp-category {
        break-inside: avoid;
    }

    .s3duerp-category:not([open]) > *:not(summary) {
        display: block;
    }

    .s3duerp-button,
    .s3duerp-mobile-actions,
    .s3duerp-back-top,
    .s3duerp-dialog {
        display: none !important;
    }
}


/* Ajustements propres à la page DUERP / EVRP */
.s3duerp-hero-visual {
    position: relative;
    display: grid;
    width: 176px;
    height: 176px;
    place-items: center;
    border: 4px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    color: var(--s3duerp-navy);
    background: linear-gradient(145deg, #ffffff, #eef3fb);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.s3duerp-hero-visual::before,
.s3duerp-hero-visual::after {
    position: absolute;
    content: "";
    border-radius: 50%;
}

.s3duerp-hero-visual::before {
    inset: 13px;
    border: 1px dashed rgba(17, 24, 79, 0.24);
}

.s3duerp-hero-visual::after {
    right: 19px;
    bottom: 19px;
    width: 42px;
    height: 42px;
    border: 5px solid #ffffff;
    background: var(--s3duerp-burgundy);
    box-shadow: 0 8px 18px rgba(154, 29, 63, 0.34);
}

.s3duerp-hero-visual svg {
    width: 92px;
    height: 92px;
    stroke-width: 1.45;
}

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

.s3duerp-program-card__description {
    min-height: 88px;
}

.s3duerp-program-card__result {
    margin-top: 14px !important;
    padding: 11px 13px;
    border: 1px solid rgba(22, 124, 130, 0.24);
    border-radius: 12px;
    color: #155e63;
    background: #edf8f8;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.45;
}

.s3duerp-stats-layout--single {
    grid-template-columns: 1fr;
}


.s3duerp-category__content .s3duerp-program-grid {
    max-width: 960px;
}

@media (max-width: 680px) {
    .s3duerp-hero-visual {
        width: 138px;
        height: 138px;
    }
    .s3duerp-hero-visual svg {
        width: 70px;
        height: 70px;
    }
    .s3duerp-program-grid {
        grid-template-columns: 1fr;
    }
}

.s3duerp--no-hero .s3duerp-overview { margin-top: 0; padding-top: 40px; }
