/* Pages publiques refaites (version 4 de la maquette) : Accompagnements (mes-services.html), Programmes (formations.html).
   Toutes les classes commencent par « a- » pour ne rien toucher ailleurs.
   Couleurs : variables --rtp-* de theme.css, donc clair et sombre suivent le réglage du site. */

.acc { --a-r: 12px; --a-btn: #0F4CA9; background: var(--rtp-surface); color: var(--rtp-ink); }
html:not(.light) .acc { --a-btn: #2563C9; }
.acc h1, .acc h2, .acc h3 { font-family: 'Oswald', 'Arial Narrow', sans-serif; text-transform: uppercase; font-weight: 700; letter-spacing: .005em; line-height: 1.2; margin: 0; text-wrap: balance; }
.acc p, .acc ul { margin: 0; }
.acc em { font-style: normal; color: var(--rtp-blue); }
.acc :focus-visible { outline: 3px solid #2D7AED; outline-offset: 3px; border-radius: 4px; }
.acc img { display: block; max-width: 100%; }

.a-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: 24px; }
@media (min-width: 900px) { .a-wrap { padding-inline: 80px; } }

.a-eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rtp-navy); }
.a-head { display: grid; gap: 16px; max-width: 720px; }
.a-sec { padding-block: 88px; }
.a-sec h2 { font-size: clamp(32px, 4vw, 54px); }
@media (max-width: 899px) { .a-sec { padding-block: 64px; } }

/* Boutons et liens */
.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: var(--a-r); background: var(--a-btn); color: #fff; font-weight: 600; font-size: 15.5px; text-align: center; transition: transform .18s ease, filter .18s ease; }
.a-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.a-btn:active { transform: scale(.98); }
.a-btn svg { width: 18px; height: 18px; flex: none; transition: transform .18s ease; }
.a-btn:hover svg { transform: translateX(3px); }
.a-btn.white { background: #fff; color: #0F4CA9; }
.a-tlink { font-weight: 600; font-size: 15.5px; color: var(--rtp-navy); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .2s ease; }
.a-tlink:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.a-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }

/* 1. Haut de page, photo à droite */
.a-hero { position: relative; overflow: hidden; background: var(--rtp-night); color: #fff; padding-block: 120px; }
.a-hero .a-bg { position: absolute; inset: 0 0 0 34%; }
.a-hero .a-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.a-hero .a-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0A1730 0%, rgba(10,23,48,.85) 18%, rgba(10,23,48,.35) 50%, rgba(10,23,48,.15) 100%); }
.a-hero .a-wrap { position: relative; }
.a-hero-copy { display: grid; gap: 24px; max-width: 640px; }
.a-hero .a-eyebrow { color: var(--rtp-sky); }
.a-hero h1 { font-size: clamp(40px, 5.2vw, 72px); }
.a-hero h1 em { color: var(--rtp-sky); }
.a-lede { font-size: 18px; color: #E1E8F4; max-width: 32em; line-height: 1.6; white-space: pre-line; }
.a-hero .a-tlink { color: #fff; }
@media (max-width: 899px) {
  .a-hero { padding-block: 200px 64px; }
  .a-hero .a-bg { inset: 0; }
  .a-hero .a-bg::after { background: linear-gradient(180deg, rgba(10,23,48,.45) 0%, rgba(10,23,48,.93) 55%); }
  .a-hero .a-btn { width: 100%; }
}

/* 2. L'offre phare */
.a-star .a-wrap { display: grid; gap: 40px; }
.a-flag { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border: 2px solid var(--rtp-navy); border-radius: var(--a-r); overflow: hidden; background: var(--rtp-surface); box-shadow: 0 40px 80px -50px rgba(11,20,36,.45); }
.a-flag .a-im { position: relative; min-height: 100%; }
.a-flag .a-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.a-flag .a-bd { padding: 40px 44px; display: grid; gap: 18px; align-content: center; }
.a-flag h3 { font-size: clamp(26px, 2.6vw, 36px); }
.a-badge { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--a-btn); border-radius: 999px; padding: 7px 14px; }
.a-badge svg { width: 14px; height: 14px; }
.a-desc { display: grid; gap: 8px; color: var(--rtp-muted); font-size: 16px; line-height: 1.6; }
.a-flag .a-desc p:first-child { font-size: 17px; color: var(--rtp-ink); }
.a-ticks { display: grid; gap: 18px; }
@media (min-width: 1100px) { .a-flag .a-ticks.two-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.a-group { display: grid; gap: 10px; align-content: start; }
.a-group b { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rtp-muted); }
.a-group ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.a-group li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.a-group li svg { flex: none; width: 20px; height: 20px; color: var(--rtp-blue); margin-top: 1px; }
.a-price { border-top: 1px solid var(--rtp-line); padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
@media (max-width: 899px) {
  .a-flag { grid-template-columns: minmax(0, 1fr); }
  .a-flag .a-im { aspect-ratio: 4 / 3; }
  .a-flag .a-bd { padding: 24px; }
  .a-price .a-btn { width: 100%; }
}

/* 3. Les autres formules */
.a-more { background: var(--rtp-soft); }
.a-more .a-wrap { display: grid; gap: 40px; }
.a-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.a-offer { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: var(--a-r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: box-shadow .2s ease; }
.a-offer:hover { box-shadow: 0 24px 48px -28px rgba(11,20,36,.35); }
.a-offer .a-im { height: clamp(180px, 24svh, 240px); overflow: hidden; }
.a-offer .a-im img { width: 100%; height: 100%; object-fit: cover; }
.a-offer .a-bd { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.a-k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rtp-navy); }
.a-offer h3 { font-size: clamp(24px, 2.3vw, 32px); }
.a-offer .a-desc { font-size: 15px; }
.a-offer .a-group li { font-size: 14.5px; }
.a-offer .a-ticks { padding-top: 4px; }
.a-offer .a-actions { margin-top: auto; padding-top: 8px; gap: 14px 20px; }
.a-offer.soon { border-style: dashed; opacity: .75; }
@media (max-width: 899px) {
  .a-grid { grid-template-columns: minmax(0, 1fr); }
  .a-offer .a-im { height: auto; aspect-ratio: 16 / 10; }
  .a-offer .a-bd { padding: 24px; }
  .a-offer .a-btn { width: 100%; }
}

/* 4. Avis clients */
.a-proof .a-wrap { display: grid; gap: 32px; }
.a-proof-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.a-arrows { display: flex; gap: 10px; }
.a-arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--rtp-navy); background: var(--rtp-surface); color: var(--rtp-navy); display: grid; place-items: center; cursor: pointer; transition: background .18s ease, color .18s ease; }
.a-arrows button:hover:not(:disabled) { background: var(--rtp-navy); color: #fff; }
.a-arrows button:disabled { opacity: .35; cursor: default; }
.a-arrows svg { width: 20px; height: 20px; }
.a-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 400px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.a-track::-webkit-scrollbar { display: none; }
.a-q { scroll-snap-align: start; margin: 0; border: 1px solid var(--rtp-line); border-radius: var(--a-r); padding: 28px; display: grid; grid-template-rows: auto 1fr auto auto; gap: 16px; background: var(--rtp-surface); }
.a-tag { justify-self: start; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rtp-navy); background: var(--rtp-tint); border-radius: 999px; padding: 5px 10px; }
.a-q blockquote { margin: 0; font-size: 16.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.a-read { justify-self: start; appearance: none; border: 0; background: none; padding: 0 0 2px; font: 600 14.5px/1.4 'Poppins', sans-serif; color: var(--rtp-navy); cursor: pointer; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1.5px; background-position: 0 100%; background-repeat: no-repeat; }
.a-who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--rtp-line); padding-top: 16px; }
.a-who span { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--rtp-tint); color: var(--rtp-navy); display: grid; place-items: center; font-family: 'Oswald', sans-serif; font-weight: 600; }
.a-who b { font-weight: 600; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .a-track { grid-auto-columns: 86%; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; }
  .a-arrows { display: none; }
}
dialog.a-full { border: 0; border-radius: var(--a-r); padding: 0; max-height: calc(100svh - 48px); overflow: auto; overscroll-behavior: contain; width: min(560px, calc(100% - 32px)); background: var(--rtp-surface); color: var(--rtp-ink); box-shadow: 0 40px 80px -30px rgba(11,20,36,.55); }
dialog.a-full::backdrop { background: rgba(10,23,48,.6); }
dialog.a-full .a-in { padding: 28px; display: grid; gap: 16px; }
dialog.a-full h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 26px; margin: 0; }
dialog.a-full p { font-size: 16.5px; line-height: 1.7; white-space: pre-line; margin: 0; }
dialog.a-full .a-x { justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); cursor: pointer; display: grid; place-items: center; }
dialog.a-full .a-x svg { width: 18px; height: 18px; }

/* 5. Fin : pas sûr de ton choix */
.a-close { background: var(--rtp-soft); }
.a-close .a-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.a-close .a-txt { display: grid; gap: 24px; }
.a-close .a-txt p { font-size: 17px; color: var(--rtp-muted); max-width: 30em; }
.a-close .a-im { border-radius: var(--a-r); overflow: hidden; aspect-ratio: 1 / 1; max-height: 520px; width: 100%; justify-self: end; }
.a-close .a-im img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 899px) {
  .a-close .a-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .a-close .a-btn { width: 100%; }
}

/* 6. Newsletter sur fond nuit */
.a-news { background: var(--rtp-night); color: #fff; padding-block: 88px; }
.a-news .a-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.a-news .a-eyebrow { color: var(--rtp-sky); }
.a-news h2 { font-size: clamp(30px, 3.6vw, 50px); }
.a-news h2 em { color: var(--rtp-sky); }
.a-news .a-txt { display: grid; gap: 18px; }
.a-news .a-txt p { color: #E1E8F4; font-size: 17px; max-width: 30em; }
.a-news small { display: block; font-size: 13px; color: #C9D4E5; line-height: 1.6; margin-top: 14px; }
.a-news .ml-embedded { min-height: 60px; }
@media (max-width: 899px) {
  .a-news { padding-block: 64px; }
  .a-news .a-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .acc *, .acc *::before, .acc *::after { transition: none !important; }
  .a-track { scroll-behavior: auto; }
}

/* ===== Programmes (formations.html) ===== */
.a-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: #E1E8F4; }
.a-facts span { display: inline-flex; align-items: center; gap: 8px; }
.a-facts svg { width: 18px; height: 18px; color: var(--rtp-sky); }

.a-cat .a-wrap { display: grid; gap: 32px; }
.a-cat-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.a-cat-top > * { min-width: 0; }
.a-filters { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.a-filters button { appearance: none; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); font: 500 14.5px/1 'Poppins', sans-serif; padding: 12px 18px; border-radius: 999px; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.a-filters button:hover { border-color: var(--rtp-navy); }
.a-filters button[aria-pressed="true"] { background: var(--a-btn); border-color: var(--a-btn); color: #fff; }
.a-progs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.a-progs > * { min-width: 0; }
.a-prog { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: var(--a-r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .2s ease, box-shadow .2s ease; }
.a-prog:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(11,20,36,.35); }
.a-prog[hidden] { display: none; }
.a-prog .a-im { aspect-ratio: 16 / 10; overflow: hidden; background: var(--rtp-night); }
.a-prog .a-im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.a-prog:hover .a-im img { transform: scale(1.03); }
.a-prog .a-bd { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.a-prog h3 { font-size: 24px; }
.a-prog p { font-size: 14.5px; color: var(--rtp-muted); }
.a-prog-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rtp-line); }
.a-prix { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 22px; }
.a-prix.free { color: var(--rtp-navy); }
.a-go { font-weight: 600; color: var(--rtp-navy); display: inline-flex; gap: 6px; align-items: center; font-size: 15px; }
.a-go svg { width: 18px; height: 18px; transition: transform .18s ease; }
.a-prog:hover .a-go svg { transform: translateX(4px); }
.a-empty { border: 1.5px dashed var(--rtp-line); border-radius: var(--a-r); padding: 40px 28px; display: grid; gap: 14px; justify-items: start; max-width: 640px; }
.a-empty h3 { font-size: 26px; }
.a-empty p { color: var(--rtp-muted); }
@media (max-width: 1023px) { .a-progs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .a-progs { grid-template-columns: minmax(0, 1fr); }
  .a-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -24px; padding-inline: 24px; scrollbar-width: none; }
  .a-filters button { flex: none; }
}

.a-inside { background: var(--rtp-soft); }
.a-inside .a-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.a-inside .a-txt { display: grid; gap: 24px; }
.a-list { display: grid; border-top: 1px solid var(--rtp-line); }
.a-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rtp-line); align-items: start; }
.a-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--rtp-tint); color: var(--rtp-navy); display: grid; place-items: center; }
.a-ic svg { width: 24px; height: 24px; }
.a-row b { display: block; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.a-row p { color: var(--rtp-muted); }
.a-phone { justify-self: center; width: min(360px, 100%); background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: 28px; padding: 22px; box-shadow: 0 40px 80px -40px rgba(11,20,36,.45); display: grid; gap: 16px; }
.a-ph-top { display: grid; gap: 6px; padding: 16px; border-radius: 16px; background: var(--rtp-night); color: #fff; }
.a-ph-top small { font-size: 12.5px; color: var(--rtp-sky); }
.a-ph-top b { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 24px; }
.a-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
.a-bar i { display: block; width: 40%; height: 100%; background: #2D7AED; }
.a-phone ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.a-phone li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--rtp-line); }
.a-phone li > span { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--rtp-tint); color: var(--rtp-navy); display: grid; place-items: center; }
.a-phone li > span svg { width: 20px; height: 20px; }
.a-phone li b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.a-phone li small { font-size: 12.5px; color: var(--rtp-muted); }
.a-phone li.done { opacity: .55; }
.a-phone li.now { border-color: var(--rtp-navy); box-shadow: inset 0 0 0 1px var(--rtp-navy); }
.a-phone li.lock > span { background: var(--rtp-soft); color: var(--rtp-muted); }
@media (max-width: 899px) { .a-inside .a-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (prefers-reduced-motion: reduce) { .a-prog:hover, .a-prog:hover .a-im img { transform: none; } }
.a-prog .a-tag { align-self: flex-start; }

/* ===== Qui suis-je (a-propos.html) : chaque bloc de l'admin « À propos » ===== */
.a-hero .a-bg.portrait img { object-position: 50% 20%; }
/* Texte libre : titre à gauche, texte à droite (ou photo à côté quand le bloc en a une) */
.a-txtbloc + .a-txtbloc { padding-top: 0; }
.a-txtbloc + .a-txtbloc .a-wrap { border-top: 1px solid var(--rtp-line); padding-top: 64px; }
.a-twocol { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.a-twocol .a-head { position: sticky; top: 104px; }
.a-prose { display: grid; gap: 16px; font-size: 17px; line-height: 1.7; color: var(--rtp-muted); max-width: 38em; }
.a-story .a-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.a-story .a-im { border-radius: var(--a-r); overflow: hidden; aspect-ratio: 1 / 1; max-height: 560px; width: 100%; }
.a-story .a-im img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.a-story .a-txt { display: grid; gap: 22px; }
@media (max-width: 899px) {
  .a-twocol, .a-story .a-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .a-twocol .a-head { position: static; }
  .a-txtbloc + .a-txtbloc .a-wrap { padding-top: 48px; }
}

/* Les trois piliers, sur fond bleu */
.a-pillars { background: #13306B; color: #fff; }
.a-pillars .a-wrap { display: grid; gap: 48px; }
.a-pillars h2 { max-width: 20em; }
.a-pillars h2 em { color: var(--rtp-sky); }
.a-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.a-steps li { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 2px solid rgba(255,255,255,.35); }
.a-steps i { font-style: normal; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: .12em; color: var(--rtp-sky); }
.a-steps b { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; }
.a-steps p { color: #E1E8F4; line-height: 1.6; }
.a-steps q { quotes: none; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 17px; line-height: 1.3; color: #fff; padding-left: 14px; border-left: 3px solid #2D7AED; }
.a-steps q em { color: var(--rtp-sky); }
@media (max-width: 899px) { .a-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* La devise, sur fond nuit, avec une photo */
.a-motto { background: var(--rtp-night); color: #fff; }
.a-motto .a-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.a-motto blockquote { margin: 0; display: grid; gap: 22px; }
.a-motto blockquote p { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 700; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.2; text-wrap: balance; }
.a-motto blockquote p + p { font-size: clamp(22px, 2.2vw, 30px); color: var(--rtp-sky); }
.a-motto cite { font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rtp-sky); }
.a-motto .a-im { border-radius: var(--a-r); overflow: hidden; aspect-ratio: 1 / 1; max-height: 520px; width: 100%; justify-self: end; }
.a-motto .a-im img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .a-motto .a-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Grille de points forts */
.a-features { background: var(--rtp-soft); }
.a-features .a-wrap { display: grid; gap: 40px; }
.a-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.a-feat > div { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: var(--a-r); padding: 26px; display: grid; gap: 10px; align-content: start; }
.a-feat b { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 20px; line-height: 1.25; color: var(--rtp-navy); }
.a-feat p { color: var(--rtp-muted); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 899px) { .a-feat { grid-template-columns: minmax(0, 1fr); } }

/* Questions fréquentes */
.a-faq .a-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.a-faq .a-head { position: sticky; top: 104px; }
.a-qa { border-top: 1px solid var(--rtp-line); }
.a-qa details { border-bottom: 1px solid var(--rtp-line); }
.a-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 17.5px; line-height: 1.4; }
.a-qa summary::-webkit-details-marker { display: none; }
.a-qa summary svg { flex: none; width: 22px; height: 22px; color: var(--rtp-navy); transition: transform .2s ease; }
.a-qa details[open] summary svg { transform: rotate(45deg); }
.a-qa details p { padding: 0 0 24px; color: var(--rtp-muted); font-size: 16.5px; line-height: 1.7; max-width: 38em; white-space: pre-line; }
@media (max-width: 899px) { .a-faq .a-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } .a-faq .a-head { position: static; } }

/* Bandeau d'appel au milieu de la page */
.a-band .a-wrap > div { border: 2px solid var(--rtp-navy); border-radius: var(--a-r); padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.a-band h2 { font-size: clamp(26px, 2.8vw, 36px) !important; }
.a-band p { color: var(--rtp-muted); margin-top: 8px; max-width: 34em; }
@media (max-width: 899px) { .a-band .a-btn { width: 100%; } }
.a-sec.a-band { padding-block: 24px 72px; }

/* ===== Connexion et inscription (login.html, signup.html) ===== */
.a-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - 65px); }
.a-auth .a-ph { position: relative; background: var(--rtp-night); color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.a-auth .a-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.a-auth .a-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,23,48,.1) 30%, rgba(10,23,48,.92) 85%); }
.a-auth .a-ph > div { position: relative; z-index: 1; padding: 56px; display: grid; gap: 14px; max-width: 560px; }
.a-auth .a-ph h2 { font-size: clamp(32px, 3.4vw, 46px); }
.a-auth .a-ph h2 em { color: var(--rtp-sky); }
.a-auth .a-ph p { color: #E1E8F4; }
.a-side { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.a-box { width: 100%; max-width: 420px; display: grid; gap: 20px; }
.a-box h1 { font-size: clamp(32px, 3.6vw, 44px); }
.a-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--rtp-soft); border-radius: 12px; padding: 4px; }
.a-tabs a { display: grid; place-items: center; border-radius: 9px; min-height: 46px; font-weight: 600; font-size: 15px; color: var(--rtp-muted); text-align: center; }
.a-tabs a[aria-current="page"] { background: var(--rtp-surface); color: var(--rtp-ink); box-shadow: 0 2px 8px -3px rgba(11,20,36,.2); }
.a-g { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; border-radius: 12px; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); font-weight: 600; font-size: 15px; cursor: pointer; width: 100%; }
.a-g:hover { border-color: var(--rtp-navy); }
.a-g svg { width: 20px; height: 20px; }
.a-or { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; font-size: 13px; color: var(--rtp-muted); }
.a-or::before, .a-or::after { content: ""; height: 1px; background: var(--rtp-line); }
.a-form { display: grid; gap: 16px; }
.a-label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--rtp-muted); }
.a-field { display: block; width: 100%; min-height: 52px; border: 1px solid var(--rtp-line); border-radius: 10px; padding: 0 16px; font: inherit; font-size: 16px; font-weight: 400; color: var(--rtp-ink); background: var(--rtp-surface); }
.a-field:focus { outline: none; border-color: var(--rtp-navy); box-shadow: 0 0 0 3px rgba(45,122,237,.25); }
.a-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a-row2 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; font-size: 14px; }
.a-row2 a, .a-small a { color: var(--rtp-navy); font-weight: 600; }
.a-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--rtp-muted); cursor: pointer; font-weight: 400; }
.a-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #0F4CA9; flex: none; }
.a-box .a-btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.a-box .a-btn:disabled { opacity: .6; cursor: default; transform: none; }
.a-err { font-size: 14px; color: var(--rtp-bad); background: var(--rtp-bad-fond); border-radius: 10px; padding: 10px 14px; }
.a-small { font-size: 13px; color: var(--rtp-muted); text-align: center; line-height: 1.5; }
.a-done { display: grid; gap: 14px; text-align: center; justify-items: center; }
.a-done svg { width: 48px; height: 48px; color: var(--rtp-blue); }
.a-done h2 { font-size: 28px; }
.a-done p { color: var(--rtp-muted); }
@media (max-width: 899px) {
  .a-auth { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .a-auth .a-ph { display: none; }
  .a-side { align-items: flex-start; padding-top: 40px; padding-bottom: 56px; }
}
@media (max-width: 380px) { .a-two { grid-template-columns: minmax(0, 1fr); } }

/* ===== Mon espace (dashboard.html) ===== */
.e-main { padding-block: 40px 72px; }
.e-main .a-wrap { display: grid; gap: 28px; }
.e-top h1 { font-size: clamp(32px, 4vw, 48px); }
.e-date { color: var(--rtp-muted); margin-top: 6px; font-size: 15px; }
.e-today { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px; align-items: stretch; }
.e-session { background: var(--rtp-night); color: #fff; border-radius: var(--a-r); padding: 28px; display: grid; gap: 16px; align-content: start; }
.e-session .a-tag { background: rgba(183,208,255,.16); color: var(--rtp-sky); }
.e-session h2 { font-size: clamp(26px, 2.8vw, 34px); }
.e-session > p { color: #E1E8F4; }
.e-blocks { display: grid; gap: 8px; }
.e-blk { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.06); }
.e-blk > span { width: 34px; height: 34px; border-radius: 9px; background: rgba(183,208,255,.16); color: var(--rtp-sky); display: grid; place-items: center; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 14px; }
.e-blk b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.e-blk small { display: block; font-size: 12.5px; color: #C9D4E5; }
.e-blk em { font-style: normal; font-size: 13px; color: #E1E8F4; white-space: nowrap; }
.e-session .a-btn { justify-self: start; }
.e-card-w { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: var(--a-r); padding: 24px; display: grid; gap: 14px; align-content: start; }
.e-h { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 18px; }
.e-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.e-day { display: grid; justify-items: center; gap: 4px; padding: 10px 2px; border-radius: 10px; font-size: 12px; color: var(--rtp-muted); border: 1px solid transparent; }
.e-day b { font-size: 16px; color: var(--rtp-ink); font-weight: 600; }
.e-day i { width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.e-day.prevue i { background: #2D7AED; }
.e-day.faite i { background: var(--rtp-ok); }
.e-day.now { border-color: var(--rtp-navy); background: var(--rtp-tint); }
.e-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--rtp-muted); }
.e-legend span { display: inline-flex; align-items: center; gap: 6px; }
.e-legend i { width: 8px; height: 8px; border-radius: 50%; }
.e-group { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 13px; letter-spacing: .16em; color: var(--rtp-muted); margin-top: 8px; }
.e-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.e-card { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: var(--a-r); padding: 22px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.e-card:hover { border-color: var(--rtp-navy); box-shadow: 0 16px 32px -20px rgba(15,76,169,.45); transform: translateY(-2px); }
.e-card > div:first-child { width: 44px; height: 44px; border-radius: 12px; background: var(--rtp-tint); color: var(--rtp-navy); display: grid; place-items: center; margin-bottom: 14px; }
.e-card > div:first-child svg { width: 22px; height: 22px; }
.e-card > span:nth-of-type(1) { display: block; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 19px; margin-bottom: 6px; color: var(--rtp-ink); }
.e-card > span:nth-of-type(2) { display: block; font-size: 14.5px; color: var(--rtp-muted); line-height: 1.55; }
.e-card.e-coach { border: 2px solid var(--rtp-navy); background: var(--rtp-tint); }
@media (max-width: 1023px) { .e-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .e-today { grid-template-columns: minmax(0, 1fr); }
  .e-session { padding: 22px; }
  .e-session .a-btn { width: 100%; }
}
@media (max-width: 600px) { .e-grid { grid-template-columns: minmax(0, 1fr); } .e-main { padding-top: 28px; } }
@media (prefers-reduced-motion: reduce) { .e-card:hover { transform: none; } }
@media (max-width: 600px) {
  .e-card { position: relative; padding: 18px 18px 18px 78px; min-height: 84px; }
  .e-card > div:first-child { position: absolute; left: 18px; top: 18px; margin: 0; }
  .e-card > span:nth-of-type(1) { font-size: 17px; margin-bottom: 2px; }
  .e-card > span:nth-of-type(2) { font-size: 14px; }
}
html:not(.light) .e-session { border: 1px solid var(--rtp-line); background: #0E1D3D; }

/* ===== Vue séance client (programme.html) ===== */
.s-page { max-width: 760px; margin: 0 auto; padding: 32px 20px 120px; }
.s-page > h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.s-weeknav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.s-weeknav h2 { font-family: 'Poppins', sans-serif !important; text-transform: none !important; font-size: 14px !important; font-weight: 600 !important; color: var(--rtp-muted); letter-spacing: 0; }
.s-round { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); display: grid; place-items: center; cursor: pointer; }
.s-round:hover { border-color: var(--rtp-navy); }
.s-round svg { width: 18px; height: 18px; }
.s-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 28px; }
.s-daybtn { display: grid; justify-items: center; gap: 4px; padding: 10px 2px; border-radius: 12px; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); cursor: pointer; font: inherit; }
.s-daybtn small { font-size: 11px; text-transform: uppercase; color: var(--rtp-muted); }
.s-daybtn b { font-size: 16px; font-weight: 600; }
.s-daybtn i { width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.s-daybtn.has i { background: #2D7AED; }
.s-daybtn.sel { border-color: var(--rtp-navy); background: var(--rtp-tint); }
.s-daybtn.today { background: var(--a-btn); border-color: var(--a-btn); color: #fff; }
.s-daybtn.today small { color: rgba(255,255,255,.75); }
.s-daybtn.today.has i { background: #fff; }
.s-dayh { font-size: clamp(22px, 3vw, 28px); margin-bottom: 16px; }
.s-dayh::first-letter { text-transform: uppercase; }
.s-stack { display: grid; gap: 14px; }
.s-gh { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 13px; letter-spacing: .16em; color: var(--rtp-muted); margin: 18px 0 2px; display: flex; align-items: center; gap: 8px; }
.s-gh svg { width: 14px; height: 14px; }
.s-card { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: var(--a-r); padding: 18px; display: grid; gap: 12px; }
.s-note { background: var(--rtp-tint); border: 1px solid transparent; }
.s-note b { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--rtp-navy); }
.s-note p { white-space: pre-wrap; color: var(--rtp-ink); line-height: 1.6; }
/* exercice */
.s-ex { display: grid; gap: 12px; }
.s-exh { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.s-name { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 20px; line-height: 1.25; color: var(--rtp-ink); overflow-wrap: anywhere; }
a.s-name { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--rtp-navy); }
a.s-name svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.s-st { flex: none; font-size: 12px; font-weight: 600; color: var(--rtp-muted); background: var(--rtp-soft); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.s-st.done { color: var(--rtp-ok); background: var(--rtp-ok-fond); }
.s-one { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.s-one b { font-size: 17px; font-weight: 600; }
.s-one small, .s-rs { display: block; font-size: 13px; color: var(--rtp-muted); }
.s-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.s-dot { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-muted); font: 600 14px/1 'Poppins', sans-serif; cursor: pointer; display: grid; place-items: center; }
.s-dot svg { width: 18px; height: 18px; }
.s-dot[aria-pressed="true"] { background: var(--rtp-ok); border-color: var(--rtp-ok); color: #fff; }
.s-rows { display: grid; gap: 6px; }
.s-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 6px 6px 12px; border-radius: 10px; background: var(--rtp-soft); }
.s-row span { font-size: 13px; color: var(--rtp-muted); font-weight: 600; }
.s-row b { font-size: 15px; font-weight: 600; }
.s-row small { display: block; font-size: 12px; color: var(--rtp-muted); font-weight: 400; }
.s-row.done { background: var(--rtp-ok-fond); }
.s-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.s-chips span { font-size: 12.5px; font-weight: 500; color: var(--rtp-navy); background: var(--rtp-tint); border-radius: 999px; padding: 4px 10px; }
.s-last { font-size: 13px; color: var(--rtp-muted); display: flex; gap: 6px; align-items: center; }
.s-last svg { width: 14px; height: 14px; flex: none; }
.s-desc { font-size: 14.5px; color: var(--rtp-muted); white-space: pre-wrap; line-height: 1.6; }
/* retour par exercice */
.s-ret { border-top: 1px solid var(--rtp-line); padding-top: 10px; }
.s-ret > button { appearance: none; border: 0; background: none; padding: 4px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1.3 'Poppins', sans-serif; color: var(--rtp-navy); }
.s-ret > button svg { width: 14px; height: 14px; transition: transform .2s ease; }
.s-ret > button[aria-expanded="true"] svg.chev { transform: rotate(90deg); }
.s-ret-body { display: grid; gap: 12px; margin-top: 10px; }
.s-lab { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--rtp-muted); display: block; margin-bottom: 6px; }
.s-scale { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.s-scale button { min-height: 38px; border-radius: 8px; border: 1px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); font: 600 14px/1 'Poppins', sans-serif; cursor: pointer; padding: 0; }
.s-scale button[aria-pressed="true"] { background: var(--a-btn); border-color: var(--a-btn); color: #fff; }
.s-scale.pain button[aria-pressed="true"] { background: var(--rtp-bad); border-color: var(--rtp-bad); }
.s-scale-l { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--rtp-muted); margin-top: 4px; }
.s-ta, .s-in { width: 100%; border: 1px solid var(--rtp-line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--rtp-ink); background: var(--rtp-surface); }
.s-ta { min-height: 72px; resize: vertical; }
.s-ta:focus, .s-in:focus { outline: none; border-color: var(--rtp-navy); box-shadow: 0 0 0 3px rgba(45,122,237,.2); }
.s-save { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.s-save button { appearance: none; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); border-radius: 10px; padding: 8px 14px; font: 600 13.5px/1 'Poppins', sans-serif; cursor: pointer; }
.s-save span { font-size: 13px; font-weight: 600; color: var(--rtp-ok); }
/* superset et NIT */
.s-ss { border: 2px solid var(--rtp-navy); border-radius: var(--a-r); padding: 14px; display: grid; gap: 12px; }
.s-ss > p { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--rtp-navy); display: flex; align-items: center; gap: 6px; }
.s-ss > p svg { width: 12px; height: 12px; }
.s-ss .s-card { border: 0; background: var(--rtp-soft); padding: 14px; }
.s-nit { border: 2px solid var(--nit); border-radius: var(--a-r); overflow: hidden; }
.s-nit-h { background: var(--nit); color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.s-nit-h em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 600; background: rgba(255,255,255,.2); border-radius: 999px; padding: 3px 10px; display: inline-flex; gap: 4px; align-items: center; }
.s-nit-b { padding: 14px; display: grid; gap: 12px; }
.s-nit-b .s-card { border-color: transparent; background: var(--rtp-soft); }
/* WOD */
.s-wod { border: 2px solid #EA580C; border-radius: var(--a-r); overflow: hidden; }
.s-wod-h { background: #EA580C; color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 14px; }
.s-wod-h b { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 18px; }
.s-wod-h span { font-size: 13.5px; opacity: .92; }
.s-wod-b { padding: 14px; display: grid; gap: 12px; }
.s-mv { display: grid; }
.s-mv div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rtp-line); font-size: 15px; }
.s-mv div:last-child { border-bottom: 0; }
.s-mv span { color: var(--rtp-muted); font-size: 14px; text-align: right; }
.s-clock { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border-radius: 12px; background: var(--rtp-soft); }
.s-clock output { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 34px; min-width: 96px; font-variant-numeric: tabular-nums; }
.s-clock small { flex-basis: 100%; font-size: 12.5px; color: var(--rtp-muted); }
.s-clock button { appearance: none; border: 0; border-radius: 10px; min-height: 44px; padding: 0 16px; font: 600 14.5px/1 'Poppins', sans-serif; cursor: pointer; background: #EA580C; color: #fff; }
.s-clock button.ghost { background: var(--rtp-surface); color: var(--rtp-ink); border: 1.5px solid var(--rtp-line); }
/* fin de séance */
.s-end { border: 2px solid var(--rtp-navy); }
.s-end h3 { font-size: 22px; }
.s-yn { display: flex; gap: 8px; }
.s-yn label { flex: 1; cursor: pointer; }
.s-yn input { position: absolute; opacity: 0; pointer-events: none; }
.s-yn span { display: grid; place-items: center; min-height: 42px; border-radius: 10px; border: 1.5px solid var(--rtp-line); font-weight: 600; font-size: 14.5px; }
.s-yn input:checked + span { background: var(--a-btn); border-color: var(--a-btn); color: #fff; }
.s-yn input:focus-visible + span { outline: 3px solid #2D7AED; outline-offset: 2px; }
/* minuteur de repos */
.s-rest { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; background: var(--rtp-night); color: #fff; border-radius: 999px; padding: 6px 6px 6px 16px; display: flex; align-items: center; gap: 6px; box-shadow: 0 16px 36px -16px rgba(0,0,0,.6); overflow: hidden; transform: translateY(170%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
.s-rest.on { transform: none; visibility: visible; transition: transform .25s ease; }
.s-rest.end { background: var(--rtp-ok); }
.s-rest .s-rbar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.15); }
.s-rest .s-rbar i { display: block; height: 100%; width: 100%; background: #2D7AED; transition: width 1s linear; }
.s-rest .s-rl { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--rtp-sky); }
.s-rest b { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 600; min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
.s-rest button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; font: 600 12.5px/1 'Poppins', sans-serif; }
.s-rest button svg { width: 16px; height: 16px; }
@media (max-width: 480px) {
  .s-page { padding-inline: 16px; }
  .s-scale button { min-height: 36px; font-size: 13px; }
  .s-scale { gap: 3px; }
  .s-row { grid-template-columns: 58px minmax(0, 1fr) auto; }
  .s-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .s-rest, .s-rest .s-rbar i { transition: none; } }
.acc .s-nit-h em { color: #fff; }

/* ===== Mon programme (mon-programme.html) ===== */
.p-hero { background: var(--rtp-night); color: #fff; border-radius: var(--a-r); padding: 24px; display: grid; gap: 14px; margin-bottom: 18px; }
html:not(.light) .p-hero { background: #0E1D3D; border: 1px solid var(--rtp-line); }
.p-hero small { color: var(--rtp-sky); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.p-hero h1 { font-size: clamp(28px, 4vw, 40px); }
.p-hero p { color: #E1E8F4; font-size: 15px; }
.p-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.p-stats div { background: rgba(255,255,255,.1); border-radius: 10px; padding: 10px 12px; }
.p-stats b { display: block; font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 600; line-height: 1.1; }
.p-stats span { font-size: 12px; color: #C9D6EC; }
.p-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.p-acts .a-btn { min-height: 46px; padding: 0 18px; font-size: 14.5px; border: 0; cursor: pointer; font-family: inherit; }
.p-acts .a-btn.glass { background: rgba(255,255,255,.14); color: #fff; }
.p-hint { font-size: 13.5px; color: var(--rtp-muted); margin-bottom: 18px; }
.p-blk { display: grid; gap: 10px; margin-bottom: 22px; }
.p-blk h2 { font-size: 15px !important; letter-spacing: .1em; color: var(--rtp-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.p-blk h2 small { font-family: 'Poppins', sans-serif; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; }
.p-weeks { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.p-wk { border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; text-align: left; cursor: pointer; font: inherit; }
.p-wk:hover { border-color: var(--rtp-navy); }
.p-wk b { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 17px; font-weight: 600; }
.p-wk small { font-size: 12px; color: var(--rtp-muted); }
.p-wk i { display: block; height: 5px; border-radius: 3px; background: var(--rtp-soft); overflow: hidden; }
.p-wk i s { display: block; height: 100%; background: var(--rtp-ok); text-decoration: none; }
.p-wk.now { border-color: #2D7AED; background: var(--rtp-tint); }
.p-wk.now small { color: var(--rtp-navy); font-weight: 600; }
.p-wk.next { border-style: dashed; }
.p-wk[aria-pressed="true"] { border-color: var(--rtp-navy); box-shadow: 0 0 0 3px rgba(45,122,237,.25); }
.p-panel { display: grid; gap: 10px; scroll-margin-top: 90px; }
.p-panel-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.p-panel-h h3 { font-size: 24px; }
.p-nav { display: flex; gap: 6px; }
.p-ses { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: var(--a-r); overflow: hidden; }
.p-sh { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; background: none; border: 0; width: 100%; text-align: left; font: inherit; color: inherit; }
.p-sh .d { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; color: var(--rtp-muted); font-size: 14px; line-height: 1.2; }
.p-sh b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.p-sh small { color: var(--rtp-muted); font-size: 13px; }
.p-pill { display: inline-flex; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; white-space: nowrap; background: var(--rtp-soft); color: var(--rtp-muted); }
.p-pill.ok { background: var(--rtp-ok-fond); color: var(--rtp-ok); }
.p-pill.today { background: var(--rtp-tint); color: var(--rtp-navy); }
.p-sb { border-top: 1px solid var(--rtp-line); padding: 14px 16px; display: grid; gap: 10px; }
.p-ses:not(.open) .p-sb { display: none; }
.p-exl { display: grid; gap: 6px; }
.p-exl > div { background: var(--rtp-soft); border-radius: 9px; padding: 9px 12px; font-size: 14.5px; display: grid; gap: 4px; }
.p-exl .l { display: flex; justify-content: space-between; gap: 10px; }
.p-exl .l span { color: var(--rtp-muted); text-align: right; }
.p-fb { border-left: 3px solid #2D7AED; padding: 4px 10px; font-size: 13.5px; color: var(--rtp-ink); }
.p-fb b { font-weight: 600; }
.p-empty { text-align: center; padding: 40px 20px; display: grid; gap: 12px; justify-items: center; }
#p-print { display: none; }
@media (max-width: 480px) { .p-stats b { font-size: 20px; } .p-sh { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; } }
@media print {
  body.p-imprime > *:not(#p-print) { display: none !important; }
  body.p-imprime #p-print { display: block !important; color: #000; font: 11pt/1.4 'Poppins', Arial, sans-serif; }
  #p-print h1 { font: 700 20pt 'Oswald', Arial, sans-serif; text-transform: uppercase; margin: 0 0 4px; }
  #p-print h2 { font: 600 14pt 'Oswald', Arial, sans-serif; text-transform: uppercase; margin: 18px 0 6px; border-bottom: 1px solid #999; }
  #p-print h3 { font: 600 12pt 'Oswald', Arial, sans-serif; text-transform: uppercase; margin: 12px 0 4px; }
  #p-print .p { break-inside: avoid; }
  #p-print table { width: 100%; border-collapse: collapse; margin: 4px 0 8px; }
  #p-print td { border: 1px solid #ccc; padding: 4px 6px; vertical-align: top; }
  @page { margin: 14mm; }
}

/* ===== Mon compte (parametres.html, mes-donnees.html) ===== */
.c-head { position: sticky; top: 0; z-index: 50; background: var(--rtp-night); color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.c-head > div { max-width: 1280px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.c-head .logo { display: flex; align-items: center; gap: 10px; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 700; font-size: 14px; letter-spacing: .08em; color: #fff; }
.c-head .logo img { height: 28px; width: auto; }
.c-head nav { display: flex; align-items: center; gap: 10px; }
.c-head nav a { color: #fff; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.35); white-space: nowrap; }
.c-head nav a:hover { border-color: #fff; }
.c-head #theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: #fff; display: grid; place-items: center; background: transparent; }
.c-page { max-width: 640px; margin: 0 auto; padding: 32px 20px 72px; }
.c-page > h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.c-page .a-tabs { margin-bottom: 24px; }
/* les blocs de la page Paramètres prennent la charte */
.acc .settings-hero { border-color: var(--rtp-line); background: var(--rtp-night); color: #fff; }
.acc .settings-hero .settings-hero-email { color: #E1E8F4; }
.acc .settings-hero .settings-hero-since { color: var(--rtp-sky); }
.acc .settings-avatar { background: rgba(183,208,255,.16); color: var(--rtp-sky); }
.acc .settings-card { background: var(--rtp-surface); border-color: var(--rtp-line); }
.acc .settings-icon-badge { background: var(--rtp-tint); color: var(--rtp-navy); width: 32px; height: 32px; }
.acc .settings-section-title { color: var(--rtp-muted); font-size: 13px; letter-spacing: .14em; }
.acc .settings-label { color: var(--rtp-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; }
.acc .settings-input { min-height: 46px; background: var(--rtp-surface); border-color: var(--rtp-line); color: var(--rtp-ink); font-size: 15px; border-radius: 10px; }
.acc .settings-input:focus { border-color: var(--rtp-navy); box-shadow: 0 0 0 3px rgba(45,122,237,.2); }
.acc .settings-btn-primary, .acc .settings-btn-outline, .acc .settings-btn-danger { font-family: 'Poppins', sans-serif; text-transform: none; font-size: 14.5px; letter-spacing: 0; min-height: 46px; padding: 0 18px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.acc .settings-btn-primary { background: var(--a-btn); }
.acc .settings-btn-outline { border-color: var(--rtp-line); color: var(--rtp-ink); }
.acc .settings-btn-outline:hover { border-color: var(--rtp-navy); color: var(--rtp-navy); }
.acc .settings-danger { border-color: var(--rtp-bad); background: var(--rtp-bad-fond); }
.acc .settings-btn-danger { border-color: var(--rtp-bad); color: var(--rtp-bad); }
/* sur téléphone : le bouton passe sous le champ (jamais de texte écrasé) */
@media (max-width: 480px) {
  .acc .settings-card .flex.gap-2 { flex-wrap: wrap; }
  .acc .settings-card .flex.gap-2 > .settings-input { flex-basis: 100%; }
  .acc .settings-card .flex.gap-2 > button { flex: 1 1 auto; }
  .c-head nav a { padding: 8px 10px; font-size: 13px; }
}

/* ===== Admin : liste Individuel (admin-clients.html) ===== */
.ad-page { max-width: 1180px; margin: 0 auto; padding: 28px 20px 72px; display: grid; gap: 20px; }
.ad-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.ad-top h1 { font-size: clamp(28px, 3.6vw, 40px); }
.ad-top p { color: var(--rtp-muted); font-size: 14.5px; margin-top: 4px; max-width: 46em; }
.ad-top .a-actions { gap: 10px; }
.ad-top .a-btn { min-height: 44px; padding: 0 16px; font-size: 14px; border: 0; cursor: pointer; font-family: inherit; }
.ad-btn-line { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); font: 600 14px/1 'Poppins', sans-serif; cursor: pointer; }
.ad-btn-line:hover { border-color: var(--rtp-navy); }
.ad-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ad-kpi { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: var(--a-r); padding: 14px 16px; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.ad-kpi:hover { border-color: var(--rtp-navy); }
.ad-kpi b { display: block; font-family: 'Oswald', sans-serif; font-size: 30px; font-weight: 600; line-height: 1.1; }
.ad-kpi span { font-size: 13px; color: var(--rtp-muted); }
.ad-kpi.warn b { color: var(--rtp-warn); }
.ad-kpi.bad b { color: var(--rtp-bad); }
.ad-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; }
.ad-search { flex: 1 1 240px; max-width: 360px; min-height: 44px; border: 1px solid var(--rtp-line); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--rtp-ink); background: var(--rtp-surface); }
.ad-search:focus { outline: none; border-color: var(--rtp-navy); box-shadow: 0 0 0 3px rgba(45,122,237,.2); }
.ad-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ad-chips button { appearance: none; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); font: 500 13.5px/1 'Poppins', sans-serif; padding: 9px 12px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.ad-chips button span { font-size: 12px; color: var(--rtp-muted); background: var(--rtp-soft); border-radius: 999px; padding: 2px 7px; }
.ad-chips button[aria-pressed="true"] { background: var(--a-btn); border-color: var(--a-btn); color: #fff; }
.ad-chips button[aria-pressed="true"] span { background: rgba(255,255,255,.2); color: #fff; }
.ad-list { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: var(--a-r); overflow: hidden; }
.ad-lh, .ad-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 14px; align-items: center; padding: 12px 16px; }
.ad-lh { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--rtp-muted); border-bottom: 1px solid var(--rtp-line); }
.ad-row { border-bottom: 1px solid var(--rtp-line); }
.ad-row:last-child { border-bottom: 0; }
.ad-row:hover { background: var(--rtp-soft); }
.ad-who { display: flex; gap: 12px; align-items: center; min-width: 0; }
.ad-av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--rtp-tint); color: var(--rtp-navy); display: grid; place-items: center; font-family: 'Oswald', sans-serif; font-weight: 600; }
.ad-who b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.ad-who small { display: block; font-size: 12.5px; color: var(--rtp-muted); overflow-wrap: anywhere; }
.ad-cell { font-size: 14px; min-width: 0; }
.ad-cell small { display: block; font-size: 12.5px; color: var(--rtp-muted); }
.ad-cell .k { display: none; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--rtp-muted); }
.ad-pill { display: inline-flex; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; white-space: nowrap; background: var(--rtp-soft); color: var(--rtp-muted); }
.ad-pill.ok { background: var(--rtp-ok-fond); color: var(--rtp-ok); }
.ad-pill.warn { background: var(--rtp-warn-fond); color: var(--rtp-warn); }
.ad-pill.bad { background: var(--rtp-bad-fond); color: var(--rtp-bad); }
.ad-open { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border-radius: 10px; background: var(--a-btn); color: #fff; font: 600 13.5px/1 'Poppins', sans-serif; white-space: nowrap; border: 0; cursor: pointer; }
.ad-open.line { background: transparent; color: var(--rtp-navy); border: 1.5px solid var(--rtp-line); }
.ad-empty { text-align: center; color: var(--rtp-muted); padding: 40px 16px; font-size: 14.5px; }
.ad-err { color: var(--rtp-bad); background: var(--rtp-bad-fond); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.ad-flash { color: var(--rtp-ok); background: var(--rtp-ok-fond); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
@media (max-width: 899px) {
  .ad-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-lh { display: none; }
  .ad-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; padding: 14px 16px; }
  .ad-row .ad-who { grid-column: 1 / -1; }
  .ad-row .ad-act { grid-column: 1 / -1; }
  .ad-row .ad-act .ad-open { width: 100%; }
  .ad-cell .k { display: block; }
}

/* ===== Admin : fiche client (admin.html) ===== */
.fc-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 10px; margin-bottom: 18px; border-bottom: 1px solid var(--rtp-line); }
.fc-tabs::-webkit-scrollbar { display: none; }
.fc-tabs button { flex: none; appearance: none; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); font: 500 14px/1 'Poppins', sans-serif; padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.fc-tabs button:hover { border-color: var(--rtp-navy); }
.fc-tabs button[aria-selected="true"] { background: var(--a-btn, #0F4CA9); border-color: var(--a-btn, #0F4CA9); color: #fff; }
.fc-sub { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.fc-sub button { appearance: none; border: 0; background: var(--rtp-soft); color: var(--rtp-muted); font: 600 13px/1 'Poppins', sans-serif; padding: 9px 12px; border-radius: 9px; cursor: pointer; }
.fc-sub button[aria-selected="true"] { background: var(--rtp-tint); color: var(--rtp-navy); }
.fc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.fc-k { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: 12px; padding: 14px 16px; }
.fc-k span { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--rtp-muted); margin-bottom: 4px; }
.fc-k b { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 600; line-height: 1.15; }
.fc-k small { display: block; font-size: 12.5px; color: var(--rtp-muted); margin-top: 2px; }
.fc-two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.fc-card { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: 12px; padding: 16px; display: grid; gap: 10px; }
.fc-card h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.fc-item { display: grid; gap: 3px; padding: 10px 12px; border-radius: 10px; background: var(--rtp-soft); font-size: 14px; }
.fc-item.bad { background: var(--rtp-bad-fond); }
.fc-item .t { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.fc-item .t small { font-weight: 400; color: var(--rtp-muted); white-space: nowrap; }
.fc-item p { color: var(--rtp-muted); font-size: 13.5px; }
.fc-links { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-links a, .fc-links button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-navy); font: 600 13.5px/1 'Poppins', sans-serif; cursor: pointer; }
.fc-links .main { background: #0F4CA9; border-color: #0F4CA9; color: #fff; }
.fc-empty { color: var(--rtp-muted); font-size: 14px; }
@media (max-width: 899px) { .fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fc-two { grid-template-columns: minmax(0, 1fr); } }
.ad-move { display: inline-flex; gap: 6px; }
.ad-arrow { width: 44px; height: 40px; border-radius: 10px; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-navy); display: grid; place-items: center; cursor: pointer; }
.ad-arrow:hover:not(:disabled) { border-color: var(--rtp-navy); }
.ad-arrow:disabled { opacity: .35; cursor: default; }
.ad-arrow svg { width: 18px; height: 18px; }
#reorg-btn[aria-pressed="true"] { background: var(--rtp-tint); border-color: var(--rtp-navy); color: var(--rtp-navy); }
@media (max-width: 899px) { .ad-row .ad-act .ad-move { width: 100%; } .ad-row .ad-act .ad-arrow { flex: 1; } }

/* ===== Admin : programmation B (admin.html, onglet Programmation) ===== */
.pb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.pb-side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: 12px; padding: 14px; display: grid; gap: 10px; }
.pb-side h3, .pb-week-h h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.pb-side .pb-day { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--rtp-line); }
.pb-side .pb-day:first-of-type { border-top: 0; padding-top: 0; }
.pb-side .pb-day > b { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--rtp-muted); }
.pb-r { font-size: 13.5px; padding: 8px 10px; border-radius: 9px; background: var(--rtp-soft); display: grid; gap: 2px; }
.pb-r.bad { background: var(--rtp-bad-fond); }
.pb-r .t { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.pb-r .t small { font-weight: 500; color: var(--rtp-muted); white-space: nowrap; }
.pb-r p { color: var(--rtp-muted); font-size: 13px; }
.pb-r.end { border-left: 3px solid #2D7AED; }
.pb-week { margin-bottom: 18px; display: grid; gap: 10px; }
.pb-week-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.pb-clip { font-size: 13px; color: var(--rtp-navy); background: var(--rtp-tint); border-radius: 999px; padding: 6px 12px; display: inline-flex; gap: 8px; align-items: center; }
.pb-clip button { border: 0; background: none; color: var(--rtp-navy); font: 600 13px/1 'Poppins', sans-serif; cursor: pointer; text-decoration: underline; }
.pb-grid { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.pb-grid > .pb-col { scroll-snap-align: start; }
.pb-col { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.pb-col.today { border-color: #2D7AED; box-shadow: inset 0 0 0 1px #2D7AED; }
.pb-col.vide { background: var(--rtp-soft); }
.pb-col-h { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; }
.pb-col-h b { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 15px; font-weight: 600; }
.pb-col-h small { font-size: 12px; color: var(--rtp-muted); }
.pb-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.pb-badges span { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 2px 7px; background: var(--rtp-soft); color: var(--rtp-muted); }
.pb-badges .ok { background: var(--rtp-ok-fond); color: var(--rtp-ok); }
.pb-badges .wod { background: #FFEDD5; color: #C2410C; }
html:not(.light) .pb-badges .wod { background: #431407; color: #FDBA74; }
.pb-badges .nit-q { background: color-mix(in srgb, var(--rtp-nit-quotidien) 15%, transparent); color: var(--rtp-nit-quotidien); }
.pb-badges .nit-e { background: color-mix(in srgb, var(--rtp-nit-express) 15%, transparent); color: var(--rtp-nit-express); }
.pb-badges .nit-f { background: color-mix(in srgb, var(--rtp-nit-filrouge) 15%, transparent); color: var(--rtp-nit-filrouge); }
.pb-exos { display: grid; gap: 4px; font-size: 12.5px; }
.pb-exos div { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 4px; line-height: 1.3; }
.pb-exos i { font-style: normal; font-weight: 700; color: var(--rtp-navy); font-size: 11px; }
.pb-exos span { overflow-wrap: anywhere; }
.pb-exos small { display: block; color: var(--rtp-muted); font-size: 11.5px; }
.pb-acts { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px; }
.pb-acts button { flex: 1 1 auto; min-height: 32px; border-radius: 8px; border: 1px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); font: 600 12px/1 'Poppins', sans-serif; cursor: pointer; padding: 0 6px; }
.pb-acts button:hover:not(:disabled) { border-color: var(--rtp-navy); color: var(--rtp-navy); }
.pb-acts button:disabled { opacity: .4; cursor: not-allowed; }
.pb-acts .paste { background: #0F4CA9; border-color: #0F4CA9; color: #fff; }
.pb-side-toggle { display: none; }
@media (max-width: 1439px) {
  .pb-layout { grid-template-columns: minmax(0, 1fr); }
  .pb-side { position: static; max-height: none; order: -1; }
  .pb-side-toggle { display: inline-flex; }
  .pb-side.ferme .pb-day, .pb-side.ferme .pb-vide { display: none; }
}
@media (max-width: 640px) { .pb-grid { grid-template-columns: repeat(7, minmax(78%, 1fr)); } }

/* ===== Admin : saisie des tests par session (admin-tests-saisie.html) ===== */
.ts-panel { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: 12px; padding: 16px; display: grid; gap: 14px; }
.ts-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ts-f { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--rtp-muted); }
.ts-in { min-height: 44px; border: 1px solid var(--rtp-line); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 15px; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--rtp-ink); background: var(--rtp-surface); width: 100%; }
.ts-in:focus { outline: none; border-color: var(--rtp-navy); box-shadow: 0 0 0 3px rgba(45,122,237,.2); }
.ts-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.ts-pick button { appearance: none; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); font: 500 13.5px/1 'Poppins', sans-serif; padding: 9px 12px; border-radius: 999px; cursor: pointer; }
.ts-pick button[aria-pressed="true"] { background: var(--rtp-tint); border-color: var(--rtp-navy); color: var(--rtp-navy); }
.ts-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.ts-tabs button { flex: none; appearance: none; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); font: 600 13.5px/1 'Poppins', sans-serif; padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.ts-tabs button[aria-selected="true"] { background: #0F4CA9; border-color: #0F4CA9; color: #fff; }
.ts-tabs button small { font-weight: 500; opacity: .8; margin-left: 4px; }
.ts-proto { font-size: 14px; color: var(--rtp-muted); background: var(--rtp-soft); border-radius: 10px; padding: 10px 12px; }
.ts-tw { overflow-x: auto; border: 1px solid var(--rtp-line); border-radius: 12px; background: var(--rtp-surface); }
.ts-t { border-collapse: collapse; width: 100%; font-size: 14px; }
.ts-t th, .ts-t td { padding: 6px 8px; border-bottom: 1px solid var(--rtp-line); text-align: left; white-space: nowrap; }
.ts-t th { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--rtp-muted); background: var(--rtp-soft); position: sticky; top: 0; }
.ts-t td:first-child, .ts-t th:first-child { position: sticky; left: 0; background: var(--rtp-surface); z-index: 1; font-weight: 600; }
.ts-t th:first-child { background: var(--rtp-soft); }
.ts-t input { width: 76px; min-height: 40px; border: 1px solid var(--rtp-line); border-radius: 8px; padding: 0 8px; font: inherit; color: var(--rtp-ink); background: var(--rtp-surface); text-align: center; }
.ts-t input:focus { outline: none; border-color: var(--rtp-navy); box-shadow: 0 0 0 3px rgba(45,122,237,.2); }
.ts-t .cote-g { border-left: 2px solid var(--rtp-line); }
.ts-t .res { font-weight: 600; }
.ts-t .res small { display: block; font-weight: 500; font-size: 12px; color: var(--rtp-muted); }
.ts-t .asym { color: var(--rtp-warn); }
.ts-t tr.ok td:first-child { color: var(--rtp-ok); }
.ts-save { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
@media (max-width: 899px) { .ts-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Admin : À traiter (admin-aujourdhui.html) ===== */
.at-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 18px; }
.at-top h1 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; }
.at-top p { color: var(--rtp-muted); font-size: 14.5px; margin-top: 4px; }
.at-top p::first-letter { text-transform: uppercase; }
.at-prog { font-size: 14px; color: var(--rtp-muted); background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: 999px; padding: 8px 14px; }
.at-prog b { color: var(--rtp-ink); }
.at-queue { display: grid; gap: 18px; margin-bottom: 28px; }
.at-grp { display: grid; gap: 8px; }
.at-grp h2 { display: flex; align-items: center; gap: 8px; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--rtp-muted); }
.at-grp h2 small { font-family: 'Poppins', sans-serif; letter-spacing: 0; text-transform: none; font-weight: 500; }
.at-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.at-it { background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; }
.at-it.urg { border-left: 4px solid var(--rtp-bad); }
.at-av { grid-row: span 3; width: 40px; height: 40px; border-radius: 50%; background: var(--rtp-tint); color: var(--rtp-navy); display: grid; place-items: center; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 14px; }
.at-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; }
.at-who b { font-weight: 600; overflow-wrap: anywhere; }
.at-who time { font-size: 12.5px; color: var(--rtp-muted); }
.at-why { grid-column: 2; font-size: 14.5px; }
.at-sn { grid-column: 2; font-size: 13.5px; color: var(--rtp-muted); overflow-wrap: anywhere; }
.at-act { grid-column: 3; grid-row: 1 / span 3; display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.at-act a, .at-act button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 12px; border-radius: 9px; font: 600 13px/1 'Poppins', sans-serif; white-space: nowrap; cursor: pointer; }
.at-act a { background: #0F4CA9; color: #fff; }
.at-act button { background: var(--rtp-surface); color: var(--rtp-ink); border: 1.5px solid var(--rtp-line); }
.at-act button:hover { border-color: var(--rtp-ok); color: var(--rtp-ok); }
.at-vide { background: var(--rtp-ok-fond); color: var(--rtp-ok); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; }
.at-faits summary { cursor: pointer; font-size: 13.5px; color: var(--rtp-muted); }
.at-faits .at-it { opacity: .6; }
.at-team-h { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 20px; font-weight: 600; margin: 8px 0 14px; }
@media (max-width: 640px) {
  .at-it { grid-template-columns: 40px minmax(0, 1fr); }
  .at-act { grid-column: 1 / -1; grid-row: auto; flex-direction: row; margin-top: 6px; }
  .at-act a, .at-act button { flex: 1; }
}

/* ===== Admin : CrossFit, liste des WOD (admin-crossfit.html) ===== */
.cf-wod { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--rtp-surface); border: 1px solid var(--rtp-line); border-radius: 12px; padding: 12px 14px; }
.cf-wod.today { border-color: #2D7AED; box-shadow: inset 0 0 0 1px #2D7AED; }
.cf-wod.passe { opacity: .7; }
.cf-d { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 14px; line-height: 1.15; color: var(--rtp-muted); text-align: center; }
.cf-d b { display: block; font-size: 22px; color: var(--rtp-ink); }
.cf-wod .t { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.cf-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.cf-tags span { font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 3px 8px; background: var(--rtp-soft); color: var(--rtp-muted); }
.cf-tags .wod { background: var(--rtp-tint); color: var(--rtp-navy); }
.cf-tags .cible { background: var(--rtp-warn-fond); color: var(--rtp-warn); }
.cf-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cf-act button { min-height: 34px; padding: 0 10px; border-radius: 8px; border: 1.5px solid var(--rtp-line); background: var(--rtp-surface); color: var(--rtp-ink); font: 600 12.5px/1 'Poppins', sans-serif; cursor: pointer; }
.cf-act button:hover { border-color: var(--rtp-navy); color: var(--rtp-navy); }
.cf-act .del-wod-btn:hover { border-color: var(--rtp-bad); color: var(--rtp-bad); }
@media (max-width: 640px) {
  .cf-wod { grid-template-columns: 52px minmax(0, 1fr); }
  .cf-act { grid-column: 1 / -1; justify-content: stretch; }
  .cf-act button { flex: 1; }
}
