:root { --navy: #0a1a2f; --navy2: #13263f; --gold: #c9a24b; --gold-b: #e4c877; --cream: #f6f2e9; --muted: #8a95a5; --soft: #c7c3b6; --line: rgba(201, 162, 75, .28); --ok: #4ade80; color-scheme: dark; }
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: "Instrument Sans", system-ui, sans-serif; line-height: 1.55; color: var(--cream); background: linear-gradient(180deg, #0a1a2f, #0c2038); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: "Archivo", sans-serif; letter-spacing: -.02em; margin: 0; }
button, input, select { font: inherit; }
button { border: 0; border-radius: 10px; min-height: 44px; padding: 0 18px; font-family: "Archivo", sans-serif; font-weight: 700; cursor: pointer; background: linear-gradient(135deg, var(--gold), #b8963c); color: var(--navy); transition: transform .15s, opacity .15s; }
button:hover { transform: translateY(-2px); }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(228, 200, 119, .5); outline-offset: 2px; }
button:disabled { background: rgba(255, 255, 255, .08); color: var(--muted); cursor: default; transform: none; }
input { min-height: 48px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 10px; padding: 0 14px; background: rgba(255, 255, 255, .05); color: #fff; }
input::placeholder { color: var(--muted); }

/* Barre du haut, reprise de la page des formations */
.topbar { position: sticky; top: 0; z-index: 10; padding: 14px 0; background: rgba(7, 17, 30, .94); box-shadow: 0 6px 26px rgba(0, 0, 0, .34); backdrop-filter: saturate(140%) blur(10px); }
.tb-wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tb-brand { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); text-decoration: none; white-space: nowrap; }
.tb-brand span { color: var(--gold); }
.tb-nav { display: flex; align-items: center; gap: 18px; }
.tb-link { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 13.5px; letter-spacing: .04em; color: var(--cream); text-decoration: none; opacity: .85; white-space: nowrap; }
.tb-link:hover { opacity: 1; color: var(--gold-b); }
.tb-quit { min-height: auto; padding: 0; background: none; border-radius: 0; }
.tb-quit:hover { transform: none; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 56px 22px 80px; }
.head { text-align: center; margin-bottom: 40px; }
.eyebrow { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
h1 { font-size: clamp(30px, 5.5vw, 46px); font-weight: 900; margin-bottom: 14px; }
.head p { color: var(--soft); font-size: 17px; max-width: 48ch; margin: 0 auto; }
.message { min-height: 24px; color: var(--gold-b); font-weight: 600; }

/* Connexion */
.login-panel { max-width: 620px; margin: 0 auto; padding-top: 4vh; }
.login-card { background: var(--navy2); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.login-card label { display: block; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-b); margin-bottom: 10px; }
.email-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
#identity-form input, #identity-form select { width: 100%; margin-bottom: 18px; }
#identity-form select { min-height: 48px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 10px; padding: 0 14px; background: var(--navy); color: #fff; }
.identity-context { font-family: "Archivo", sans-serif; font-weight: 800; color: var(--cream); font-size: 18px; margin: 0 0 20px; }
.identity-context span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.identity-hint { color: var(--soft); font-size: 14.5px; margin: 0 0 16px; }
.identity-submit { width: 100%; margin-bottom: 14px; }
.email-row .btn { width: auto; }

/* Sections de l'Espace client */
.path-sections[hidden] { display: none; }
.path-section + .path-section { margin-top: 52px; }
.section-title { font-size: clamp(22px, 3.4vw, 28px); font-weight: 900; margin-bottom: 6px; padding-left: 14px; border-left: 4px solid var(--gold); }
.section-intro { color: var(--muted); font-size: 15px; margin: 0 0 20px; padding-left: 18px; }

/* Rattrapages des séances manquées */
.devoirs-liste { display: grid; gap: 12px; }
.devoir { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--navy2); border: 1px solid var(--gold); border-radius: 14px; padding: 18px 22px; }
.devoir h3 { font-size: 19px; font-weight: 900; margin: 4px 0; }
.devoir p { color: var(--soft); font-size: 14.5px; margin: 0; }
.devoir-etat { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-b); }
.devoir-retard { border-color: #f87171; }
.devoir-retard .devoir-etat { color: #f87171; }
.devoir-fait { border-color: var(--line); opacity: .7; }
.devoir-fait .devoir-etat { color: var(--ok); }
.devoir > div { flex: 1 1 320px; }
.devoir .devoir-btn { width: auto; min-width: 190px; }

/* Mon équipe (directeurs des ventes) */
.equipe-liste { display: grid; gap: 10px; }
.membre { background: var(--navy2); border: 1px solid var(--line); border-radius: 14px; padding: 0; }
.membre summary { cursor: pointer; list-style: none; padding: 16px 20px; }
.membre summary::-webkit-details-marker { display: none; }
.membre-poste { color: var(--muted); font-size: 14px; }
.membre-resume { color: var(--soft); font-size: 13.5px; margin: 4px 0 10px; }
.membre-retard { color: #f87171; }
.membre-barres { display: grid; gap: 6px; }
.membre-ligne { display: grid; grid-template-columns: 190px 1fr 56px; gap: 10px; align-items: center; font-size: 13px; color: var(--soft); }
.membre-ligne span:last-child { text-align: right; }
.membre-detail { border-top: 1px solid var(--line); padding: 12px 20px 16px; font-size: 13.5px; color: var(--soft); display: grid; gap: 4px; }
.membre-parcours { color: var(--cream); font-weight: 700; margin-top: 8px; }
.membre-module { padding-left: 14px; }
@media (max-width: 620px) { .membre-ligne { grid-template-columns: 1fr 56px; } .membre-ligne .progress { display: none; } }
.card-locked { opacity: .5; }
.card-locked:hover { transform: none; box-shadow: none; }

/* Cartes des guides */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards[hidden] { display: none; }
.card { position: relative; background: var(--navy2); border: 1px solid var(--line); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; transition: transform .18s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0, 0, 0, .4); }
.card-done { border-color: rgba(212, 175, 90, .55); }
.card .ic { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--gold), var(--gold-b)); display: flex; align-items: center; justify-content: center; color: var(--navy); margin-bottom: 18px; }
.ic svg { width: 27px; height: 27px; display: block; }
.card .meta { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-b); margin-bottom: 14px; }
.card h2 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.card p { color: var(--soft); font-size: 15px; flex: 1; margin: 0 0 20px; }
.done-badge { position: absolute; top: 16px; right: 16px; background: var(--ok); color: #0b2a17; font-family: "Archivo", sans-serif; font-weight: 900; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 20px; }
.progress { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-b)); border-radius: 6px; }
.progress-label { font-size: 13px; color: var(--muted); margin: 8px 0 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; font-size: 15px; padding: 14px; min-height: 50px; text-decoration: none; }

/* Guide ouvert et module */
.course-view { max-width: 860px; margin: 0 auto; }
.course-view > h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; margin-bottom: 8px; }
.back-link { min-height: auto; padding: 0; margin-bottom: 26px; background: none; color: var(--muted); font-family: "Instrument Sans", sans-serif; font-weight: 600; font-size: 14px; border-radius: 0; }
.back-link:hover { color: var(--gold); transform: none; }
.btn-ghost { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.btn-ghost:disabled { border-color: rgba(255, 255, 255, .12); background: transparent; }
.module-list { display: grid; gap: 12px; margin-top: 26px; }
.module-row { display: grid; grid-template-columns: 52px minmax(180px, 1fr) minmax(170px, auto) 140px; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--navy2); color: var(--cream); text-align: left; }
.module-row:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.module-row:disabled { background: rgba(19, 38, 63, .5); border-color: rgba(255, 255, 255, .06); color: var(--muted); }
.module-number { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 20px; color: var(--gold); }
.module-row:disabled .module-number { color: var(--muted); }
.module-name { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 16px; }
.module-meta { font-family: "Instrument Sans", sans-serif; font-weight: 500; font-size: 13px; color: var(--muted); }
.module-state { font-size: 12px; text-align: right; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-b); }
.module-row:disabled .module-state { color: var(--muted); }
.primary-action { margin-top: 24px; }
.module-heading { padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.module-heading h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; margin-bottom: 12px; }
.module-heading p:last-child { color: var(--soft); margin: 0; }
.slide-stage { min-height: 420px; margin: 28px 0 24px; padding: 32px; background: var(--navy2); border: 1px solid var(--line); border-radius: 16px; }
.slide-stage h3 { font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.slide-number { font-family: "Archivo", sans-serif; font-weight: 900; color: var(--gold); margin: 0 0 8px; }
.slide-lead { font-size: 1.08rem; font-weight: 600; line-height: 1.5; color: var(--gold-b); }
.slide-body { margin-top: 20px; line-height: 1.7; white-space: pre-line; color: var(--soft); }
.slide-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.slide-nav button:first-child { justify-self: start; }
.slide-nav button:last-child { justify-self: end; }
.slide-count { font-family: "Archivo", sans-serif; color: var(--muted); font-weight: 800; }
.quiz-host { padding-top: 12px; }
.quiz-host h3 { font-size: 22px; font-weight: 900; }
.quiz { display: grid; gap: 14px; margin: 22px 0; }
.quiz fieldset { margin: 0; padding: 20px 22px; background: var(--navy2); border: 1px solid var(--line); border-radius: 14px; }
.quiz legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 16px; }
.quiz fieldset label { clear: both; display: flex; gap: 12px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; color: var(--soft); cursor: pointer; }
.quiz fieldset label:hover { background: rgba(201, 162, 75, .08); color: var(--cream); }
.quiz input { min-height: auto; margin-top: 4px; accent-color: var(--gold); }
.quiz > button[type="submit"] { justify-self: start; }
.quiz-explanation { border-left: 3px solid var(--gold); padding-left: 12px; color: var(--soft); font-weight: 500; }

@media (max-width: 760px) {
  .tb-brand { font-size: 11.5px; letter-spacing: .1em; }
  .tb-nav { gap: 12px; }
  .tb-link { font-size: 12.5px; }
  .cards { grid-template-columns: 1fr; }
  .email-row { grid-template-columns: 1fr; }
  .email-row .btn { width: 100%; }
  .module-row { grid-template-columns: 40px 1fr; }
  .module-meta, .module-state { grid-column: 2; text-align: left; }
  .slide-stage { min-height: 340px; padding: 22px; }
  .wrap { padding-top: 34px; }
}
@media (max-width: 620px) { .tb-brand { display: none; } .tb-nav { width: 100%; } }

/* Accueil à la première connexion */
.welcome { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #13263f, #0c2038); color: var(--cream); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); overflow: auto; }
.welcome::backdrop { background: rgba(4, 10, 20, .72); backdrop-filter: blur(3px); }
.welcome-close { position: absolute; top: 10px; right: 10px; min-height: 36px; width: 36px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--cream); font-size: 22px; line-height: 1; }
.welcome-body { padding: 34px 30px 8px; }
.welcome-icon { font-size: 40px; line-height: 1; margin-bottom: 14px; }
.welcome-step { margin: 0 0 6px; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.welcome h2 { font-size: 24px; margin-bottom: 12px; }
.welcome-body p:not(.welcome-step) { margin: 0 0 12px; color: var(--soft); font-size: 16px; }
.welcome-dots { display: flex; gap: 6px; justify-content: center; padding: 8px 0 4px; }
.welcome-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.welcome-dots span.on { width: 22px; border-radius: 4px; background: var(--gold); }
.welcome-actions { display: flex; justify-content: space-between; gap: 10px; padding: 14px 30px 26px; }
.welcome-next { margin-left: auto; }
.welcome-back { background: rgba(255, 255, 255, .08); color: var(--cream); }

/* Formations gratuites du catalogue */
.gratuites { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(19, 38, 63, .6); }
.gratuites summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 17px; list-style: none; }
.gratuites summary::-webkit-details-marker { display: none; }
.gratuites summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.gratuites[open] summary::after { content: "–"; }
.gratuites-nb { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 600; }
.gratuites-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 20px 20px; }
.gratuite { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 12px; background: var(--navy2); border: 1px solid rgba(255, 255, 255, .07); color: var(--cream); text-decoration: none; transition: border-color .15s, transform .15s; }
.gratuite:hover { border-color: var(--gold); transform: translateY(-2px); }
.gratuite strong { font-family: "Archivo", sans-serif; font-size: 15.5px; line-height: 1.3; }
.gratuite span { color: var(--soft); font-size: 13.5px; line-height: 1.45; flex: 1; }
.gratuite em { color: var(--gold-b); font-style: normal; font-weight: 700; font-size: 13px; }
@media (max-width: 900px) { .gratuites-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gratuites-grille { grid-template-columns: 1fr; } .gratuites summary { padding: 14px 16px; } .gratuites-grille { padding: 0 16px 16px; } }
.extras-compte { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 6px; padding: 14px 18px; border-radius: 12px; background: rgba(201, 162, 75, .1); border: 1px solid var(--line); }
.extras-compte strong { font-family: "Archivo", sans-serif; font-size: 16px; color: var(--gold-b); }
.extras-compte span { color: var(--soft); font-size: 14px; }
.gratuite-faite { border-color: rgba(74, 222, 128, .45); }
.gratuite-faite em { color: var(--ok); }

/* Accueil : aperçu des formations extra et visite guidée */
.welcome-apercu { margin: 6px 0 12px; padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, .22); border: 1px dashed rgba(201, 162, 75, .45); display: flex; flex-direction: column; gap: 8px; }
.welcome-apercu-compte { font-family: "Archivo", sans-serif; font-weight: 800; color: var(--gold-b); font-size: 14.5px; }
.welcome-apercu-carte { padding: 12px 14px; transform: none !important; }
.welcome-apercu-carte strong { font-size: 14px; }
.welcome-apercu-courriel { color: var(--muted); font-size: 12.5px; }
.welcome-montrer { width: 100%; margin: 4px 0 6px; background: rgba(201, 162, 75, .14); color: var(--gold-b); border: 1px solid var(--gold); }
.spotlight { position: relative; z-index: 60; border-radius: 14px; box-shadow: 0 0 0 4px var(--gold), 0 0 0 100vmax rgba(4, 10, 20, .78); animation: pulse-guide 1.6s ease-in-out infinite; background: var(--navy); }
@keyframes pulse-guide { 50% { box-shadow: 0 0 0 9px rgba(201, 162, 75, .55), 0 0 0 100vmax rgba(4, 10, 20, .78); } }
@media (prefers-reduced-motion: reduce) { .spotlight { animation: none; } }
.bulle-guide { position: fixed; z-index: 70; left: 50%; transform: translateX(-50%); width: min(420px, calc(100vw - 32px)); padding: 16px 18px; border-radius: 14px; background: var(--cream); color: var(--navy); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.bulle-guide strong { font-family: "Archivo", sans-serif; font-size: 16px; }
.bulle-guide p { margin: 6px 0 12px; font-size: 14.5px; color: #24364d; }
.bulle-ok { width: 100%; }
.extras-entete { scroll-margin-top: 84px; padding: 8px 0; }
.spotlight.extras-entete { padding: 10px 12px; }

/* Directeur général : Mon groupe */
.groupe-onglets { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: thin; }
.groupe-onglet { flex: 0 0 auto; min-height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--cream); border: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.groupe-onglet[aria-selected="true"] { background: linear-gradient(135deg, var(--gold), #b8963c); color: var(--navy); border-color: var(--gold); }
.groupe-total { margin: 0 0 12px; color: var(--soft); font-size: 14.5px; }
.groupe-tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.groupe-tuile { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-height: 0; padding: 18px; text-align: left; border-radius: 14px; background: var(--navy2); color: var(--cream); border: 1px solid var(--line); font-family: inherit; font-weight: 400; }
.groupe-tuile:hover { border-color: var(--gold); }
.groupe-tuile-alerte { border-color: rgba(248, 113, 113, .55); }
.groupe-tuile-nom { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 16.5px; }
.groupe-tuile em { color: var(--gold-b); font-style: normal; font-weight: 700; font-size: 13px; }
.groupe-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.groupe-stat { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.groupe-stat strong { font-family: "Archivo", sans-serif; font-size: 18px; line-height: 1.1; }
.groupe-stat span { color: var(--muted); font-size: 11.5px; text-align: center; }
.stat-retard strong { color: #f87171; }
.stat-extra strong { color: var(--gold-b); }
@media (max-width: 900px) { .groupe-tuiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .groupe-tuiles { grid-template-columns: 1fr; } }

/* Connexion par la page du groupe : courriel + code de la concession */
#groupe-form input { width: 100%; }
.g-label-code { margin-top: 16px; }
.g-voir { min-height: 48px; padding: 0 14px; background: rgba(255, 255, 255, .08); color: var(--cream); }
.g-submit { width: 100%; margin-top: 18px; }
.g-code-row { display: flex; gap: 8px; align-items: stretch; }
.g-code-row input { flex: 1; min-width: 0; }

/* Podium du mois */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 12px; max-width: 640px; margin: 8px auto 0; }
.marche { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; padding: 16px 10px 46px; border-radius: 14px 14px 6px 6px; background: var(--navy2); border: 1px solid var(--line); text-align: center; }
.marche-1 { min-height: 190px; border-color: var(--gold); background: linear-gradient(180deg, rgba(201, 162, 75, .22), var(--navy2)); }
.marche-2 { min-height: 155px; }
.marche-3 { min-height: 130px; }
.marche-moi { box-shadow: 0 0 0 2px var(--ok); }
.marche-medaille { font-size: 34px; line-height: 1; }
.marche-nom { font-family: "Archivo", sans-serif; font-size: 15px; line-height: 1.25; }
.marche-points { color: var(--gold-b); font-weight: 700; font-size: 13.5px; }
.marche-rang { position: absolute; bottom: 8px; font-family: "Archivo", sans-serif; font-weight: 900; font-size: 26px; color: rgba(255, 255, 255, .18); }
.marche-detail { color: var(--muted); font-size: 12px; line-height: 1.3; }
.podium-sous-titre { font-family: "Archivo", sans-serif; font-size: 17px; margin: 22px 0 4px; text-align: center; }
.podium-aide { color: var(--muted); font-size: 13px; text-align: center; margin: 0 0 6px; }
.podium-vide { color: var(--soft); text-align: center; margin: 6px 0; }
.podium-moi { text-align: center; margin: 14px 0 0; color: var(--cream); font-weight: 600; }
.podium-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.podium-carte { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: var(--navy2); border: 1px solid var(--line); }
.podium-concession { font-family: "Archivo", sans-serif; font-size: 15.5px; }
.podium-detail { color: var(--muted); font-size: 12.5px; }
.podium-compact { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin: 0; max-width: none; }
.podium-compact .marche { flex-direction: row; justify-content: flex-start; min-height: 0; padding: 8px 10px; border-radius: 10px; text-align: left; gap: 10px; }
.podium-compact .marche-medaille { font-size: 20px; }
.podium-compact .marche-nom { flex: 1; font-size: 14px; }
.podium-compact .marche-rang { display: none; }
.podium-compact .podium-vide { text-align: left; font-size: 13.5px; }
@media (max-width: 900px) { .podium-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .podium-grille { grid-template-columns: 1fr; } .podium { gap: 8px; } .marche-nom { font-size: 13.5px; } .marche-medaille { font-size: 28px; } }

/* Mon horaire : séances à venir, jour par jour (vente privée en rouge à côté du thème) */
.btn-horaire { margin-top: 18px; background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.btn-horaire:hover { background: rgba(201, 162, 75, .12); }
.horaire-titre { font-size: clamp(26px, 4vw, 34px); font-weight: 900; margin-bottom: 8px; }
.horaire-jour { background: var(--navy2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
.horaire-jour h3 { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.horaire-ligne { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.horaire-ligne:first-of-type { border-top: 0; }
.horaire-quand { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 14px; color: var(--soft); }
.horaire-quoi { min-width: 0; overflow-wrap: anywhere; }
.horaire-theme { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 17px; }
.horaire-vide { color: var(--muted); }
.horaire-vente { color: #f87171; }
.horaire-concession { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
@media (max-width: 600px) { .horaire-ligne { grid-template-columns: 1fr; gap: 2px; } .horaire-jour { padding: 14px 16px; } }

/* Gérer mon staff (directeurs) */
.btn-staff { margin: 0 0 16px 18px; }
.staff-carte { background: var(--navy2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; }
.staff-carte h3 { font-size: 17px; font-weight: 900; margin-bottom: 12px; }
.staff-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; align-items: end; }
.staff-champ { display: grid; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-b); }
.staff-champ input, .staff-champ select { min-height: 44px; width: 100%; border: 1px solid rgba(255, 255, 255, .15); border-radius: 10px; padding: 0 12px; background: #13263f; color: #fff; font-size: 15px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.staff-actions { display: flex; gap: 12px; align-items: center; grid-column: 1 / -1; }
.staff-actions .btn { width: auto; min-height: 44px; padding: 0 18px; }
.staff-message { grid-column: 1 / -1; margin: 0; color: #f87171; }
.staff-message:empty { display: none; }
.staff-aide { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }
.staff-ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.staff-ligne > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.staff-courriel { color: var(--muted); font-size: 13px; }
.staff-boutons { display: flex; gap: 8px; }
.staff-lien { min-height: 36px; padding: 0 12px; background: rgba(255, 255, 255, .06); color: var(--cream); border: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; }
.staff-danger { color: #f87171; border-color: rgba(248, 113, 113, .5); }
.staff-retires { opacity: .8; }
.staff-carte .staff-form { margin-top: 4px; }

/* Assigner une formation (directeurs) et formations obligatoires */
.equipe-boutons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.equipe-boutons .btn-staff { margin: 0; }
.assigner-personnes { grid-column: 1 / -1; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; padding: 10px 14px 12px; margin: 0; min-width: 0; }
.assigner-personnes legend { padding: 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-b); }
.assigner-personnes label { display: flex; align-items: center; gap: 10px; min-height: 40px; overflow-wrap: anywhere; cursor: pointer; }
.assigner-personnes input { width: 20px; height: 20px; flex: none; accent-color: var(--gold); }
.assigner-tous { font-weight: 800; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.staff-message.staff-succes { color: #4ade80; }

/* Infolettre */
.infolettre-case { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; background: rgba(201, 162, 75, .1); border: 1px solid var(--line); cursor: pointer; }
.infolettre-case input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gold-b); }
.infolettre-msg { display: block; min-height: 1.2em; margin-top: 8px; color: var(--gold-b); font-size: 14px; }

/* Session en pause (5 minutes sans activité) */
.pause-session { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 26, 47, .88); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pause-boite { max-width: 420px; width: 100%; background: var(--navy2); border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; text-align: center; }
.pause-boite h2 { margin: 0 0 10px; font-family: "Archivo", sans-serif; color: var(--gold-b); }
.pause-boite p { margin: 0 0 18px; color: var(--soft); line-height: 1.5; }

/* Vue client ouverte depuis l'admin */
.bandeau-apercu { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1500; background: var(--gold-b); color: var(--navy); font-weight: 700; font-size: 14px; text-align: center; padding: 8px 16px; }

/* Favoris (étoile) */
.etoile { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(10, 26, 47, .7); color: var(--soft); font-size: 19px; line-height: 1; cursor: pointer; padding: 0; z-index: 2; }
.etoile { min-height: 36px; font-family: inherit; transition: color .15s, border-color .15s; }
.etoile:hover { color: var(--gold-b); border-color: var(--gold); transform: none; }
.etoile-active { color: var(--gold); border-color: var(--gold); }
.card .done-badge { right: 58px; }
.card h2 { padding-right: 34px; }
.gratuite-cellule { position: relative; display: flex; }
.gratuite-cellule .gratuite { flex: 1; padding-right: 54px; }
.favoris-liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.favori { position: relative; display: flex; }
.favori-ouvrir { flex: 1; display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px 56px 14px 16px; border-radius: 12px; background: var(--navy2); border: 1px solid rgba(201, 162, 75, .35); color: var(--cream); text-decoration: none; font: inherit; cursor: pointer; }
.favori-ouvrir:disabled { opacity: .55; cursor: default; }
.favori-ouvrir strong { font-family: "Archivo", sans-serif; font-size: 15px; line-height: 1.3; }
.favori-ouvrir span { color: var(--muted); font-size: 12.5px; }
.favori .etoile, .favori .etoile:hover { top: 50%; transform: translateY(-50%); }
.favori-ouvrir:hover { transform: none; border-color: var(--gold); }
@media (max-width: 700px) { .favoris-liste { grid-template-columns: 1fr; } }
