/* =============================================================================
   RESSOURCES by Fitness Challenges — site vitrine public
   Langage visuel repris de la plaquette : navy / bleu acier / orange,
   diagonales, titres lourds.
   ============================================================================= */

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

:root {
    --navy: #1B3A6B;
    --navy-d: #142c50;
    --steel: #5C8AAF;
    --sky: #C8DFF4;
    --orange: #E8672A;
    --orange-d: #d1571d;
    --ink: #1A2230;
    --muted: #5b6472;
    --line: #e4e8ef;
    --bg: #ffffff;
    --bg-tint: #f2f5fa;
    --radius: 12px;
    --shadow: 0 18px 40px rgba(27, 58, 107, 0.10);
    --maxw: 1140px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html, body { margin: 0; padding: 0; }
body.site {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    font-weight: 700;
    color: var(--steel);
    margin: 0 0 12px;
}
.tx-orange { color: var(--orange); }
.chev { color: var(--orange); font-weight: 800; }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; }

/* ---------------------------------------------------------------- Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 2px solid transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--orange); color: #fff; }
.btn--accent:hover { background: var(--orange-d); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-d); color: #fff; }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* ---------------------------------------------------------------- Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
    height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header__brand { display: inline-flex; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: inline-flex; }
.brand__text { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; line-height: 1; display: inline-flex; flex-direction: column; }
.brand__sub { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav__link {
    padding: 8px 14px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 15px;
}
.site-nav__link:hover { background: var(--bg-tint); text-decoration: none; }
.site-nav__link.is-active { color: var(--navy); }
.site-nav__link.is-active::after {
    content: ''; display: block; height: 3px; border-radius: 3px; background: var(--orange); margin-top: 4px;
}
.site-nav__cta { margin-left: 8px; }

/* Login popover (details/summary, sans JS) */
.login-pop { position: relative; margin-left: 8px; }
.login-pop > summary { list-style: none; cursor: pointer; }
.login-pop > summary::-webkit-details-marker { display: none; }
.login-pop__panel {
    position: absolute; right: 0; top: calc(100% + 10px); width: 320px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 18px;
}
.login-form { display: flex; flex-direction: column; gap: 12px; }
.login-form__title { margin: 0 0 2px; font-weight: 700; font-size: 15px; }
.login-form__forgot { font-size: 13px; color: var(--muted); text-align: center; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
    padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
    font-family: inherit; font-size: 15px; background: #fff; color: var(--ink);
    transition: border-color .12s, box-shadow .12s; width: 100%;
}
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(92,138,175,0.18);
}

/* Burger mobile */
.navtoggle, .navburger { display: none; }
.navburger { flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.navburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------------------------------------------------------------- Flashes */
.site-flashes { max-width: var(--maxw); margin: 16px auto 0; padding: 0 24px; }
.flash { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 8px; }
.flash--success { background: #e7f7ee; color: #1c7a48; border: 1px solid #b8e6cd; }
.flash--error { background: #fdeceb; color: #b5382f; border: 1px solid #f5c6c2; }

/* ---------------------------------------------------------------- Hero */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1100px 500px at 85% -10%, rgba(92,138,175,0.16), transparent 60%),
        var(--bg);
    padding: 84px 0 72px;
}
.hero::after {
    content: ''; position: absolute; right: -8%; bottom: -40%;
    width: 46%; height: 150%;
    background: linear-gradient(150deg, var(--navy), var(--navy-d));
    transform: skewX(-12deg); opacity: 0.06; z-index: 0;
}
.hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.hero__video { max-width: 720px; margin: 8px auto 30px; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.hero__title { font-size: clamp(28px, 4.6vw, 46px); font-weight: 800; margin: 0 0 20px; }
.hero__lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 620px; margin: 0 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__audience { font-size: 16px; color: var(--ink); }
.hero__audience .chev { margin-right: 6px; }

/* ---------------------------------------------------------------- Sections */
.section { padding: 72px 0; }
.section--tint { background: var(--bg-tint); }
.section__title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; margin: 0 0 32px; max-width: 780px; }

/* Cards « le constat » */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-b {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow);
}
.card-b h3 { font-size: 20px; margin: 0 0 12px; }
.card-b p { margin: 0; color: var(--muted); }
.card-b--orange { background: var(--orange); border-color: var(--orange); }
.card-b--orange h3, .card-b--orange p { color: #fff; }
.card-b--navy { background: var(--navy); border-color: var(--navy); }
.card-b--navy h3, .card-b--navy p { color: #fff; }
.card-b--navy p, .card-b--orange p { opacity: 0.95; }

/* Offer teaser */
.offer-teaser { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.offer-teaser__text p { color: var(--muted); margin: 0 0 24px; font-size: 17px; }
.offer-teaser__price { display: flex; flex-direction: column; gap: 18px; }
.price-badge {
    background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
    padding: 22px 26px; text-align: center;
}
.price-badge--main { background: var(--navy); border-color: var(--navy); }
.price-badge__label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.price-badge--main .price-badge__label { color: #C8DFF4; }
.price-badge__amount { display: block; font-size: 52px; font-weight: 800; color: var(--orange); line-height: 1.05; }
.price-badge__strike { display: block; font-size: 14px; color: var(--muted); }
.price-badge__unit { display: block; font-size: 14px; color: var(--muted); }
.price-badge--main .price-badge__unit { color: #C8DFF4; }
.price-badge__per { font-size: 22px; font-weight: 700; }
.price-badge--main .price-badge__per { color: #C8DFF4; }
.price-badge__feature { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-top: 6px; }
.price-badge__feature:first-of-type { margin-top: 10px; }
.price-badge--main .price-badge__feature { color: #C8DFF4; }

/* Domains grid */
.domains-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.domain { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.domain__chev { color: var(--orange); font-weight: 800; font-size: 22px; line-height: 1; }
.domain__name { font-size: 18px; margin: 0 0 3px; }
.domain__desc { margin: 0; color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-d)); color: #fff; padding: 56px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--sky); }

/* ---------------------------------------------------------------- Page hero (sous-pages) */
.page-hero { background: var(--bg-tint); padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero__title { font-size: clamp(30px, 5vw, 46px); font-weight: 800; margin: 0 0 16px; }
.page-hero__lead { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0; }

/* Experts */
.expert-lead { display: flex; gap: 26px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.expert-lead__avatar {
    width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--steel), var(--navy)); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 38px; font-weight: 800;
}
.expert-lead__body h2 { margin: 0 0 4px; font-size: 24px; }
.expert-lead__role { color: var(--orange); font-weight: 700; margin: 0 0 10px; }
.expert-lead__body p { margin: 0 0 8px; color: var(--muted); }
.expert-lead__meta a { color: var(--navy); font-weight: 600; }
.note-placeholder { margin-top: 28px; padding: 14px 18px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; color: #92400e; font-size: 14px; }

/* Grille des consultants */
.experts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.expert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-align: center; }
.expert-card__avatar {
    width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 30px; font-weight: 800; letter-spacing: 0.02em;
}
.expert-card__avatar--steel { background: linear-gradient(135deg, #6f9cbe, var(--steel)); }
.expert-card__avatar--navy { background: linear-gradient(135deg, var(--steel), var(--navy)); }
.expert-card__avatar--orange { background: linear-gradient(135deg, #f0894f, var(--orange)); }
.expert-card__name { font-size: 20px; margin: 0 0 4px; }
.expert-card__role { color: var(--orange); font-weight: 700; font-size: 14px; margin: 0 0 12px; }
.expert-card__bio { color: var(--muted); font-size: 15px; margin: 0; }

/* Photos dans les avatars (remplacent les initiales quand une photo est uploadée) */
.expert-lead__avatar, .expert-card__avatar { overflow: hidden; }
.expert-lead__avatar img, .expert-card__avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Variantes de couleur pour la vignette fondateur (avatar à initiales) */
.expert-lead__avatar--steel { background: linear-gradient(135deg, #6f9cbe, var(--steel)); }
.expert-lead__avatar--navy { background: linear-gradient(135deg, var(--steel), var(--navy)); }
.expert-lead__avatar--orange { background: linear-gradient(135deg, #f0894f, var(--orange)); }

/* Bloc fondateurs (empilés, un par un) */
.founders-list { display: flex; flex-direction: column; gap: 22px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: start; }
.pricing-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.pricing-card--featured { border: 2px solid var(--orange); }
.pricing-card__ribbon { position: absolute; top: -13px; right: 24px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }
.pricing-card__head h2 { font-size: 22px; margin: 0 0 4px; }
.pricing-card__sub { color: var(--muted); margin: 0 0 18px; }
.pricing-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 16px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.pricing-card__amount { font-size: 48px; font-weight: 800; color: var(--orange); line-height: 1; }
.pricing-card__strike { color: var(--muted); text-decoration: line-through; }
.pricing-card__unit { color: var(--muted); font-weight: 600; }
.pricing-list { list-style: none; margin: 0 0 22px; padding: 0; }
.pricing-list li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px dashed var(--line); }
.pricing-list li::before { content: '›'; position: absolute; left: 6px; color: var(--orange); font-weight: 800; }
.pricing-list em { color: var(--ink); font-style: normal; font-weight: 600; }
.promise { text-align: center; max-width: 760px; margin: 0 auto; }
.promise p { color: var(--muted); font-size: 18px; margin: 0 0 26px; }

/* Tarif unique en deux temps */
.offer-plan {
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow); padding: 36px; text-align: center; margin-bottom: 40px;
}
.offer-plan__steps {
    display: flex; align-items: stretch; justify-content: center; gap: 20px; flex-wrap: wrap;
    margin-bottom: 28px;
}
.offer-plan__step {
    flex: 1 1 240px; max-width: 420px; display: flex; flex-direction: column; align-items: center;
    padding: 24px 20px; border-radius: 14px; background: var(--bg-tint); border: 1px solid var(--line);
}
.offer-plan__step--main { background: var(--navy); border-color: var(--navy); }
.offer-plan__when { font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; }
.offer-plan__step--main .offer-plan__when { color: var(--sky); }
.offer-plan__amount { font-size: 56px; font-weight: 800; color: var(--orange); line-height: 1.05; }
.offer-plan__strike { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.offer-plan__feature { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--navy); }
.offer-plan__step--main .offer-plan__feature { color: #C8DFF4; }
.offer-plan__per { font-size: 22px; font-weight: 700; }
.offer-plan__step--main .offer-plan__per { color: #C8DFF4; }
.offer-plan__unit { font-size: 14px; color: var(--muted); }
.offer-plan__step--main .offer-plan__unit { color: var(--sky); }
.offer-plan__label { margin-top: 10px; font-weight: 700; color: var(--ink); }
.offer-plan__step--main .offer-plan__label { color: #fff; }
.offer-plan__arrow { display: flex; align-items: center; font-size: 40px; font-weight: 800; color: var(--orange); }

.offer-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.offer-detail__col { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.offer-detail__col--main { border: 2px solid var(--orange); }
.offer-detail__title { font-size: 20px; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.offer-detail__title small { color: var(--muted); font-weight: 600; font-size: 14px; }
.offer-detail__step {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff;
    font-size: 15px; font-weight: 800; flex-shrink: 0;
}
.offer-detail__col--main .offer-detail__step { background: var(--orange); }
.offer-detail__sub { color: var(--muted); margin: 0 0 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-info { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px; }
.contact-info h2 { margin: 0 0 16px; font-size: 20px; }
.contact-info__name { font-weight: 700; font-size: 18px; margin: 0 0 16px; }
.contact-info ul { list-style: none; margin: 0; padding: 0; }
.contact-info li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.14); display: flex; flex-direction: column; gap: 3px; }
.contact-info li span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sky); }
.contact-info a { color: #fff; font-weight: 600; }
.contact-success { background: #e7f7ee; border: 1px solid #b8e6cd; border-radius: var(--radius); padding: 32px; }
.contact-success h2 { margin: 0 0 10px; color: #1c7a48; }
.contact-success p { color: #1c7a48; margin: 0 0 18px; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--navy-d); color: #fff; padding: 52px 0 0; }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; }
.site-footer__baseline { color: var(--sky); font-style: italic; margin: 14px 0 0; }
.site-footer__nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer__nav a { color: #dbe6f4; }
.site-footer__contact p { margin: 0 0 8px; color: #dbe6f4; font-size: 15px; }
.site-footer__contact a { color: #fff; }
.site-footer__legal { max-width: var(--maxw); margin: 40px auto 0; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 13px; color: #9fb2ca; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 860px) {
    .navburger { display: flex; }
    .site-nav {
        position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
        background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 4px;
        box-shadow: var(--shadow); display: none;
    }
    .navtoggle:checked ~ .site-nav { display: flex; }
    .site-nav__link.is-active::after { display: none; }
    .login-pop, .site-nav__cta { margin-left: 0; margin-top: 8px; }
    .login-pop__panel { position: static; width: 100%; box-shadow: none; padding: 14px 0 0; border: none; }
    .cards-3, .offer-teaser, .domains-grid, .pricing-grid, .contact-grid, .experts-grid, .offer-detail { grid-template-columns: 1fr; }
    .offer-plan__arrow { transform: rotate(90deg); }
    .form-row { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* Page Programmes */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.program-card__tag { display: inline-block; background: var(--sky); color: var(--navy); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.program-card h3 { font-size: 19px; margin: 0 0 8px; }
.program-card p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .programs-grid { grid-template-columns: 1fr; } }

/* Logo image (remplace le wordmark dessiné) */
.brand-img { height: 52px; width: auto; display: block; }
.brand-img--footer { height: 84px; }
.site-header__inner { height: 84px; }

/* Baseline hero (centré, gros) */
.hero__baseline {
    text-align: center;
    font-size: clamp(34px, 6vw, 60px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: 0 0 28px;
}
@media (max-width: 500px) { .brand-img { height: 44px; } }

/* Page tarif — titre offre de lancement + strike sur l'encart foncé */
.offer-launch-title { text-align: center; font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; color: var(--navy); margin: 0 0 28px; letter-spacing: -0.01em; }
.offer-plan__step--main .offer-plan__strike { color: #C8DFF4; }

/* ---------------------------------------------------------------- Programmes */
/* Grille cartes catégories (3 par ligne) */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prog-card { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .12s ease, box-shadow .12s ease; }
.prog-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(27,58,107,.16); text-decoration: none; }
.prog-card__img { aspect-ratio: 16 / 10; background: var(--bg-tint); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.prog-card__title { font-size: 18px; font-weight: 800; margin: 0; padding: 16px 18px; color: var(--navy); }

/* Page catégorie : présentation vidéo + texte */
.prog-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
.prog-intro__text h2 { font-size: 22px; margin: 0 0 12px; }
.prog-intro__text p { color: var(--muted); margin: 0; }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.prog-block { margin-bottom: 36px; }
.prog-block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.prog-block__title { font-size: 20px; font-weight: 800; margin: 0 0 14px; }
.prog-block__head .prog-block__title { margin: 0; }

.prog-res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prog-res-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .12s ease; }
.prog-res-card:hover { transform: translateY(-2px); text-decoration: none; }
.prog-res-card__thumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), var(--navy-d)); display: flex; align-items: center; justify-content: center; }
.prog-res-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.prog-res-card__play { color: rgba(255,255,255,.9); font-size: 30px; }
.prog-res-card__dur { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; padding: 2px 7px; border-radius: 5px; }
.prog-res-card__body { padding: 12px 14px; }
.prog-res-card__body h4 { margin: 0 0 4px; font-size: 15px; }
.prog-res-card__body p { margin: 0; font-size: 13px; color: var(--muted); }

/* Bloc verrouillé */
.prog-lock { text-align: center; max-width: 520px; margin: 0 auto; background: var(--bg-tint); border: 1px solid var(--line); border-radius: 16px; padding: 48px 32px; }
.prog-lock__icon { font-size: 40px; margin-bottom: 8px; }
.prog-lock h2 { font-size: 24px; margin: 0 0 10px; }
.prog-lock p { color: var(--muted); margin: 0 0 22px; }

@media (max-width: 860px) {
    .prog-grid, .prog-res-grid { grid-template-columns: 1fr 1fr; }
    .prog-intro { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .prog-grid, .prog-res-grid { grid-template-columns: 1fr; }
}

/* Indice ressources verrouillées + popup d'authentification */
.prog-hint { background: #fff7ed; border: 1px solid #fed7aa; color: #92400e; padding: 12px 16px; border-radius: 10px; font-size: 14px; margin: 0 0 24px; }
.prog-hint__link { color: var(--orange); font-weight: 700; text-decoration: underline; cursor: pointer; }
.prog-res-card--locked { cursor: pointer; }
.res-meta { display: flex; gap: 8px; flex-wrap: wrap; }

.auth-modal-toggle:checked ~ .auth-modal { display: flex; }
.auth-modal { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; padding: 20px; }
.auth-modal__backdrop { position: absolute; inset: 0; background: rgba(20,44,80,0.55); }
.auth-modal__box { position: relative; background: #fff; border-radius: var(--radius); box-shadow: 0 30px 70px rgba(0,0,0,.3); padding: 28px; width: 100%; max-width: 380px; }
.auth-modal__box h3 { margin: 0 0 6px; font-size: 20px; }
.auth-modal__box > p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.auth-modal__close { position: absolute; top: 10px; right: 14px; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }

/* Fil d'Ariane (structure des catégories) */
.breadcrumb { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--steel); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { color: var(--muted); }
.breadcrumb__current { color: var(--navy); }

/* Mon espace (front) */
.account-admin-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--sky); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 24px; }
.account-admin-cta h2 { margin: 0 0 4px; font-size: 20px; color: var(--navy); }
.account-admin-cta p { margin: 0; color: var(--navy-d); font-size: 14px; }
.account-info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.account-info-card h2 { margin: 0 0 16px; font-size: 20px; }
.account-facts { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.account-facts > div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.account-facts > div:last-child { border-bottom: none; padding-bottom: 0; }
.account-facts dt { color: var(--muted); font-size: 14px; margin: 0; }
.account-facts dd { margin: 0; font-weight: 600; text-align: right; }

/* Compteur de ressources à côté du nom de sous-catégorie */
.prog-block__count { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--bg-tint); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; margin-left: 8px; white-space: nowrap; }
