/* Concours & abonnements — complète shop.css / catalog.css (Roboto, vert du site) */
.cc-hero { background: linear-gradient(135deg, #0b2e1d 0%, #0f7a45 100%) !important; min-height: 0 !important; }
.cc-hero::before { display: none; }
.cc-hero .bq-wrap { padding-top: clamp(2.2rem, 6vw, 3.6rem) !important; padding-bottom: clamp(1.8rem, 5vw, 2.8rem) !important; }

.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cc-card { position: relative; display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 22px; padding: 18px; transition: transform .25s var(--bq-ease), box-shadow .25s; color: inherit; text-decoration: none; }
.cc-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.cc-logo { flex: none; width: 56px; height: 56px; border-radius: 14px; background: #e3f4ea; color: var(--bq-green); display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: .72rem; line-height: 1.1; padding: 4px; overflow-wrap: anywhere; overflow: hidden; }
.cc-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.cc-logo--lg { width: 84px; height: 84px; font-size: 1rem; border-radius: 20px; }
.cc-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.cc-card p { margin: .2rem 0 0; color: var(--bq-muted); font-size: .9rem; line-height: 1.4; }
.cc-card small { display: inline-block; margin-top: .5rem; font-size: .8rem; color: var(--bq-green); font-weight: 500; }
.cc-draft { position: absolute; top: 10px; right: 12px; font-size: .7rem; background: #fff4d6; color: #7a5600; border-radius: 999px; padding: 2px 8px; font-weight: 700; }

.cc-head { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: 26px; padding: clamp(1.1rem, 3vw, 1.8rem); margin: 1.4rem 0; }
.cc-head h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 700; margin: 0; line-height: 1.15; }
.cc-head p { margin: .35rem 0 0; color: var(--bq-muted); }
.cc-crumbs { font-size: .88rem; margin-top: 1.2rem; color: var(--bq-muted); }
.cc-crumbs a { color: var(--bq-green); text-decoration: none; }

.cc-years { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cc-year { background: #fff; border-radius: 20px; padding: 18px; text-decoration: none; color: inherit; display: block; transition: background .2s, transform .2s; }
.cc-year:hover { transform: translateY(-2px); background: #e3f4ea; }
.cc-year b { display: block; font-size: 1.6rem; font-weight: 700; }
.cc-year small { color: var(--bq-muted); }

.cc-papers { display: flex; flex-direction: column; gap: 10px; }
.cc-paper { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; background: #fff; border-radius: 20px; padding: 16px 18px; }
.cc-paper h3 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.cc-paper .meta { margin-top: .25rem; color: var(--bq-muted); font-size: .86rem; display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; font-weight: 500; font-size: .9rem; text-decoration: none; border: 0; cursor: pointer; background: var(--bq-green); color: #fff; font-family: inherit; }
.cc-btn:hover { filter: brightness(.92); color: #fff; }
.cc-btn--ghost { background: #eef1ef; color: var(--bq-ink); }
.cc-btn--ghost:hover { color: var(--bq-ink); }
.cc-btn--lock { background: #f1f1ef; color: var(--bq-muted); }
.cc-na { font-size: .86rem; color: var(--bq-muted); padding: .55rem .4rem; }
.cc-free { background: #e3f4ea; color: var(--bq-green); border-radius: 999px; padding: 1px 8px; font-weight: 700; font-size: .75rem; }

.cc-note { background: #fff; border-radius: 20px; padding: 16px 18px; margin: 1rem 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.cc-note--warn { background: #fff4d6; }
.cc-note--info { background: #e3f4ea; }

/* Formules */
.cc-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 1.4rem; }
.cc-plan { background: #fff; border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 10px; border: 2px solid transparent; }
.cc-plan--hl { border-color: var(--bq-green); }
.cc-plan h2 { margin: 0; font-size: 1.4rem; font-weight: 700; }
.cc-plan .price { font-size: 2rem; font-weight: 700; }
.cc-plan .price small { font-size: .9rem; color: var(--bq-muted); font-weight: 400; }
.cc-plan ul { list-style: none; padding: 0; margin: .3rem 0 1rem; display: flex; flex-direction: column; gap: .4rem; }
.cc-plan li::before { content: '✓'; color: var(--bq-green); font-weight: 700; margin-right: .5rem; }
.cc-plan .cc-actions { margin-top: auto; }

/* Mon espace */
.cc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 1.2rem 0; }
.cc-tab { padding: .55rem 1.1rem; border-radius: 999px; background: #fff; text-decoration: none; color: var(--bq-ink); font-weight: 500; }
.cc-tab.is-on { background: var(--bq-ink); color: #fff; }
.cc-sub { background: #fff; border-radius: 22px; padding: 20px; margin-bottom: 14px; }
.cc-sub__top { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.cc-sub h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.cc-sub dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 14px 0; }
.cc-sub dt { font-size: .78rem; color: var(--bq-muted); text-transform: uppercase; letter-spacing: .05em; }
.cc-sub dd { margin: 0; font-weight: 500; }
.cc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.cc-tag { background: #eef1ef; border-radius: 999px; padding: 3px 10px; font-size: .85rem; text-decoration: none; color: var(--bq-ink); }
.cc-tag--slot { background: transparent; border: 1.5px dashed #c8cdca; color: var(--bq-muted); }

/* Sélection */
.cc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.cc-pick label { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 14px; cursor: pointer; border: 2px solid transparent; }
.cc-pick label:has(input:checked) { border-color: var(--bq-green); }
.cc-pick label.is-off { opacity: .6; cursor: not-allowed; }
.cc-pick input { width: 20px; height: 20px; accent-color: var(--bq-green); flex: none; }
.cc-pick b { display: block; }
.cc-pick small { color: var(--bq-muted); }
.cc-pick .st { margin-left: auto; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 2px 8px; background: #eef1ef; white-space: nowrap; }
.cc-bar { position: sticky; bottom: 12px; margin-top: 16px; background: var(--bq-ink); color: #fff; border-radius: 999px; padding: 10px 10px 10px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 5; }

/* Lecteur */
.cc-reader { background: #2b2f2d; border-radius: 22px; padding: clamp(8px, 2vw, 18px); min-height: 60vh; user-select: none; -webkit-user-select: none; }
.cc-page { position: relative; margin: 0 auto 14px; max-width: 900px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.cc-page canvas, .cc-page img { display: block; width: 100%; height: auto; pointer-events: none; }
.cc-wm { position: absolute; inset: 0; pointer-events: none; overflow: hidden; display: flex; flex-wrap: wrap; align-content: space-around; justify-content: space-around; }
.cc-wm span { transform: rotate(-30deg); color: rgba(15,122,69,.16); font-size: clamp(.8rem, 2vw, 1.15rem); font-weight: 700; white-space: nowrap; padding: 40px 20px; }
.cc-loading { color: #fff; text-align: center; padding: 3rem 1rem; }
@media print { .cc-reader { display: none !important; } }

@media (max-width: 640px) {
  .cc-head { flex-direction: column; align-items: flex-start; }
  .cc-paper { flex-direction: column; align-items: flex-start; }
  .cc-bar { border-radius: 20px; flex-direction: column; align-items: stretch; text-align: center; padding: 12px; }
}
.cc-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ══ Refonte visuelle (cartes avec photo, en-tête, bannière) ══ */
.cx-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 400px at 85% -10%, rgba(127,224,174,.25), transparent 60%), radial-gradient(700px 300px at 0% 110%, rgba(201,168,76,.22), transparent 60%), linear-gradient(135deg, #06261a 0%, #0b4a2d 55%, #0f7a45 100%); }
.cx-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.cx-hero .bq-wrap { position: relative; z-index: 1; padding-top: clamp(2.4rem, 7vw, 4.4rem); padding-bottom: clamp(2rem, 6vw, 3.6rem); }
.cx-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9be8c0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: .35rem .8rem; border-radius: 999px; }
.cx-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; margin: 1rem 0 .7rem; max-width: 760px; }
.cx-hero h1 em { font-style: normal; color: #7fe0ae; }
.cx-hero p.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); opacity: .88; max-width: 620px; margin: 0; line-height: 1.55; }
.cx-search { margin-top: 1.6rem; display: flex; align-items: center; gap: .5rem; background: #fff; border-radius: 999px; padding: .4rem .4rem .4rem 1.2rem; max-width: 640px; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.cx-search i { color: var(--bq-muted); }
.cx-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: .7rem .2rem; background: transparent; color: var(--bq-ink); }
.cx-search button { border: 0; background: var(--bq-green); color: #fff; font: inherit; font-weight: 700; padding: .8rem 1.4rem; border-radius: 999px; cursor: pointer; }
.cx-search button:hover { background: #0b6137; }
.cx-stats { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.4rem; font-size: .95rem; opacity: .9; }
.cx-stats b { font-size: 1.3rem; margin-right: .3rem; color: #fff; }
.cx-chips { margin: 1.6rem 0 .4rem; }

.cx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.cx-card { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--bq-ink); box-shadow: 0 1px 0 rgba(0,0,0,.04); transition: transform .3s var(--bq-ease), box-shadow .3s; }
.cx-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(0,0,0,.10); color: var(--bq-ink); }
.cx-cover { position: relative; aspect-ratio: 16 / 8; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cx-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bq-ease); }
.cx-card:hover .cx-cover img { transform: scale(1.05); }
.cx-cover__txt { position: relative; color: rgba(255,255,255,.22); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: .04em; white-space: nowrap; }
.cx-g0 { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 45%), linear-gradient(135deg, #0b4a2d, #0f7a45); }
.cx-g1 { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 45%), linear-gradient(135deg, #0d3b4f, #1b7f8c); }
.cx-g2 { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.2), transparent 45%), linear-gradient(135deg, #5a2033, #b23a5a); }
.cx-g3 { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.2), transparent 45%), linear-gradient(135deg, #4a3a10, #b08a2c); }
.cx-g4 { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 45%), linear-gradient(135deg, #1e2a5a, #3e5bb5); }
.cx-cat { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.92); color: var(--bq-ink); font-size: .75rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; }
.cx-cat i { color: var(--bq-green); }
.cx-card .cc-draft { top: 12px; right: 12px; }
.cx-body { position: relative; padding: 0 20px 6px; flex: 1; }
.cx-avatar { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-top: -38px; border-radius: 50%; background: #fff; border: 4px solid #fff; box-shadow: 0 8px 22px rgba(0,0,0,.14); overflow: hidden; position: relative; }
.cx-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cx-avatar span { width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(135deg, #e3f4ea, #c7ead6); color: var(--bq-green); font-weight: 700; font-size: .8rem; line-height: 1.05; padding: 6px; overflow-wrap: anywhere; }
.cx-body h3 { margin: .7rem 0 .15rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.cx-body p { margin: 0; color: var(--bq-muted); font-size: .92rem; line-height: 1.45; }
.cx-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 .4rem; }
.cx-meta span { display: inline-flex; align-items: center; gap: .35rem; background: #f3f5f4; border-radius: 999px; padding: .25rem .65rem; font-size: .78rem; color: #3b423e; }
.cx-meta i { color: var(--bq-green); font-size: .75rem; }
.cx-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 18px; color: var(--bq-green); font-weight: 700; font-size: .92rem; }
.cx-foot i { transition: transform .25s; }
.cx-card:hover .cx-foot i { transform: translateX(4px); }

/* Bannière de la page d'un concours */
.cx-banner { position: relative; border-radius: 28px; overflow: hidden; margin: 1.2rem 0 1.4rem; background: #fff; }
.cx-banner .cx-cover { aspect-ratio: auto; height: clamp(150px, 26vw, 260px); }
.cx-banner .cx-cover__txt { font-size: clamp(3rem, 9vw, 6rem); }
.cx-banner__body { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px; padding: 0 clamp(18px, 3vw, 32px) clamp(18px, 3vw, 26px); }
.cx-banner .cx-avatar { width: clamp(96px, 14vw, 132px); height: clamp(96px, 14vw, 132px); margin-top: calc(clamp(96px, 14vw, 132px) / -2); border-width: 5px; }
.cx-banner .cx-avatar span { font-size: clamp(.95rem, 2vw, 1.2rem); }
.cx-banner__txt { flex: 1; min-width: 220px; }
.cx-banner h1 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
.cx-banner p { margin: .35rem 0 0; color: var(--bq-muted); }
.cx-banner .cx-meta { margin: .7rem 0 0; }
.cx-banner__cta { display: flex; gap: 8px; flex-wrap: wrap; }

.cc-year { position: relative; border: 1.5px solid transparent; }
.cc-year:hover { border-color: var(--bq-green); }
.cc-year::after { content: '→'; position: absolute; right: 16px; top: 16px; color: var(--bq-green); font-weight: 700; }
.cc-year .cc-free { display: inline-block; margin-top: .5rem; }

.cx-account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1.5px solid #cfe9da; border-radius: 22px; padding: 16px 20px; margin-top: 1.4rem; }
.cx-account b { display: block; font-size: 1.05rem; }
.cx-account small { color: var(--bq-muted); }
@media (max-width: 640px) {
  .cx-search { padding-left: .9rem; }
  .cx-search button { padding: .75rem 1rem; }
  .cx-banner__body { flex-direction: column; align-items: flex-start; }
}
.cx-card .cx-cover__txt { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 88%; overflow: hidden; text-overflow: ellipsis; }
.cx-banner__txt { padding-top: 14px; }
.cx-demo { position: absolute; top: 12px; right: 12px; background: #ffd23f; color: #3a2a00; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .7rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.cx-credit { position: absolute; right: 12px; bottom: 10px; max-width: 70%; font-size: .68rem; color: rgba(255,255,255,.85); text-decoration: none; background: rgba(0,0,0,.35); padding: .15rem .5rem; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-card .cx-cover::before, .cx-banner .cx-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,0) 40%, rgba(0,0,0,.18)); z-index: 1; pointer-events: none; }
.cx-cat, .cx-demo, .cx-credit, .cc-draft { z-index: 2; }
.cx-demo { position: absolute; top: 12px; right: 12px; background: #ffd23f; color: #3a2a00; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .7rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.cx-credit { position: absolute; right: 12px; bottom: 10px; max-width: 70%; font-size: .68rem; color: rgba(255,255,255,.85); text-decoration: none; background: rgba(0,0,0,.35); padding: .15rem .5rem; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-card .cx-cover::before, .cx-banner .cx-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,0) 40%, rgba(0,0,0,.18)); z-index: 1; pointer-events: none; }
.cx-cat, .cx-demo, .cx-credit, .cc-draft { z-index: 2; }

/* ══ Cartes des sessions (années) ══ */
.sx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-bottom: 2.4rem; }
.sx-card { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; transition: transform .3s var(--bq-ease), box-shadow .3s; }
.sx-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.09); }
.sx-head { position: relative; display: flex; align-items: flex-end; height: 112px; padding: 14px 18px; overflow: hidden; color: #fff; text-decoration: none; }
.sx-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.sx-head::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,38,26,.15), rgba(6,38,26,.82)); }
.sx-title { position: relative; z-index: 1; font-size: 2.1rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #fff; }
.sx-title small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 4px; }
.sx-new { position: absolute; z-index: 1; left: 14px; top: 12px; background: #7fe0ae; color: #06261a; font-size: .7rem; font-weight: 800; padding: .22rem .6rem; border-radius: 999px; }
.sx-head .cx-demo { top: 12px; right: 12px; }
.sx-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.sx-body h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.sx-stats { display: flex; flex-wrap: wrap; gap: 6px; }
.sx-stats span { display: inline-flex; align-items: center; gap: .35rem; background: #f3f5f4; border-radius: 999px; padding: .25rem .65rem; font-size: .8rem; color: #3b423e; }
.sx-stats i { color: var(--bq-green); font-size: .75rem; }
.sx-stats .is-free { background: #e3f4ea; color: #0b6137; font-weight: 700; }
.sx-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.sx-tags span { font-size: .74rem; border: 1px solid #dfe5e1; border-radius: 6px; padding: .1rem .45rem; color: #5b625e; }
.sx-none { margin: 0; color: var(--bq-muted); font-size: .9rem; }
.sx-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1rem; border-radius: 14px; background: var(--bq-green); color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; transition: background .2s; }
.sx-btn:hover { background: #0b6137; color: #fff; }
.sx-btn i { transition: transform .2s; }
.sx-card:hover .sx-btn i { transform: translateX(3px); }

/* ══ Page d'une année : liste des épreuves ══ */
.px-list { display: flex; flex-direction: column; gap: 12px; }
.px-item { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 22px; padding: 16px 18px; }
.px-num { flex: none; width: 48px; height: 48px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: #e3f4ea; color: var(--bq-green); font-size: 1.1rem; }
.px-item.is-locked .px-num { background: #f1f1ef; color: #8a8f8c; }
.px-main { flex: 1; min-width: 0; }
.px-main h3 { margin: 0; font-size: 1.05rem; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.px-facts { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: .35rem; color: var(--bq-muted); font-size: .85rem; }
.px-facts i { color: var(--bq-green); margin-right: .25rem; }
.px-acts { flex: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.px-acts .cc-btn { border-radius: 12px; }
.px-lockpill { font-size: .72rem; font-weight: 700; background: #f1f1ef; color: #6e7571; border-radius: 999px; padding: .1rem .55rem; }
@media (max-width: 640px) {
  .px-item { flex-wrap: wrap; }
  .px-acts { width: 100%; justify-content: flex-start; padding-left: 64px; }
}

/* ══ En-tête /concours/ avec photo ══ */
.cx-hero--photo { background:
    linear-gradient(90deg, #06261a 0%, rgba(6,38,26,.97) 34%, rgba(8,60,36,.72) 58%, rgba(8,60,36,.18) 100%),
    var(--hero) right 30% / cover no-repeat, #06261a; }
.cx-hero--photo::after { background-image: none; }
.cx-hero--photo .bq-wrap { padding-top: clamp(2rem, 5vw, 3.2rem); padding-bottom: clamp(1.8rem, 4.5vw, 2.8rem); }
.cx-hero--photo h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 640px; }
.cx-hero--photo .cx-search { max-width: 600px; }
.cx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 1.3rem; max-width: 680px; }
.cx-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-pills span { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); border-radius: 999px; padding: .4rem .85rem; font-size: .88rem; color: rgba(255,255,255,.9); white-space: nowrap; }
.cx-pills i { color: #7fe0ae; font-size: .8rem; }
.cx-pills b { color: #fff; font-size: 1rem; }
.cx-sub { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border-radius: 999px; background: #ffd23f; color: #3a2a00; font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.cx-sub:hover { background: #ffdf6b; color: #3a2a00; }
.cx-hero-credit { position: absolute; right: 12px; bottom: 8px; z-index: 2; font-size: .66rem; color: rgba(255,255,255,.7); text-decoration: none; background: rgba(0,0,0,.3); padding: .1rem .45rem; border-radius: 5px; }
@media (max-width: 760px) {
  .cx-hero--photo { background: linear-gradient(180deg, rgba(6,38,26,.82) 0%, rgba(6,38,26,.9) 55%, #06261a 100%), var(--hero-sm) center 30% / cover no-repeat, #06261a; }
  .cx-pills span { padding: .35rem .7rem; font-size: .82rem; }
}

/* ══ Liste des concours : cartes au gabarit des formations (nov. 2026) ══ */
.cx-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cx-list .bq-card__desc { -webkit-line-clamp: 2; }
.cx-list .bq-tag--incl { background: var(--bq-green, #0f7a45); color: #fff; }
.cx-list .bq-card__price .cx-incl { font-size: 1rem; color: var(--bq-green, #0f7a45); }
@media (max-width: 1200px) { .cx-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cx-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cx-list { grid-template-columns: 1fr; } }
.cx-list .bq-tag--demo { background: #1b1f1d; color: #fff; }

/* ══ En-tête /concours/ v2 : photo Unsplash (Ben White) sous un voile bleu nuit, accent or (nov. 2026) ══ */
.cx-hero--photo { background:
    linear-gradient(90deg, #0B1F3A 0%, rgba(11,31,58,.96) 34%, rgba(18,62,107,.70) 60%, rgba(18,62,107,.15) 100%),
    var(--hero) right 35% / cover no-repeat, #0B1F3A; }
.cx-hero--photo h1 em { color: #F2B705; }
@media (max-width: 760px) {
  .cx-hero--photo { background: linear-gradient(180deg, rgba(11,31,58,.80) 0%, rgba(11,31,58,.90) 55%, #123E6B 100%), var(--hero-sm) center 25% / cover no-repeat, #0B1F3A; }
}
