/* Pages « OPCO par convention collective » (inc/opco-conventions.php). Préfixe occ-.
   Le bandeau reprend les classes opx- de outils-publics.css. */

.occ { background: #faf8f5; color: #0c1222; }
.occ *, .occ *::before, .occ *::after { box-sizing: border-box; }
.occ a { color: inherit; }
.occ-hero .opx-lead strong { color: #fff; }
.occ-hero .opx-title { max-width: 920px; font-size: clamp(28px, 3.8vw, 46px); }

/* Réponse : IDCC → OPCO, dans le bandeau */
.occ-verdict { display: flex; align-items: stretch; gap: 14px; margin: 30px auto 0; max-width: 860px; text-align: left; }
.occ-verdict__id { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 150px; padding: 18px; border-radius: 24px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.occ-verdict__id span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.occ-verdict__id b { font-size: 44px; line-height: 1.05; font-weight: 900; letter-spacing: -.03em; }
.occ-verdict__arrow { display: flex; align-items: center; font-size: 28px; font-weight: 900; color: #fff; }
.occ-verdict--solo { justify-content: center; }
.occ-opco { flex: 1; min-width: 0; padding: 22px 24px; border-radius: 24px; background: #fff; color: #0c1222; box-shadow: 0 40px 90px -40px rgba(12, 18, 34, .6); }
.occ-opco__label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #e3672d; }
.occ-opco__name { margin: 2px 0 4px; font-size: 30px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.occ-opco__sect { margin: 0; font-size: 14.5px; line-height: 1.5; color: #3d4a63; }
.occ-opco__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.occ-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: linear-gradient(135deg, #ff8a4c, #e3672d); color: #fff !important; font-weight: 800; font-size: 14.5px; text-decoration: none; }
.occ-btn:hover { filter: brightness(1.05); }
.occ-btn--ghost { background: #f6f4f0; color: #0c1222 !important; border: 1px solid rgba(12, 18, 34, .12); }
.occ-btn:focus-visible, .occ a:focus-visible { outline: 3px solid rgba(227, 103, 45, .45); outline-offset: 2px; }

/* Contenu */
.occ-shell { max-width: 1080px; margin: 0 auto; padding: 40px 24px 64px; }
.occ-section { margin: 0 0 40px; }
.occ-h2 { margin: 0 0 14px; font-size: clamp(21px, 2.3vw, 27px); font-weight: 900; letter-spacing: -.02em; line-height: 1.2; color: #0c1222; }
.occ-h2 a { text-decoration: none; }
.occ-h2 a:hover { color: #c2410c; }
.occ-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin: 0 0 40px; }
.occ-card { background: #fff; border: 1px solid rgba(12, 18, 34, .09); border-radius: 22px; padding: 24px 26px; box-shadow: 0 24px 50px -40px rgba(12, 18, 34, .45); }
.occ-card p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.6; color: #3d4a63; }
.occ-card--cta { background: #fff3ec; border-color: rgba(227, 103, 45, .25); }
.occ-checks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.occ-checks li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; color: #3d4a63; }
.occ-checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e6f6f0; color: #0f6b4f; font-size: 11px; font-weight: 900; }
.occ-checks strong { color: #0c1222; }
.occ-note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: #64708b; }
.occ-note a, .occ-card p a:not(.occ-btn), .occ-sources a, .occ-group__head a { color: #c2410c; font-weight: 700; }
.occ-dl { margin: 0; display: grid; gap: 12px; }
.occ-dl dt { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #64708b; }
.occ-dl dd { margin: 2px 0 0; font-size: 15.5px; line-height: 1.5; color: #0c1222; }
.occ-dl dd a { color: #c2410c; font-weight: 800; }

.occ-steps { list-style: none; counter-reset: occ; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.occ-steps li { counter-increment: occ; position: relative; padding: 20px 20px 18px; background: #fff; border: 1px solid rgba(12, 18, 34, .09); border-radius: 18px; }
.occ-steps li::before { content: counter(occ); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 10px; background: #0c1222; color: #fff; font-weight: 900; font-size: 14px; }
.occ-steps strong { display: block; font-size: 16px; margin-bottom: 4px; }
.occ-steps span { display: block; font-size: 14.5px; line-height: 1.55; color: #3d4a63; }

.occ-tool { margin: 0 0 40px; }
.occ-tool .op { margin-top: 0; padding: 0; }
.occ-tool .op__card { max-width: none; }

/* Listes de conventions */
.occ-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.occ-list--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.occ-list a { display: flex; align-items: flex-start; gap: 10px; height: 100%; padding: 11px 13px; background: #fff; border: 1px solid rgba(12, 18, 34, .09); border-radius: 14px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.occ-list a:hover { border-color: #e3672d; box-shadow: 0 10px 24px -18px rgba(12, 18, 34, .45); }
.occ-code { flex: 0 0 auto; padding: 3px 8px; border-radius: 8px; background: #fff3ec; color: #c2410c; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.occ-name { font-size: 14.5px; font-weight: 700; line-height: 1.4; color: #0c1222; }
.occ-more { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; font-size: 14.5px; }
.occ-more a { color: #c2410c; font-weight: 800; }

.occ-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.occ-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(12, 18, 34, .12); font-weight: 800; font-size: 14px; text-decoration: none; }
.occ-chips a:hover { border-color: #e3672d; color: #c2410c; }
.occ-chips small { padding: 1px 7px; border-radius: 999px; background: #f6f4f0; color: #64708b; font-size: 12px; font-weight: 800; }

.occ-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.occ-links a { display: inline-flex; gap: 6px; padding: 10px 16px; border-radius: 14px; background: #fff; border: 1px solid rgba(12, 18, 34, .1); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.occ-links a:hover { border-color: #e3672d; color: #c2410c; }

.occ-faq { display: grid; gap: 10px; }
.occ-faq details { background: #fff; border: 1px solid rgba(12, 18, 34, .09); border-radius: 16px; padding: 0 20px; }
.occ-faq summary { cursor: pointer; padding: 16px 0; font-weight: 800; font-size: 16px; list-style: none; }
.occ-faq summary::-webkit-details-marker { display: none; }
.occ-faq summary::after { content: "+"; float: right; color: #e3672d; font-weight: 900; }
.occ-faq details[open] summary::after { content: "–"; }
.occ-faq p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: #3d4a63; }

.occ-sources { margin: 0; font-size: 13px; line-height: 1.6; color: #64708b; }

/* Hub : recherche dans le bandeau */
.occ-search { max-width: 760px; margin: 28px auto 0; padding: 20px 22px; border-radius: 26px; background: #fff; color: #0c1222; text-align: left; box-shadow: 0 40px 90px -40px rgba(12, 18, 34, .6); }
.occ-search__label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 800; }
.occ-search__row { position: relative; }
.occ-search__ico { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: #94a3b8; stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.occ-search__input { width: 100%; min-height: 58px; padding: 0 16px 0 48px; border: 1.5px solid rgba(12, 18, 34, .14); border-radius: 18px; font: inherit; font-size: 17px; color: #0c1222; background: #fff; }
.occ-search__input:focus { outline: none; border-color: #e3672d; box-shadow: 0 0 0 3px rgba(227, 103, 45, .2); }
.occ-search__count { margin: 10px 0 0; font-size: 13.5px; font-weight: 700; color: #64708b; }
.occ-search__empty { margin: 8px 0 0; font-size: 14px; color: #3d4a63; }
.occ-search__empty a { color: #c2410c; font-weight: 800; }
.occ-jump { position: sticky; top: 72px; z-index: 5; margin: -8px 0 32px; padding: 10px 0; background: rgba(250, 248, 245, .94); backdrop-filter: blur(6px); }
.occ-group { scroll-margin-top: 140px; }
.occ-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 12px; }
.occ-group__head .occ-h2 { margin: 0; }
.occ-group__head p { margin: 0; font-size: 14px; color: #64708b; }
.occ [hidden] { display: none !important; }

@media (max-width: 900px) {
    .occ-grid { grid-template-columns: 1fr; }
    .occ-list--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .occ-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .occ-hero .opx-lead { display: block; -webkit-line-clamp: unset; overflow: visible; }
    .occ-hero .opx-crumb ol { flex-wrap: wrap; row-gap: 4px; }
    .occ-hero .opx-crumb li { white-space: nowrap; }
    .occ-shell { padding: 28px 16px 48px; }
    .occ-verdict { flex-direction: column; gap: 10px; }
    .occ-verdict__id { flex-direction: row; gap: 10px; min-width: 0; padding: 12px 16px; }
    .occ-verdict__id b { font-size: 30px; }
    .occ-verdict__arrow { display: none; }
    .occ-opco { padding: 18px; }
    .occ-opco__name { font-size: 24px; }
    .occ-opco__actions .occ-btn { width: 100%; justify-content: center; }
    .occ-list, .occ-list--all { grid-template-columns: 1fr; }
    .occ-card { padding: 20px 18px; }
    .occ-search { padding: 16px; border-radius: 22px; }
    .occ-jump { position: static; }
}
