/* =====================================================================
   SOHEJA — Thème moderne 2026
   Chargé APRÈS main.css : il redéfinit l'apparence de tout le site public
   sans toucher au HTML des pages ni à leurs fonctionnalités.
   ===================================================================== */

:root {
    --sj-ink: #0e0c14;
    --sj-ink-2: #17131f;
    --sj-ink-3: #231d2e;
    --sj-red: #e3262a;
    --sj-red-2: #ff4b4f;
    --sj-red-dark: #b8161b;
    --sj-gold: #f5b83a;
    --sj-violet: #8a2be2;
    --sj-cream: #fff8f2;
    --sj-paper: #ffffff;
    --sj-mist: #f6f3f8;
    --sj-line: #ebe6ef;
    --sj-text: #1d1a24;
    --sj-muted: #6d6678;
    --sj-on-dark: #f4f1f7;
    --sj-on-dark-muted: #b9b1c6;
    --sj-success: #17a673;
    --sj-warning: #d98a00;
    --sj-danger: #d6262b;
    --sj-info: #2d7ff9;
    --sj-grad: linear-gradient(120deg, #e3262a 0%, #c41e6b 52%, #8a2be2 100%);
    --sj-grad-gold: linear-gradient(120deg, #f5b83a 0%, #ff7a3d 100%);
    --sj-radius: 16px;
    --sj-radius-sm: 10px;
    --sj-shadow: 0 10px 30px rgba(20, 10, 40, .08);
    --sj-shadow-lg: 0 24px 60px rgba(20, 10, 40, .16);
    --sj-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --sj-font-head: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --sj-header-h: 76px;
}

/* ---------------------------------------------------------------------
   1. Base
   --------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
    font-family: var(--sj-font) !important;
    font-size: 16px;
    line-height: 1.65;
    color: var(--sj-text);
    background: var(--sj-paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6,
.special-heading, .sec-title h2 {
    font-family: var(--sj-font-head) !important;
    letter-spacing: -0.01em;
    color: inherit;
}
.ls h1, .ls h2, .ls h3, .ls h4, .ls h5, .ls h6 { color: var(--sj-text); }
a { color: var(--sj-red); transition: color .2s ease; }
a:hover { color: var(--sj-red-dark); }
::selection { background: var(--sj-red); color: #fff; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid rgba(227, 38, 42, .45); outline-offset: 2px; }

/* Couleurs « thème » héritées du modèle */
.color-main, .color-main2, .required, .required-star, .required-mark, .text-main { color: var(--sj-red) !important; }
.bg-maincolor, .bg-maincolor2, .my_bg { background: var(--sj-grad) !important; }
.gradient-background { background: var(--sj-grad) !important; }

/* ---------------------------------------------------------------------
   2. Compatibilité Bootstrap 5 (classes utilisées dans les pages,
      absentes du Bootstrap 4 du thème)
   --------------------------------------------------------------------- */
.me-1 { margin-right: .25rem !important; } .me-2 { margin-right: .5rem !important; } .me-3 { margin-right: 1rem !important; }
.ms-1 { margin-left: .25rem !important; } .ms-2 { margin-left: .5rem !important; } .ms-3 { margin-left: 1rem !important; } .ms-auto { margin-left: auto !important; }
.pe-2 { padding-right: .5rem !important; } .ps-2 { padding-left: .5rem !important; } .pe-3 { padding-right: 1rem !important; } .ps-3 { padding-left: 1rem !important; }
.gap-1 { gap: .25rem !important; } .gap-2 { gap: .5rem !important; } .gap-3 { gap: 1rem !important; } .gap-4 { gap: 1.5rem !important; }
.fw-bold { font-weight: 700 !important; } .fw-semibold, .fw-600 { font-weight: 600 !important; } .fw-500 { font-weight: 500 !important; } .fw-normal { font-weight: 400 !important; }
.text-end { text-align: right !important; } .text-start { text-align: left !important; }
.float-end { float: right !important; } .float-start { float: left !important; }
.fs-1 { font-size: 2.5rem !important; } .fs-2 { font-size: 2rem !important; } .fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; } .fs-5 { font-size: 1.25rem !important; } .fs-6 { font-size: 1rem !important; }
.rounded-3 { border-radius: var(--sj-radius-sm) !important; } .rounded-4 { border-radius: var(--sj-radius) !important; } .rounded-pill { border-radius: 999px !important; }
.top-50 { top: 50% !important; } .start-50 { left: 50% !important; } .translate-middle { transform: translate(-50%, -50%) !important; }
.form-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--sj-text); }
.form-select {
    display: block; width: 100%; padding: .7rem 2.4rem .7rem .95rem; font-size: 1rem; line-height: 1.5;
    color: var(--sj-text); background-color: #fff; border: 1.5px solid var(--sj-line); border-radius: var(--sj-radius-sm);
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236d6678' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right .85rem center; background-size: 14px 10px;
}
.form-select-sm, .form-control-sm { padding-top: .4rem !important; padding-bottom: .4rem !important; font-size: .88rem !important; min-height: 0 !important; }
.btn-close { background: transparent; border: 0; font-size: 1.4rem; line-height: 1; opacity: .6; cursor: pointer; }
.btn-close::before { content: "×"; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------------
   3. Barre supérieure & en-tête
   --------------------------------------------------------------------- */
.sj-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.sj-topbar { background: var(--sj-ink); color: var(--sj-on-dark-muted); font-size: 13.5px; }
.sj-topbar .sj-container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.sj-topbar ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.sj-topbar a { color: var(--sj-on-dark-muted); text-decoration: none; }
.sj-topbar a:hover { color: #fff; }
.sj-topbar i { color: var(--sj-gold); margin-right: 6px; }
.sj-topbar .widget_social_buttons, .sj-topbar .social-icons { display: flex; gap: 6px; margin: 0; }
.sj-topbar .widget_social_buttons a, .sj-topbar .social-icons a {
    width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, .15) !important; color: var(--sj-on-dark-muted) !important; margin: 0 !important; font-size: 12px;
}
.sj-topbar .widget_social_buttons a:hover, .sj-topbar .social-icons a:hover { background: var(--sj-red) !important; border-color: var(--sj-red) !important; color: #fff !important; }

.sj-header {
    position: sticky; top: 0; z-index: 1030; height: var(--sj-header-h);
    background: rgba(14, 12, 20, .86);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: box-shadow .25s ease, background .25s ease;
}
.sj-header.is-scrolled { background: rgba(14, 12, 20, .97); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.sj-header-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.sj-brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; flex-shrink: 0; }
.sj-brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; object-fit: contain; padding: 2px; box-shadow: 0 0 0 3px rgba(227, 38, 42, .35); }
.sj-brand-text { line-height: 1.05; color: #fff; font-family: var(--sj-font-head); }
.sj-brand-text small { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sj-on-dark-muted); font-weight: 500; }
.sj-brand-text strong { font-size: 24px; letter-spacing: .06em; font-weight: 800; color: #fff !important; }
.sj-brand-text strong span { color: var(--sj-red-2); }

.sj-nav { margin-left: auto; }
.sj-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sj-menu > li { position: relative; }
.sj-menu > li > a, .sj-menu > li > button {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 10px;
    color: #ece7f3; font-weight: 600; font-size: 15px; text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.sj-menu > li > a:hover, .sj-menu > li > button:hover, .sj-menu > li.open > button { color: #fff; background: rgba(255, 255, 255, .08); }
.sj-menu > li.active > a, .sj-menu > li.active > button { color: #fff; }
.sj-menu > li.active > a::after, .sj-menu > li.active > button::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--sj-grad);
}
.sj-menu .sj-caret { font-size: 10px; opacity: .7; transition: transform .2s; }
.sj-menu > li.open .sj-caret { transform: rotate(180deg); }

.sj-dropdown {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; padding: 10px;
    background: #fff; border-radius: 14px; box-shadow: var(--sj-shadow-lg); border: 1px solid var(--sj-line);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; z-index: 20;
}
.sj-dropdown.sj-mega { left: 50%; transform: translate(-50%, 8px); width: min(920px, 94vw); padding: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sj-menu > li.open > .sj-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.sj-menu > li.open > .sj-dropdown.sj-mega { transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1200px) {
    .sj-menu > li:hover > .sj-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
    .sj-menu > li:hover > .sj-dropdown.sj-mega { transform: translate(-50%, 0); }
}
.sj-dropdown a {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--sj-text);
    font-size: 14.5px; font-weight: 500; text-decoration: none;
}
.sj-dropdown a i { width: 18px; text-align: center; color: var(--sj-red); }
.sj-dropdown a:hover, .sj-dropdown a.active { background: var(--sj-mist); color: var(--sj-red); }
.sj-mega h6 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--sj-muted); margin: 0 0 6px 12px; font-family: var(--sj-font) !important; font-weight: 700; }
.sj-mega .sj-mega-all { grid-column: 1 / -1; border-top: 1px solid var(--sj-line); padding-top: 12px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.sj-mega .sj-mega-all p { margin: 0; color: var(--sj-muted); font-size: 14px; }

/* Sous-menu « Le festival » sur deux colonnes (ordinateur), centré sous son bouton */
.sj-dd-col h6 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--sj-muted); margin: 4px 0 6px 12px; font-family: var(--sj-font) !important; font-weight: 700; }
@media (min-width: 1200px) {
    .sj-dropdown.sj-dropdown-2col {
        left: 50%; transform: translate(-50%, 8px); width: min(600px, 94vw); padding: 16px;
        display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px;
    }
    .sj-dropdown-2col .sj-dd-col + .sj-dd-col { border-left: 1px solid var(--sj-line); padding-left: 14px; }
    .sj-menu > li.open > .sj-dropdown.sj-dropdown-2col { transform: translate(-50%, 0); }
}
@media (hover: hover) and (min-width: 1200px) {
    .sj-menu > li:hover > .sj-dropdown.sj-dropdown-2col { transform: translate(-50%, 0); }
}
@media (max-width: 1199.98px) {
    .sj-dd-col h6 { color: var(--sj-gold); margin-top: 8px; }
}

.sj-header-cta { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.sj-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #fff; position: relative; cursor: pointer; }
.sj-burger span, .sj-burger span::before, .sj-burger span::after {
    content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s;
}
.sj-burger span { top: 21px; } .sj-burger span::before { top: -7px; left: 0; right: 0; } .sj-burger span::after { top: 7px; left: 0; right: 0; }
.sj-burger[aria-expanded="true"] span { background: transparent; }
.sj-burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.sj-burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1199.98px) {
    .sj-burger { display: inline-block; }
    .sj-header-cta .sj-btn-ghost { display: none; }
    .sj-nav {
        position: fixed; top: var(--sj-header-h); right: 0; bottom: 0; width: min(380px, 100vw);
        background: var(--sj-ink); padding: 18px 16px 40px; overflow-y: auto; margin: 0;
        transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; box-shadow: -20px 0 40px rgba(0, 0, 0, .3);
    }
    .sj-nav.open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
    .sj-menu { flex-direction: column; align-items: stretch; gap: 2px; }
    .sj-menu > li > a, .sj-menu > li > button { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: 16px; }
    .sj-menu > li.active > a::after, .sj-menu > li.active > button::after { display: none; }
    .sj-menu > li.active > a, .sj-menu > li.active > button { background: rgba(227, 38, 42, .16); }
    .sj-dropdown, .sj-dropdown.sj-mega {
        position: static; opacity: 1; visibility: visible; transform: none !important; width: auto; min-width: 0;
        display: none; background: rgba(255, 255, 255, .04); border: 0; box-shadow: none; padding: 6px 4px 10px; margin: 2px 0 8px;
        grid-template-columns: 1fr; gap: 6px;
    }
    .sj-menu > li.open > .sj-dropdown { display: block; }
    .sj-menu > li.open > .sj-dropdown.sj-mega { display: grid; }
    .sj-dropdown a { color: #e5dff0; }
    .sj-dropdown a:hover, .sj-dropdown a.active { background: rgba(255, 255, 255, .08); color: #fff; }
    .sj-mega h6 { color: var(--sj-gold); margin-top: 6px; }
    .sj-mega .sj-mega-all { border-color: rgba(255, 255, 255, .1); }
    .sj-mega .sj-mega-all p { color: var(--sj-on-dark-muted); }
    .sj-nav-backdrop { position: fixed; inset: var(--sj-header-h) 0 0 0; background: rgba(0, 0, 0, .5); z-index: 1029; }
}
@media (max-width: 575.98px) {
    :root { --sj-header-h: 66px; }
    .sj-brand img { width: 44px; height: 44px; }
    .sj-brand-text strong { font-size: 17px; }
    .sj-header-cta .sj-btn-primary { padding: 10px 14px; font-size: 14px; }
    .sj-topbar { display: none; }
}
body.sj-nav-open { overflow: hidden; }

/* ---------------------------------------------------------------------
   4. Boutons
   --------------------------------------------------------------------- */
.sj-btn, .btn-maincolor, .btn-gradient, .theme-btn.btn-maincolor, .btn.btn-big {
    font-family: var(--sj-font-head);
}
.sj-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
    font-weight: 700; font-size: 15px; text-decoration: none !important; border: 1.5px solid transparent; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
    line-height: 1.2; white-space: nowrap;
}
.sj-btn:hover { transform: translateY(-1px); }
.sj-btn-primary { background: var(--sj-grad); color: #fff !important; box-shadow: 0 8px 22px rgba(227, 38, 42, .35); }
.sj-btn-primary:hover { box-shadow: 0 12px 28px rgba(227, 38, 42, .45); color: #fff !important; }
.sj-btn-gold { background: var(--sj-grad-gold); color: #1a1006 !important; box-shadow: 0 8px 22px rgba(245, 184, 58, .35); }
.sj-btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); }
.sj-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }
.sj-btn-outline { color: var(--sj-red) !important; border-color: var(--sj-red); background: transparent; }
.sj-btn-outline:hover { background: var(--sj-red); color: #fff !important; }
.sj-btn-lg { padding: 15px 28px; font-size: 16.5px; }

/* Boutons du modèle d'origine, harmonisés */
.btn { border-radius: 999px; font-weight: 700; letter-spacing: .01em; transition: all .2s ease; }
.btn-maincolor, .btn-gradient, .btn-maincolor2 {
    background: var(--sj-grad) !important; color: #fff !important; border: 0 !important;
    box-shadow: 0 8px 22px rgba(227, 38, 42, .28); padding: 13px 26px;
}
.btn-maincolor:hover, .btn-gradient:hover { box-shadow: 0 12px 30px rgba(227, 38, 42, .4); transform: translateY(-1px); color: #fff !important; }
.btn-gradient span, .btn-outline-gradient span { position: relative; z-index: 1; }
.btn-gradient::before, .btn-gradient::after, .btn-outline-gradient::before, .btn-outline-gradient::after { display: none !important; }
.btn-maincolor:disabled, .btn-maincolor[disabled] { opacity: .55; box-shadow: none; transform: none; cursor: not-allowed; }
.btn-outline-gradient { border: 1.5px solid rgba(255, 255, 255, .35) !important; color: #fff !important; background: transparent !important; }
.btn-outline-light, .btn-outline-darkgrey { border-radius: 999px; }
.theme-btn { border-radius: 999px !important; min-height: 52px; font-size: 16px; }
.btn-outline-primary { color: var(--sj-red); border-color: var(--sj-red); }
.btn-outline-primary:hover { background: var(--sj-red); border-color: var(--sj-red); color: #fff; }

/* ---------------------------------------------------------------------
   5. Bandeau-titre des pages internes
   --------------------------------------------------------------------- */
.page_title {
    position: relative; overflow: hidden;
    background: radial-gradient(1200px 400px at 85% -10%, rgba(138, 43, 226, .55), transparent 60%),
                radial-gradient(900px 380px at 0% 120%, rgba(227, 38, 42, .55), transparent 60%),
                url("../img/bg/slide01.jpg") center/cover no-repeat, var(--sj-ink) !important;
    padding: 96px 0 64px !important; color: #fff;
}
.page_title::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 12, 20, .55), rgba(14, 12, 20, .88)); }
.page_title .container { position: relative; z-index: 1; }
.page_title h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; color: #fff !important; margin: 0 0 12px; text-transform: none; }
.page_title .divider-30 { display: none; }
.page_title .breadcrumb { background: rgba(255, 255, 255, .08); display: inline-flex; padding: 7px 16px; border-radius: 999px; margin: 0; font-size: 14px; }
.page_title .breadcrumb a { color: #e9e3f2 !important; }
.page_title .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .5); }
.page_title .breadcrumb .color-main, .page_title .breadcrumb-item.active span { color: var(--sj-gold) !important; }

/* ---------------------------------------------------------------------
   6. Sections
   --------------------------------------------------------------------- */
.ls { background-color: var(--sj-paper) !important; }
.ls.ms, .ms { background-color: var(--sj-mist) !important; }
.ds { background-color: var(--sj-ink) !important; color: var(--sj-on-dark); }
.ds h1, .ds h2, .ds h3, .ds h4, .ds h5, .ds h6 { color: #fff; }
.special-heading.subheading, p.subheading {
    display: inline-block; font-family: var(--sj-font) !important; font-size: 13px !important; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: var(--sj-red) !important; margin-bottom: 8px;
}
h4.special-heading { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.12; }
.sec-title h2, .sec-title .fs-30 { font-size: clamp(1.6rem, 3vw, 2.2rem) !important; font-weight: 800; color: var(--sj-text); }
.sec-title p.text-muted { font-size: 1rem !important; }

/* ---------------------------------------------------------------------
   7. Cartes & formulaires
   --------------------------------------------------------------------- */
.card { border: 1px solid var(--sj-line) !important; border-radius: var(--sj-radius) !important; box-shadow: var(--sj-shadow) !important; overflow: hidden; background: #fff; }
.card-header { border-bottom: 0 !important; padding: 16px 22px !important; }
.card-header.my_bg, .card-header.bg-primary { background: var(--sj-grad) !important; }
.card-header h5, .card-header.my_bg h5 { color: #fff !important; font-size: 1.08rem; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 8px; }
.card-header h5 i, .card-header.my_bg h5 i { color: #fff !important; margin-right: 0 !important; }
.card-body { padding: 22px !important; }

.form-control, .form-select, select.form-control, textarea.form-control,
input[type="text"].form-control, input[type="email"].form-control, input[type="tel"].form-control, input[type="date"].form-control, input[type="url"].form-control {
    border: 1.5px solid var(--sj-line) !important; border-radius: var(--sj-radius-sm) !important; background-color: #fff !important;
    color: var(--sj-text) !important; min-height: 48px; padding: .7rem .95rem; font-size: 1rem; box-shadow: none !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control::placeholder { color: #a39cae !important; opacity: 1; }
.form-control:focus, .form-select:focus { border-color: var(--sj-red) !important; box-shadow: 0 0 0 4px rgba(227, 38, 42, .12) !important; outline: none; }
.form-control.is-invalid, .form-select.is-invalid, .form-control:user-invalid { border-color: var(--sj-danger) !important; }
textarea.form-control { min-height: 110px; }
input[type="file"].form-control { padding: .55rem; min-height: 0; background: var(--sj-mist) !important; border-style: dashed !important; cursor: pointer; }
input[type="file"].form-control::file-selector-button {
    border: 0; border-radius: 999px; background: var(--sj-ink); color: #fff; padding: .45rem 1rem; margin-right: .8rem; font-weight: 600; cursor: pointer;
}
.form-check { padding-left: 1.7rem; margin-bottom: .55rem; }
.form-check-input { width: 1.1rem; height: 1.1rem; margin-left: -1.7rem; margin-top: .25rem; accent-color: var(--sj-red); }
.form-check-label { color: var(--sj-text) !important; font-size: .97rem; }
.mb-3 { margin-bottom: 1.1rem !important; }
.text-muted, small.text-muted { color: var(--sj-muted) !important; }
.progress { height: 6px !important; border-radius: 999px; background: var(--sj-mist) !important; }
.progress-bar { background: var(--sj-grad) !important; border-radius: 999px; }

.alert { border-radius: var(--sj-radius-sm); border: 0; padding: 14px 18px; }
.alert-danger { background: #fdecec; color: #8c1418; }
.alert-success { background: #e8f7f0; color: #0f6b4a; }
.alert-warning { background: #fff5e2; color: #7a4a00; }
.alert-info { background: #ecf3ff; color: #17427e; }
.alert-light { background: #fff; }
.alert .text-white, .alert strong.text-white, .alert-success .text-light, .alert-danger .text-light, .alert strong.text-light { color: inherit !important; }
.badge { border-radius: 999px; font-weight: 700; padding: .4em .8em; }
.table { color: var(--sj-text); }
.table thead th { border-bottom: 2px solid var(--sj-line); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--sj-muted); }

/* Colonne d'informations à droite des formulaires */
.job-details-sidebar {
    background: #fff; border: 1px solid var(--sj-line); border-radius: var(--sj-radius); padding: 26px; box-shadow: var(--sj-shadow);
    position: sticky; top: calc(var(--sj-header-h) + 20px);
}
.job-details-sidebar .sec-title h2 { font-size: 1.25rem !important; background: var(--sj-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.job-details-sidebar h4 { font-size: 1.05rem; font-weight: 800; margin-top: 18px; }
.job-details-sidebar .prize-list li, .job-details-sidebar .conditions-list li { padding: 6px 0; border-bottom: 1px dashed var(--sj-line); }
.contact-info-box ul li { padding: 4px 0; }
@media (max-width: 1199.98px) { .job-details-sidebar { position: static; } }

/* Messages d'état (inscriptions closes, en attente...) */
.status-message { background: #fff; border: 1px solid var(--sj-line); border-radius: var(--sj-radius); padding: 56px 24px !important; box-shadow: var(--sj-shadow); max-width: 760px; margin: 0 auto; }
.status-message > i { font-size: 56px !important; margin-bottom: 16px; display: inline-block; }
.status-message a i { font-size: 15px !important; margin: 0 0 0 6px !important; }
.status-message h3 { font-weight: 800; }
.status-message a.btn { border-radius: 999px !important; }

/* ---------------------------------------------------------------------
   8. Partenariats & mécénat
   --------------------------------------------------------------------- */
.partnership-choices { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-left: 0 !important; margin-right: 0 !important; }
.partnership-choices > [class*="col"] { max-width: none !important; width: auto !important; padding: 0 !important; margin: 0 !important; flex: none !important; }
select.form-select, select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236d6678' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important; background-position: right .85rem center !important; background-size: 14px 10px !important;
    padding-right: 2.4rem !important; -webkit-appearance: none; appearance: none;
}
.select_container::before { display: none !important; }
.partnership-choice { border-radius: var(--sj-radius) !important; border: 1.5px solid var(--sj-line) !important; box-shadow: var(--sj-shadow); }
.partnership-choice > i { color: var(--sj-red) !important; background: rgba(227, 38, 42, .08); width: 64px; height: 64px; border-radius: 18px; display: inline-flex !important; align-items: center; justify-content: center; font-size: 26px !important; }
.partnership-choice.active, .partnership-choice:hover { border-color: var(--sj-red) !important; }
.partnership-choice.active::after { background: var(--sj-red) !important; }
.partnership-choice .choice-cta { color: var(--sj-red) !important; border-color: rgba(227, 38, 42, .35) !important; }
.partnership-choice:hover .choice-cta, .partnership-choice.active .choice-cta { background: var(--sj-red) !important; color: #fff !important; }

.sj-mecene-intro { background: linear-gradient(135deg, #fff 0%, #fff4ef 100%); border: 1px solid #f6dfd6; border-radius: var(--sj-radius); padding: 28px; }
.sj-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--sj-red); }
.sj-check-list { list-style: none; padding: 0; }
.sj-check-list li { position: relative; padding: 4px 0 4px 26px; }
.sj-check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome; font-weight: 900; position: absolute; left: 0; top: 5px; color: var(--sj-success); font-size: 13px; }
.sj-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; flex-wrap: wrap; }
.sj-steps li { flex: 1; min-width: 140px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--sj-mist); color: var(--sj-muted); font-weight: 700; font-size: 14.5px; }
.sj-steps li span { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--sj-muted); font-size: 13px; border: 1.5px solid var(--sj-line); }
.sj-steps li.active { background: var(--sj-ink); color: #fff; }
.sj-steps li.active span { background: var(--sj-red); border-color: var(--sj-red); color: #fff; }
.sj-steps li.done span { background: var(--sj-success); border-color: var(--sj-success); color: #fff; }
.sj-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.sj-radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.sj-radio-card { margin: 0; cursor: pointer; }
.sj-radio-card input { position: absolute; opacity: 0; }
.sj-radio-card span { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1.5px solid var(--sj-line); border-radius: 12px; font-weight: 600; transition: all .15s; }
.sj-radio-card span i { color: var(--sj-red); }
.sj-radio-card input:checked + span { border-color: var(--sj-red); background: rgba(227, 38, 42, .05); box-shadow: 0 0 0 3px rgba(227, 38, 42, .12); }
.sj-radio-card input:focus-visible + span { outline: 3px solid rgba(227, 38, 42, .4); }
.sj-echeances-table td, .sj-echeances-table th { vertical-align: middle; padding: 6px 6px; border-top: 0; }
.sj-echeances-table .form-control, .sj-echeances-table .form-select { min-height: 40px; }
.sj-step-nav .btn { padding: 12px 24px; }

/* ---------------------------------------------------------------------
   9. Pied de page
   --------------------------------------------------------------------- */
.sj-footer { background: var(--sj-ink); color: var(--sj-on-dark-muted); position: relative; overflow: hidden; }
.sj-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--sj-grad); }
.sj-footer-cta { padding-top: 56px; padding-bottom: 8px; }
.sj-footer-cta .sj-cta-box {
    background: var(--sj-grad); border-radius: 22px; padding: 34px 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #fff;
    box-shadow: 0 20px 50px rgba(227, 38, 42, .25);
}
.sj-footer-cta h3 { color: #fff; margin: 0 0 6px; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.sj-footer-cta p { margin: 0; color: rgba(255, 255, 255, .88); }
.sj-footer-main { padding-top: 48px; padding-bottom: 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.sj-footer h4 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.sj-footer ul { list-style: none; margin: 0; padding: 0; }
.sj-footer ul li { margin-bottom: 9px; }
.sj-footer a { color: var(--sj-on-dark-muted); text-decoration: none; }
.sj-footer a:hover { color: #fff; }
.sj-footer .sj-brand-text strong { font-size: 22px; }
.sj-footer .widget_social_buttons, .sj-footer .social-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sj-footer .widget_social_buttons a, .sj-footer .social-icons a {
    width: 38px; height: 38px; border-radius: 50%; display: inline-flex !important; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1) !important; color: #fff !important; margin: 0 !important;
}
.sj-footer .widget_social_buttons a:hover, .sj-footer .social-icons a:hover { background: var(--sj-red); border-color: var(--sj-red) !important; }
.sj-newsletter { position: relative; margin-top: 14px; }
.sj-newsletter input {
    width: 100%; height: 52px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06);
    color: #fff; padding: 0 60px 0 20px; font-size: 15px;
}
.sj-newsletter input::placeholder { color: var(--sj-on-dark-muted); }
.sj-newsletter input:focus { outline: none; border-color: var(--sj-red); background: rgba(255, 255, 255, .1); }
.sj-newsletter button { position: absolute; right: 5px; top: 5px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--sj-grad); color: #fff; cursor: pointer; }
.sj-newsletter-msg { font-size: 14px; margin-top: 8px; }
.sj-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 991.98px) { .sj-footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .sj-footer-main { grid-template-columns: 1fr; gap: 26px; } .sj-footer-cta .sj-cta-box { padding: 26px 22px; } }

/* Ancien pied de page du modèle (au cas où) */
.page_footer, .page_copyright { background: var(--sj-ink) !important; }

/* ---------------------------------------------------------------------
   10. Accueil
   --------------------------------------------------------------------- */
.sj-hero {
    position: relative; min-height: min(calc(100vh - var(--sj-header-h) - 40px), 860px); display: flex; align-items: center; color: #fff; overflow: hidden;
    background: var(--sj-ink);
}
.sj-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); animation: sjKenburns 18s ease-in-out infinite alternate; }
.sj-hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(900px 500px at 15% 30%, rgba(227, 38, 42, .45), transparent 60%),
                radial-gradient(800px 500px at 90% 80%, rgba(138, 43, 226, .45), transparent 60%),
                linear-gradient(180deg, rgba(14, 12, 20, .55) 0%, rgba(14, 12, 20, .78) 60%, var(--sj-ink) 100%);
}
@keyframes sjKenburns { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1%, -1%); } }
.sj-hero .sj-container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 90px; }
.sj-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.sj-hero-badge .sj-dot { width: 8px; height: 8px; border-radius: 50%; background: #3be38d; box-shadow: 0 0 0 4px rgba(59, 227, 141, .25); animation: sjPulse 1.8s infinite; }
@keyframes sjPulse { 50% { box-shadow: 0 0 0 8px rgba(59, 227, 141, 0); } }
.sj-hero h1 { font-size: clamp(2.4rem, 6.4vw, 5rem); line-height: 1.02; font-weight: 900; margin: 0 0 20px; color: #fff; max-width: 900px; }
.sj-hero h1 .sj-grad-text { background: var(--sj-grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sj-hero p.sj-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #e7e1ef; max-width: 640px; margin-bottom: 32px; }
.sj-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sj-hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 56px; max-width: 920px; }
.sj-hero-stat { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 16px 18px; backdrop-filter: blur(8px); }
.sj-hero-stat strong { display: block; font-family: var(--sj-font-head); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: #fff; line-height: 1.1; }
.sj-hero-stat span { font-size: 13.5px; color: var(--sj-on-dark-muted); }
.sj-scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; color: rgba(255, 255, 255, .7); font-size: 13px; text-align: center; }
.sj-scroll-hint i { display: block; margin-top: 4px; animation: sjBounce 1.6s infinite; }
@keyframes sjBounce { 50% { transform: translateY(6px); } }
@media (max-width: 767.98px) { .sj-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sj-scroll-hint { display: none; } }

.sj-section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.sj-section-dark { background: var(--sj-ink); color: var(--sj-on-dark); }
.sj-section-dark h2, .sj-section-dark h3 { color: #fff; }
.sj-section-mist { background: var(--sj-mist); }
.sj-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.sj-head.left { margin-left: 0; text-align: left; }
.sj-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; line-height: 1.08; margin: 8px 0 14px; }
.sj-head p { color: var(--sj-muted); font-size: 1.08rem; margin: 0; }
.sj-section-dark .sj-head p { color: var(--sj-on-dark-muted); }

.sj-comp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.sj-comp-card {
    position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; background: #fff;
    border: 1px solid var(--sj-line); box-shadow: var(--sj-shadow); text-decoration: none !important; color: var(--sj-text) !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s; overflow: hidden;
}
.sj-comp-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--sj-grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.sj-comp-card:hover { transform: translateY(-4px); box-shadow: var(--sj-shadow-lg); border-color: transparent; }
.sj-comp-card:hover::before { transform: scaleX(1); }
.sj-comp-icon { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; background: var(--sj-grad); box-shadow: 0 10px 20px rgba(227, 38, 42, .25); }
.sj-comp-card h3 { font-size: 1.25rem; font-weight: 800; margin: 6px 0 0; }
.sj-comp-card p { color: var(--sj-muted); margin: 0; font-size: .97rem; flex-grow: 1; }
.sj-comp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sj-comp-tags span { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sj-mist); color: var(--sj-muted); }
.sj-comp-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.sj-comp-status.open { color: var(--sj-success); }
.sj-comp-status.closed { color: var(--sj-muted); }
.sj-comp-status .sj-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sj-comp-link { font-weight: 700; color: var(--sj-red); display: inline-flex; align-items: center; gap: 6px; }

.sj-steps-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: sjstep; }
.sj-step-card { position: relative; padding: 26px 22px; border-radius: 18px; background: var(--sj-ink-2); border: 1px solid rgba(255, 255, 255, .07); }
.sj-step-card::before {
    counter-increment: sjstep; content: "0" counter(sjstep); font-family: var(--sj-font-head); font-weight: 900; font-size: 44px; line-height: 1;
    background: var(--sj-grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; margin-bottom: 14px;
}
.sj-step-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.sj-step-card p { color: var(--sj-on-dark-muted); margin: 0; font-size: .97rem; }
@media (max-width: 991.98px) { .sj-steps-line { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .sj-steps-line { grid-template-columns: 1fr; } }

.sj-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
.sj-split-media { position: relative; }
.sj-split-media img { border-radius: 24px; box-shadow: var(--sj-shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sj-split-media .sj-floating {
    position: absolute; left: -18px; bottom: -18px; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--sj-shadow-lg);
    display: flex; align-items: center; gap: 12px; max-width: 280px;
}
.sj-split-media .sj-floating i { font-size: 28px; color: var(--sj-gold); }
.sj-split-media .sj-floating strong { display: block; font-family: var(--sj-font-head); font-size: 1.05rem; }
.sj-split-media .sj-floating span { color: var(--sj-muted); font-size: 13.5px; }
.sj-feature-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.sj-feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.sj-feature-list li i { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: rgba(227, 38, 42, .09); color: var(--sj-red); display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 991.98px) { .sj-split { grid-template-columns: 1fr; gap: 36px; } .sj-split-media .sj-floating { left: 12px; } }

.sj-action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sj-action {
    display: flex; flex-direction: column; gap: 8px; padding: 26px 22px; border-radius: 20px; text-decoration: none !important;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); color: var(--sj-on-dark) !important; transition: all .2s;
}
.sj-action:hover { background: rgba(255, 255, 255, .08); transform: translateY(-3px); border-color: rgba(245, 184, 58, .4); }
.sj-action i { font-size: 26px; color: var(--sj-gold); }
.sj-action h3 { font-size: 1.15rem; margin: 6px 0 0; color: #fff; }
.sj-action p { color: var(--sj-on-dark-muted); margin: 0; font-size: .95rem; }
@media (max-width: 991.98px) { .sj-action-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .sj-action-grid { grid-template-columns: 1fr; } }

.sj-engage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sj-engage-card { border-radius: 22px; padding: 30px 26px; color: #fff; position: relative; overflow: hidden; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none !important; }
.sj-engage-card::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; z-index: 0; }
.sj-engage-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 12, 20, .1), rgba(14, 12, 20, .9)); z-index: 0; }
.sj-engage-card:hover::before { transform: scale(1.06); }
.sj-engage-card > * { position: relative; z-index: 1; }
.sj-engage-card h3 { color: #fff; font-size: 1.4rem; font-weight: 800; margin: 0 0 6px; }
.sj-engage-card p { color: #e8e2ef; margin: 0 0 14px; }
.sj-engage-card .sj-comp-link { color: var(--sj-gold); }
@media (max-width: 991.98px) { .sj-engage { grid-template-columns: 1fr; } }

.sj-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sj-post { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--sj-line); box-shadow: var(--sj-shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.sj-post:hover { transform: translateY(-4px); box-shadow: var(--sj-shadow-lg); }
.sj-post-media { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; background: var(--sj-mist); }
.sj-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sj-post:hover .sj-post-media img { transform: scale(1.05); }
.sj-post-media .sj-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 46px; color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, .5); }
.sj-post-cat { position: absolute; left: 14px; top: 14px; background: rgba(14, 12, 20, .75); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.sj-post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.sj-post-body h3 { font-size: 1.12rem; font-weight: 800; line-height: 1.3; margin: 0; }
.sj-post-body h3 a { color: var(--sj-text); text-decoration: none; }
.sj-post-body h3 a:hover { color: var(--sj-red); }
.sj-post-body p { color: var(--sj-muted); font-size: .95rem; margin: 0; flex-grow: 1; }
.sj-post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--sj-muted); border-top: 1px solid var(--sj-line); padding-top: 12px; }
.sj-post-meta i { color: var(--sj-red); margin-right: 4px; }
@media (max-width: 991.98px) { .sj-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .sj-blog-grid { grid-template-columns: 1fr; } }

/* Apparition douce au défilement */
.sj-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.sj-reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   11. Préchargement, retour en haut
   --------------------------------------------------------------------- */
.preloader { background: var(--sj-ink) !important; }
.preloader .preloader_image { background-image: url("../img/logo.png") !important; background-color: #fff; border-radius: 50%; background-size: 80% !important; background-position: center !important; background-repeat: no-repeat !important; }
.sj-to-top {
    position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--sj-grad); color: #fff;
    box-shadow: 0 10px 24px rgba(227, 38, 42, .35); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 1020; cursor: pointer;
}
.sj-to-top.show { opacity: 1; visibility: visible; transform: none; }
/* Ancien bouton "retour en haut" du thème masqué (le code reste en place) :
   seul #sjToTop est affiché. Pour réactiver l'ancien, supprimer la règle ci-dessous. */
#toTop { display: none !important; }

/* ---------------------------------------------------------------------
   12. Accessibilité & mouvement réduit
   --------------------------------------------------------------------- */
.sj-skip { position: absolute; left: -999px; top: 8px; z-index: 2000; background: #fff; color: var(--sj-text); padding: 10px 16px; border-radius: 8px; }
.sj-skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .sj-reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Étape 2 — icônes sociales centrées, effets de survol et transitions,
   trophées spéciaux, témoignages
   ===================================================================== */

/* Icônes des réseaux sociaux : parfaitement centrées dans leur cercle, transitions 0,5 s */
.social-icons a, .widget_social_buttons a {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    padding: 0 !important; line-height: 1 !important; text-align: center !important; text-indent: 0 !important;
    position: relative; overflow: hidden; vertical-align: middle;
    transition: background-color .5s ease, color .5s ease, border-color .5s ease, transform .5s ease, box-shadow .5s ease !important;
}
.social-icons a::before, .social-icons a::after, .widget_social_buttons a::before, .widget_social_buttons a::after { content: none !important; }
.social-icons a i, .widget_social_buttons a i {
    display: block; margin: 0 !important; padding: 0 !important; line-height: 1 !important; width: auto !important;
    font-size: 1em; transition: transform .5s ease;
}
.sj-footer .social-icons a i, .sj-footer .widget_social_buttons a i { font-size: 16px; }
.social-icons a:hover, .widget_social_buttons a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(227, 38, 42, .35); }
.social-icons a:hover i, .widget_social_buttons a:hover i { transform: scale(1.15) rotate(-8deg); }
.social-icons a[title="Facebook"]:hover { background: #1877f2 !important; border-color: #1877f2 !important; }
.social-icons a[title="WhatsApp"]:hover { background: #25d366 !important; border-color: #25d366 !important; }
.social-icons a[title="YouTube"]:hover { background: #ff0000 !important; border-color: #ff0000 !important; }
.social-icons a[title="Instagram"]:hover { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important; border-color: transparent !important; }
.social-icons a[title="TikTok"]:hover { background: #111 !important; border-color: #25f4ee !important; box-shadow: -2px 0 0 #25f4ee, 2px 0 0 #fe2c55; }
.social-icons a[title="Telegram"]:hover { background: #229ed9 !important; border-color: #229ed9 !important; }
.social-icons a[title="LinkedIn"]:hover { background: #0a66c2 !important; border-color: #0a66c2 !important; }

/* Effets de survol plus vivants */
.sj-btn { position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease !important; }
.sj-btn::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .6s ease;
}
.sj-btn:hover::after { left: 140%; }
.sj-btn:hover { transform: translateY(-2px); }
.sj-comp-card .sj-comp-icon { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .45s ease; }
.sj-comp-card:hover .sj-comp-icon { transform: rotate(-8deg) scale(1.12); box-shadow: 0 10px 22px rgba(227, 38, 42, .35); }
.sj-comp-card .sj-comp-link i, .sj-engage-card .sj-comp-link i, .sj-trophy-card .sj-comp-link i { transition: transform .35s ease; }
.sj-comp-card:hover .sj-comp-link i, .sj-engage-card:hover .sj-comp-link i, .sj-trophy-card:hover .sj-comp-link i { transform: translateX(6px); }
.sj-comp-tags span { transition: background .3s ease, color .3s ease, transform .3s ease; }
.sj-comp-card:hover .sj-comp-tags span { transform: translateY(-1px); }
.sj-engage-card:hover::before { transform: scale(1.08); }
.sj-engage-card { transition: transform .4s ease, box-shadow .4s ease; }
.sj-engage-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(14, 12, 20, .35); }
.sj-action { transition: transform .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease !important; }
.sj-action:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(0, 0, 0, .35); }
.sj-action i { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.sj-action:hover i { transform: scale(1.18) rotate(-6deg); }
.sj-post { transition: transform .35s ease, box-shadow .35s ease; }
.sj-post:hover { transform: translateY(-5px); box-shadow: var(--sj-shadow-lg); }
.sj-post-media img, .sj-split-media img { transition: transform .7s ease, filter .7s ease; }
.sj-post:hover .sj-post-media img, .sj-split-media:hover img { transform: scale(1.06); filter: saturate(1.15); }
.sj-menu > li > a { transition: color .3s ease, background .3s ease; }
.sj-footer a:not(.sj-btn):not([title]) { transition: color .3s ease, padding-left .3s ease; }
.sj-footer ul a:not([title]):hover { padding-left: 4px; }
.sj-reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1) !important; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Trophées spéciaux */
.sj-trophy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.sj-trophy-card {
    position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border-radius: 22px; overflow: hidden;
    background: linear-gradient(160deg, #1c1430 0%, #0e0c14 100%); color: #fff !important; text-decoration: none !important;
    border: 1px solid rgba(245, 184, 58, .25); transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.sj-trophy-card::after {
    content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 184, 58, .35), transparent 70%); transition: transform .6s ease;
}
.sj-trophy-card:hover { transform: translateY(-6px); border-color: rgba(245, 184, 58, .8); box-shadow: 0 22px 44px rgba(245, 184, 58, .18); }
.sj-trophy-card:hover::after { transform: scale(1.5); }
.sj-trophy-icon {
    width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--sj-grad-gold, linear-gradient(135deg, #f5b83a, #e57b16)); color: #1b1200; font-size: 22px; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.sj-trophy-card:hover .sj-trophy-icon { transform: rotate(-10deg) scale(1.1); }
.sj-trophy-code { font-family: var(--sj-font-head); font-weight: 900; letter-spacing: .2em; color: #f5b83a; font-size: 1.5rem; }
.sj-trophy-card h3 { color: #fff; font-size: 1.15rem; margin: 0; line-height: 1.3; }
.sj-trophy-card .sj-comp-link { color: #f5b83a !important; margin-top: auto; }

/* Témoignages */
.sj-testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.sj-testi {
    margin: 0; padding: 28px 26px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
    display: flex; flex-direction: column; gap: 16px; transition: transform .4s ease, background .4s ease, border-color .4s ease;
}
.sj-testi:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .08); border-color: rgba(245, 184, 58, .45); }
.sj-testi-stars { color: #f5b83a; letter-spacing: 3px; font-size: 14px; }
.sj-testi blockquote { margin: 0; color: var(--sj-on-dark, #f1edf7); font-size: 1.02rem; line-height: 1.65; font-style: italic; }
.sj-testi figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.sj-testi figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(227, 38, 42, .55); }
.sj-testi figcaption strong { display: block; color: #fff; }
.sj-testi figcaption small { color: var(--sj-on-dark-muted, #b9b0c9); }

/* Page des trophées */
.sj-trophy-block { scroll-margin-top: 110px; padding: 34px 30px; border-radius: 26px; background: #fff; border: 1px solid var(--sj-line, #ece8f2); box-shadow: var(--sj-shadow, 0 10px 30px rgba(20, 10, 40, .06)); margin-bottom: 26px; }
.sj-trophy-block h2 { font-weight: 900; margin: 6px 0 4px; }
.sj-trophy-block .sj-trophy-sub { color: var(--sj-red, #e3262a); font-weight: 700; }
.sj-trophy-block h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sj-muted, #6b6478); margin: 18px 0 6px; }
.sj-board { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sj-board li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--sj-mist, #f7f4fb); transition: transform .3s ease, background .3s ease; }
.sj-board li:hover { transform: translateX(4px); background: #f1ebf9; }
.sj-board .rk { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: #fff; color: var(--sj-ink, #1b1426); flex-shrink: 0; }
.sj-board li:nth-child(1) .rk { background: linear-gradient(135deg, #f5b83a, #e57b16); color: #fff; }
.sj-board li:nth-child(2) .rk { background: #c9ccd6; color: #222; }
.sj-board li:nth-child(3) .rk { background: #d79a63; color: #fff; }
.sj-board img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sj-board .nm { flex: 1; min-width: 0; }
.sj-board .nm strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sj-board .nm small { color: var(--sj-muted, #6b6478); }
.sj-board .bar { height: 6px; border-radius: 6px; background: #e8e1f3; margin-top: 5px; overflow: hidden; }
.sj-board .bar span { display: block; height: 100%; background: var(--sj-grad, linear-gradient(90deg, #e3262a, #7a1fd1)); border-radius: 6px; }
.sj-board .sc { font-weight: 800; white-space: nowrap; }
.sj-winner { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, #1c1430, #3a1a5c); color: #fff; margin-top: 14px; }
.sj-winner img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #f5b83a; }
.sj-winner strong { font-size: 1.2rem; display: block; color: #fff; }
.sj-winner small { color: #f5b83a; }
@media (max-width: 575px) { .sj-trophy-block { padding: 24px 18px; } }
/* Méga-menu : compétitions et leurs filières */
.sj-mega-multi { display: flex !important; align-items: flex-start; gap: 10px; }
.sj-mega-multi i { margin-top: 3px; }
.sj-mega-multi small { display: block; font-size: 11.5px; opacity: .65; font-weight: 400; line-height: 1.35; margin-top: 1px; }

/* =====================================================================
   Étape 3 — barre de navigation toujours visible, préchargement plus discret,
   effets d'apparition au défilement, bandeaux de titre modernisés
   ===================================================================== */

/* Défilement : une seule barre, celle de la fenêtre (html reste « visible » pour que le réglage de body s'applique à la fenêtre).
   Avant, html avait overflow-x: clip : la page défilait à l'intérieur de body, décalée de la largeur d'une barre de défilement. */
html { overflow: visible !important; }
body { overflow-x: hidden !important; overflow-y: auto !important; }

/* Barre de navigation fixe (placée sous le bandeau de contact, puis collée en haut au défilement) */
.sj-header { position: fixed !important; left: 0; right: 0; top: var(--sj-header-top, 0px); width: 100%; transition: top .25s ease, background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
.sj-header.is-scrolled { backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); background: rgba(14, 12, 20, .9) !important; }
.sj-header-spacer { height: var(--sj-header-h); }
.sj-nav { top: calc(var(--sj-header-top, 0px) + var(--sj-header-h)) !important; }
.sj-nav-backdrop { inset: calc(var(--sj-header-top, 0px) + var(--sj-header-h)) 0 0 0 !important; }

/* Indicateur de lecture */
.sj-scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1040; pointer-events: none; }
.sj-scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--sj-grad, linear-gradient(90deg, #e3262a, #7a1fd1)); }

/* Préchargement : rond plus petit */
.preloader .preloader_image, .preloader_image {
    width: 92px !important; height: 92px !important; margin: -46px 0 0 -46px !important;
    box-shadow: 0 0 0 6px rgba(227, 38, 42, .25), 0 0 40px rgba(122, 31, 209, .45);
}

/* Apparitions au défilement : plusieurs effets */
.sj-reveal { opacity: 0; transform: translateY(28px); will-change: opacity, transform; }
.sj-reveal[data-anim="zoom"] { transform: scale(.92); }
.sj-reveal[data-anim="left"] { transform: translateY(28px); }
.sj-reveal[data-anim="right"] { transform: translateY(28px); }
.sj-reveal[data-anim="flip"] { transform: perspective(900px) rotateX(14deg) translateY(24px); transform-origin: top center; }
.sj-reveal[data-anim="blur"] { filter: blur(8px); transform: translateY(16px); }
.sj-reveal.is-visible { opacity: 1 !important; transform: none !important; filter: none !important; }
.sj-reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s ease !important; transition-delay: var(--sj-delay, 0s) !important; }

/* Bandeaux de titre des pages intérieures */
.page_title { position: relative; overflow: hidden; }
.page_title::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, rgba(14, 12, 20, .88) 0%, rgba(58, 18, 92, .62) 55%, rgba(227, 38, 42, .35) 100%);
}
.page_title .container { position: relative; z-index: 2; }
.page_title h1 {
    font-family: var(--sj-font-head, inherit); font-weight: 900; letter-spacing: -.01em; font-size: clamp(2rem, 5vw, 3.4rem) !important;
    animation: sjTitleIn .9s cubic-bezier(.2, .7, .2, 1) both;
}
.page_title h1::after { content: ""; display: block; width: 70px; height: 4px; border-radius: 4px; margin-top: 14px; background: var(--sj-grad-gold, linear-gradient(90deg, #f5b83a, #e57b16)); animation: sjLineIn 1s .35s cubic-bezier(.2, .7, .2, 1) both; transform-origin: left; }
.text-center .page_title h1::after, .page_title .text-center h1::after { margin-left: auto; margin-right: auto; }
@media (min-width: 992px) { .page_title .text-lg-left h1::after { margin-left: 0; } }
.page_title .breadcrumb { animation: sjTitleIn .9s .15s cubic-bezier(.2, .7, .2, 1) both; background: rgba(255, 255, 255, .08); display: inline-flex; padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(4px); }
@keyframes sjTitleIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes sjLineIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Cartes et images génériques des pages du modèle : survol plus vivant */
.vertical-item, .side-item, .competition-card, .card-hover, .item-gallery { transition: transform .4s ease, box-shadow .4s ease; }
.vertical-item:hover, .competition-card:hover, .item-gallery:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(20, 10, 40, .14); }
.item-media { overflow: hidden; }
.item-media img { transition: transform .8s ease; }
.vertical-item:hover .item-media img, .item-gallery:hover .item-media img { transform: scale(1.07); }
.category-link { transition: background .3s ease, transform .3s ease, padding-left .3s ease; }
.category-link:hover { transform: translateX(4px); }

/* Halo animé derrière les titres de sections */
.sj-head h2 { position: relative; }
.sj-head .sj-eyebrow { display: inline-block; position: relative; }
.sj-head .sj-eyebrow::before, .sj-head .sj-eyebrow::after { content: ""; display: inline-block; width: 26px; height: 2px; background: currentColor; vertical-align: middle; margin: 0 10px; opacity: .55; }
.sj-head.left .sj-eyebrow::before { display: none; }

@media (prefers-reduced-motion: reduce) {
    .sj-reveal, .sj-reveal[data-anim] { opacity: 1 !important; transform: none !important; filter: none !important; }
    .page_title h1, .page_title h1::after, .page_title .breadcrumb { animation: none !important; }
}

/* Album des candidats et du jury */
.sj-album-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0 0 22px; }
.sj-album-tabs button {
    border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px;
    background: #fff; color: var(--sj-text); box-shadow: var(--sj-shadow); transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
}
.sj-album-tabs button span { background: var(--sj-mist); border-radius: 999px; padding: 2px 9px; font-size: 12px; transition: background .3s ease; }
.sj-album-tabs button:hover { transform: translateY(-2px); }
.sj-album-tabs button.active { background: var(--sj-grad); color: #fff; box-shadow: 0 14px 30px rgba(227, 38, 42, .3); }
.sj-album-tabs button.active span { background: rgba(255, 255, 255, .22); }
.sj-album-filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.sj-album-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sj-album-chips button {
    border: 1.5px solid var(--sj-line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--sj-muted);
    display: inline-flex; align-items: center; gap: 7px; transition: all .3s ease;
}
.sj-album-chips button:hover { border-color: var(--sj-red); color: var(--sj-red); }
.sj-album-chips button.active { background: var(--sj-ink); border-color: var(--sj-ink); color: #fff; }
.sj-album-search { position: relative; margin: 0; flex: 1 1 240px; max-width: 340px; }
.sj-album-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--sj-muted); }
.sj-album-search input { width: 100%; border: 1.5px solid var(--sj-line); border-radius: 999px; padding: 10px 16px 10px 40px; background: #fff; transition: border-color .3s ease, box-shadow .3s ease; }
.sj-album-search input:focus { outline: none; border-color: var(--sj-red); box-shadow: 0 0 0 4px rgba(227, 38, 42, .12); }
.sj-album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.sj-album-card { margin: 0; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--sj-shadow); transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease; }
.sj-album-card:hover { transform: translateY(-8px); box-shadow: var(--sj-shadow-lg); }
.sj-album-photo {
    position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border: 0; padding: 0; cursor: zoom-in; overflow: hidden;
    background: linear-gradient(150deg, #2a1745, #0e0c14);
}
.sj-album-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .9s ease, filter .9s ease; }
.sj-album-card:hover .sj-album-photo img { transform: scale(1.08); filter: saturate(1.15); }
.sj-album-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 55%, rgba(14, 12, 20, .55)); opacity: .9; transition: opacity .45s ease; }
.sj-album-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--sj-font-head); font-size: 2.6rem; font-weight: 900; color: rgba(255, 255, 255, .85); letter-spacing: .04em; }
.sj-album-badge { position: absolute; z-index: 3; left: 12px; top: 12px; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: #fff; backdrop-filter: blur(6px); background: rgba(14, 12, 20, .55); }
.sj-album-badge.gold { background: linear-gradient(120deg, #f5b83a, #ff7a3d); color: #1b1200; }
.sj-album-badge.violet { background: linear-gradient(120deg, #8a2be2, #c41e6b); }
.sj-album-badge.green { background: rgba(23, 166, 115, .9); }
.sj-album-card figcaption { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.sj-album-card figcaption strong { font-family: var(--sj-font-head); font-size: 1.02rem; color: var(--sj-text); line-height: 1.25; }
.sj-album-card figcaption span { color: var(--sj-red); font-weight: 700; font-size: 13px; margin-top: 4px; }
.sj-album-card figcaption small { color: var(--sj-muted); font-size: 12.5px; }
.sj-album-juror .sj-album-photo { aspect-ratio: 1 / 1; }
.sj-album-empty, .sj-album-none { grid-column: 1 / -1; text-align: center; color: var(--sj-muted); padding: 30px 0; }
.sj-lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(8, 6, 14, .92); display: flex; align-items: center; justify-content: center; padding: 24px; animation: sjFade .3s ease; }
.sj-lightbox figure { margin: 0; max-width: min(900px, 92vw); text-align: center; animation: sjZoom .35s cubic-bezier(.2, .7, .2, 1); }
.sj-lightbox img { max-width: 100%; max-height: 76vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.sj-lightbox figcaption { color: #fff; margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.sj-lightbox figcaption strong { font-family: var(--sj-font-head); font-size: 1.3rem; }
.sj-lightbox figcaption span { color: var(--sj-on-dark-muted); }
.sj-lightbox-close, .sj-lightbox-nav { position: absolute; border: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background .3s ease, transform .3s ease; }
.sj-lightbox-close:hover, .sj-lightbox-nav:hover { background: var(--sj-red); transform: scale(1.08); }
.sj-lightbox-close { top: 18px; right: 18px; }
.sj-lightbox-nav.prev { left: 18px; top: 50%; margin-top: -24px; }
.sj-lightbox-nav.next { right: 18px; top: 50%; margin-top: -24px; }
@keyframes sjFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sjZoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@media (max-width: 575px) {
    .sj-album-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .sj-album-card { border-radius: 16px; }
    .sj-album-card figcaption { padding: 10px 11px 13px; }
    .sj-album-search { max-width: none; }
    .sj-lightbox-nav { display: none; }
}

/* Plaquettes des partenaires : boutons et visionneuse PDF */
.sponsor-tier-card { display: flex; flex-direction: column; }
.sponsor-tier-card ul { flex: 1; }
.sponsor-tier-card .tier-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.sponsor-tier-card .tier-btn {
    display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; padding: 9px 15px; font-size: 13px; font-weight: 700;
    background: #ffd27a; color: #1b1200 !important; text-decoration: none !important; transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.sponsor-tier-card .tier-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .3); background: #ffe2a3; }
.sponsor-tier-card .tier-btn.ghost { background: rgba(255, 255, 255, .12); color: #fff !important; border: 1px solid rgba(255, 255, 255, .3); }
.sponsor-tier-card .tier-btn.ghost:hover { background: rgba(255, 255, 255, .22); }
.sj-pdf-viewer { position: fixed; inset: 0; z-index: 3000; background: rgba(8, 6, 14, .88); display: flex; align-items: center; justify-content: center; padding: 18px; animation: sjFade .25s ease; }
.sj-pdf-box { width: min(1100px, 100%); height: min(88vh, 900px); background: #111; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); animation: sjZoom .3s cubic-bezier(.2, .7, .2, 1); }
.sj-pdf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: linear-gradient(120deg, #1c1430, #3a1a5c); color: #fff; }
.sj-pdf-head strong { font-family: var(--sj-font-head); font-size: 1.05rem; }
.sj-pdf-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sj-pdf-tools a { color: #ffd27a !important; font-size: 13.5px; font-weight: 600; }
.sj-pdf-close { border: 0; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; transition: background .3s ease; }
.sj-pdf-close:hover { background: var(--sj-red); }
.sj-pdf-box iframe { flex: 1; width: 100%; border: 0; background: #2a2a2a; }
.sj-pdf-mobile { display: none; margin: 0; padding: 10px 16px; color: #ddd; font-size: 13px; background: #111; }
.sj-pdf-mobile a { color: #ffd27a; }
@media (max-width: 767px) { .sj-pdf-mobile { display: block; } .sj-pdf-box { height: 80vh; } }

/* Carrousel de la page d'accueil */
.sj-carousel .sj-slides-bg { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.sj-carousel .sj-slide-bg { opacity: 0; transition: opacity 1.2s ease; animation: none; transform: scale(1.12); }
.sj-carousel .sj-slide-bg.is-active { opacity: 1; animation: sjCarZoom calc(var(--sj-car-delay, 6500ms) + 1600ms) ease-out forwards; }
@keyframes sjCarZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.sj-carousel .sj-slides-text { display: grid; }
.sj-carousel .sj-slide-text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .8s; }
.sj-carousel .sj-slide-text.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .9s ease .25s, transform .9s cubic-bezier(.2, .7, .2, 1) .25s, visibility 0s; }
.sj-carousel .sj-slide-text .sj-hero-badge, .sj-carousel .sj-slide-text .sj-hero-title, .sj-carousel .sj-slide-text .sj-lead, .sj-carousel .sj-slide-text .sj-hero-ctas { transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .9s ease; }
.sj-carousel .sj-slide-text:not(.is-active) .sj-hero-title { transform: translateY(18px); }
.sj-carousel .sj-slide-text:not(.is-active) .sj-lead { transform: translateY(28px); opacity: 0; }
.sj-carousel .sj-slide-text:not(.is-active) .sj-hero-ctas { transform: translateY(36px); opacity: 0; }
.sj-carousel .sj-slide-text.is-active .sj-lead { transition-delay: .4s; }
.sj-carousel .sj-slide-text.is-active .sj-hero-ctas { transition-delay: .55s; }
.sj-hero .sj-hero-title { font-family: var(--sj-font-head); font-size: clamp(2.4rem, 6.4vw, 5rem); line-height: 1.02; font-weight: 900; margin: 0 0 20px; color: #fff; max-width: 900px; }
.sj-hero .sj-hero-title .sj-grad-text { background: var(--sj-grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sj-carousel-ui { position: absolute; z-index: 3; right: max(18px, calc((100vw - 1240px) / 2)); bottom: 34px; display: flex; align-items: center; gap: 12px; }
.sj-car-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: rgba(14, 12, 20, .35); color: #fff; backdrop-filter: blur(6px); transition: background .3s ease, transform .3s ease, border-color .3s ease; }
.sj-car-arrow:hover { background: var(--sj-red); border-color: var(--sj-red); transform: scale(1.08); }
.sj-car-dots { display: flex; gap: 8px; }
.sj-car-dots button { width: 34px; height: 6px; border-radius: 6px; border: 0; padding: 0; background: rgba(255, 255, 255, .28); overflow: hidden; cursor: pointer; transition: width .4s ease, background .3s ease; }
.sj-car-dots button.is-active { width: 64px; }
.sj-car-dots button span { display: block; height: 100%; width: 0; background: var(--sj-grad-gold); }
.sj-car-dots button.is-active span { animation: sjCarProgress var(--sj-car-delay, 6500ms) linear forwards; }
.sj-carousel.is-paused .sj-car-dots button.is-active span { animation-play-state: paused; }
@keyframes sjCarProgress { from { width: 0; } to { width: 100%; } }
@media (max-width: 767.98px) {
    .sj-carousel-ui { left: 50%; right: auto; transform: translateX(-50%); bottom: 16px; }
    .sj-car-arrow { display: none; }
    .sj-carousel .sj-container { padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) {
    .sj-carousel .sj-slide-bg.is-active { animation: none; transform: none; }
    .sj-car-dots button.is-active span { animation: none; width: 100%; }
}

/* Crédit du concepteur (bas de page) */
.sj-credit { display: inline-block; margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .18); color: var(--sj-on-dark-muted); }
.sj-credit a, .sj-credit strong { color: var(--sj-gold) !important; font-weight: 700; text-decoration: none; transition: color .3s ease; }
.sj-credit a:hover { color: #fff !important; }
@media (max-width: 575px) { .sj-credit { display: block; margin: 6px 0 0; padding: 0; border: 0; } }

/* Chiffres de l'accueil : 3 cases (le total des votes du public n'est plus affiché) */
.sj-hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; max-width: 720px; }
@media (max-width: 575.98px) { .sj-hero-stats { gap: 8px; } .sj-hero-stat { padding: 12px 10px; } .sj-hero-stat span { font-size: 12px; } }

/* Chiffres de l'accueil : signe + devant chaque statistique (reste affiché pendant l'animation des compteurs) */
.sj-hero-stat strong::before { content: '+'; margin-right: 2px; color: var(--sj-gold); }

/* Album : choix de l'édition */
.sj-album-editions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 20px; }
.sj-album-editions a { display: flex; flex-direction: column; align-items: center; padding: 10px 20px; border-radius: 16px; background: #fff; border: 1.5px solid var(--sj-line); color: var(--sj-text) !important; text-decoration: none !important; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.sj-album-editions a:hover { transform: translateY(-2px); border-color: var(--sj-gold); }
.sj-album-editions a.active { background: var(--sj-ink); border-color: var(--sj-ink); color: #fff !important; box-shadow: 0 12px 26px rgba(14, 12, 20, .25); }
.sj-album-editions strong { font-family: var(--sj-font-head); font-size: 1.05rem; }
.sj-album-editions small { font-size: 12px; opacity: .7; }

/* Bandeau de titre des pages intérieures : hauteur réduite (l'accueil garde son carrousel plein écran) */
.page_title > [class*='container'] { padding-top: 58px !important; padding-bottom: 46px !important; }
.page_title .divider-30, .page_title .divider-40, .page_title .divider-60 { display: none !important; }
.page_title h1 { font-size: clamp(1.8rem, 4vw, 2.7rem) !important; margin-bottom: 12px !important; }
.page_title h1::after { margin-top: 10px; }
@media (max-width: 767.98px) {
    .page_title > [class*='container'] { padding-top: 34px !important; padding-bottom: 28px !important; }
}
section.page_title { padding-top: 0 !important; padding-bottom: 0 !important; }

.page_title .breadcrumb { flex-wrap: nowrap; white-space: nowrap; max-width: 100%; overflow: hidden; }
.page_title .breadcrumb .breadcrumb-item { display: inline-flex; align-items: center; }
.sj-album-editions a.active strong, .sj-album-editions a.active small { color: #fff !important; }
@media (max-width: 991.98px) { .page_title .breadcrumb { gap: 8px; } .page_title .breadcrumb-item + .breadcrumb-item::before { content: '›' !important; display: inline-block !important; padding: 0 8px 0 0 !important; color: rgba(255, 255, 255, .6); font-family: inherit !important; } }
