/* ══════════════════════════════════════════════════════════
   SOUTIEN SCOLAIRE — /soutien-scolaire/
   Mise en page et couleurs des maquettes (charte soutien),
   en-tête et pied de page communs du site.
   Pages générées par scripts/build-soutien-scolaire.py.
   ══════════════════════════════════════════════════════════ */
.ss, .ss-subnav {
  --ink: #0E0B1F; --violet: #6C47FF; --violet-dark: #4A2BD6; --violet-darker: #331C9E;
  --lilac: #EDE7FF; --lilac-soft: #F4F1FF; --line: #E3DCF7;
  --yellow: #FFE14D; --coral: #FF8A6B; --mint: #7EE2B0;
  --p-yellow: #FFF4C2; --p-coral: #FFE3DA; --p-mint: #D8F7E7;
  --muted: #4B4566; --red: #E5262D;
  --ss-h1: 60px; /* = --site-hero-title-size */
  color: var(--ink);
}
.ss *, .ss *::before, .ss *::after { box-sizing: border-box; }
.ss h1, .ss h2, .ss h3 { margin: 0; color: inherit; font-weight: 700 !important; letter-spacing: -.03em; }
.ss p { margin: 0; }
.ss a { color: inherit; }
.ss :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.ss-wrap { width: min(100% - 72px, 1200px); margin-inline: auto; } /* = .mock-container du site */
.ss-h2 { font-size: clamp(28px, 3.2vw, 42px) !important; line-height: 1.15 !important; }
.ss-h2 em, .ss h1 em { font-style: normal; color: var(--violet); }
.ss-sub { margin-top: 10px !important; color: var(--muted); font-size: 16px; font-weight: 560; } /* = .section-head p */
.ss-section { padding: 88px 0 0; }
.ss-section:last-of-type { padding-bottom: 88px; }

/* Boutons et puces */
.ss-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ink); color: #fff !important; font: inherit; font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.ss-btn:hover { transform: translateY(-2px); }
.ss-btn--white { background: #fff; color: var(--ink) !important; }
.ss-btn--violet { background: var(--violet); }
.ss-btn--violet:hover { background: var(--violet-dark); }
.ss-btn--yellow { background: var(--yellow); color: var(--ink) !important; }
.ss-btn--block { width: 100%; }
.ss-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.ss-link { display: inline-flex; align-items: center; gap: 6px; color: var(--violet-dark) !important; font-weight: 800; text-decoration: none; }
.ss-link:hover { text-decoration: underline; }
.ss-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.ss-chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; background: #fff; }
.ss-chip--violet { background: var(--violet); color: #fff; }
.ss-chip--yellow { background: var(--yellow); }
.ss-chip--coral { background: var(--coral); }
.ss-chip--mint { background: var(--mint); }
.ss-chip--ink { background: var(--ink); color: #fff; }
.ss-chip--violet, .ss-chip--ink { color: #fff !important; }
.ss-tag { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ss-tag--violet { background: var(--violet); }

/* Sous-navigation soutien scolaire */
.ss-subnav { background: var(--lilac); border-bottom: 1px solid var(--line); }

.ss-subnav--chips .ss-wrap { display: flex; justify-content: center; padding: 12px 0; }
.ss-subnav--chips .ss-chips { justify-content: center; margin: 0; }
.ss-subnav--chips .ss-chip { min-height: 40px; padding: 0 16px; font-size: 14px; text-decoration: none; transition: transform .18s; }
.ss-subnav--chips .ss-chip:hover { transform: translateY(-2px); }
.ss-subnav--chips .ss-chip { color: #fff !important; } /* texte blanc demandé, couleurs de fond d’origine */
.ss-subnav--chips .ss-chip--yellow, .ss-subnav--chips .ss-chip--coral, .ss-subnav--chips .ss-chip--mint { color: var(--ink) !important; } /* texte noir sur fonds clairs */
.ss-groups h3[id] { scroll-margin-top: 110px; }

/* Héros des pages (niveau, matière, stage) */
.ss-hero { background: var(--lilac); padding: 26px 0 88px; }
.ss-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 34px; font-size: 13px; color: var(--muted); }
.ss-crumbs a { text-decoration: none; }
.ss-crumbs a:hover { text-decoration: underline; }
.ss-crumbs [aria-current] { color: var(--ink); font-weight: 800; }
.ss-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 56px; align-items: start; }
.ss-hero h1 { margin-top: 18px; font-size: var(--ss-h1) !important; line-height: 1.02 !important; letter-spacing: -.03em !important; }
.ss-hero__lead { max-width: 640px; margin-top: 22px !important; font-size: 18px; line-height: 1.55; color: var(--muted); }
.ss-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ss-price { position: relative; padding: 28px; border-radius: 32px; background: #fff; box-shadow: 0 10px 0 var(--ink); }
.ss-price__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.ss-price__amount { display: block; margin: 6px 0 4px; font-size: 60px; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.ss-price__unit { font-size: 14px; font-weight: 800; }
.ss-price ul { margin: 14px 0 22px; padding-left: 18px; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* Accueil */
.ss-home-hero { background: var(--lilac); padding: 26px 0 0; text-align: center; overflow: hidden; }
.ss-home-hero .ss-crumbs { justify-content: center; margin-bottom: 28px; }
.ss-home-hero h1 { max-width: 900px; margin-inline: auto; font-size: var(--ss-h1) !important; line-height: 1.02 !important; letter-spacing: -.03em !important; }
.ss-home-hero h1 em { display: inline-block; margin-top: 8px; padding: 0 .22em .06em; border-radius: 999px; background: var(--violet); color: #fff; transform: rotate(-2deg); }
.ss-home-hero .ss-hero__lead { margin-inline: auto; }
.ss-home-hero .ss-hero__actions { justify-content: center; }
.ss-home-hero__brochure { display: inline-flex; margin-top: 18px; }
.ss-home-media { position: relative; width: min(440px, 100%); margin: 48px auto 0; }
.ss-home-media img { display: block; width: 100%; height: auto; padding: 28px 18px 0; border-radius: 220px 220px 0 0; background: var(--violet); }
.ss-sticker { position: absolute; z-index: 2; padding: 12px 16px; border-radius: 18px; box-shadow: 0 8px 0 var(--ink); font-size: 18px; font-weight: 900; line-height: 1.05; text-align: left; }
.ss-sticker small { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; }
.ss-sticker--1 { left: -78px; top: 130px; background: var(--yellow); transform: rotate(-6deg); }
.ss-sticker--2 { right: -78px; top: 110px; background: var(--coral); transform: rotate(5deg); }
.ss-sticker--3 { right: -100px; bottom: 60px; background: var(--yellow); transform: rotate(-4deg); }
.ss-sticker--4 { left: -110px; bottom: 50px; background: #fff; transform: rotate(4deg); }
.ss-sticker--4 b { color: var(--red); }

.ss-marquee { overflow: hidden; background: var(--ink); color: #fff; }
.ss-marquee ul { display: flex; gap: 28px; width: max-content; margin: 0; padding: 18px 0; list-style: none; font-size: 22px; font-weight: 850; animation: ss-marquee 40s linear infinite; }
.ss-marquee li::after { content: "✦"; margin-left: 28px; color: var(--yellow); }
@keyframes ss-marquee { to { transform: translateX(-50%); } }

.ss-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.ss-why article { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 28px; }
.ss-why__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; }
.ss-why__top span:first-child { padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.ss-why__big { margin-top: 4px !important; font-size: clamp(30px, 2.8vw, 38px); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.ss-why h3 { font-size: 16px; line-height: 1.25; }
.ss-why h3 ~ p { font-size: 14px; line-height: 1.5; }
.ss-why ul { display: flex; flex-wrap: wrap; gap: 5px; margin: auto 0 0; padding: 8px 0 0; list-style: none; }
.ss-why li { padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.55); font-size: 11px; font-weight: 800; color: var(--ink); }
.ss-bg-violet { background: var(--violet); color: #fff; }
.ss-bg-yellow { background: var(--yellow); }
.ss-bg-coral { background: var(--coral); }
.ss-bg-mint { background: var(--mint); }
.ss-bg-ink { background: var(--ink); color: #fff; }

.ss-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: step; }
.ss-steps li { padding: 26px; border-radius: 28px; background: var(--lilac-soft); counter-increment: step; }
.ss-steps li:nth-child(2) { background: var(--p-yellow); }
.ss-steps li:nth-child(3) { background: var(--p-coral); }
.ss-steps li:nth-child(4) { background: var(--p-mint); }
.ss-steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 900; }
.ss-steps h3 { font-size: 17px; }
.ss-steps p { margin-top: 8px !important; font-size: 16px; line-height: 1.5; color: var(--muted); }

.ss-prices-wrap { margin-top: 88px; padding: 88px 0; background: var(--lilac); }
.ss-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; align-items: stretch; }
.ss-prices article { display: flex; flex-direction: column; padding: 30px; border-radius: 36px; background: #fff; box-shadow: 0 10px 0 var(--ink); }
.ss-prices article:nth-child(2) { background: var(--violet); color: #fff; transform: translateY(-10px); }
.ss-prices .ss-tag { align-self: flex-start; padding: 5px 10px; font-size: 10px; }
.ss-prices__pack { align-self: flex-start; margin-top: 4px !important; padding: 8px 14px; border-radius: 12px; background: var(--yellow); color: var(--ink); font-size: 15px; font-weight: 800; transform: rotate(-2deg); box-shadow: 0 4px 0 var(--ink); }
.ss-prices__amount { margin-top: 18px; font-size: 64px; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.ss-prices__amount span { margin-left: 2px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.ss-prices__hour { margin-top: 14px !important; font-size: 17px; }
.ss-prices__hour strong { font-weight: 800; }
.ss-prices__unit { margin-top: 4px !important; font-size: 14px; font-weight: 600; }
.ss-prices ul { margin: 18px 0 24px; padding-left: 18px; line-height: 1.75; font-size: 14px; }
.ss-prices .ss-btn { margin-top: auto; }

.ss-brochure { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: center; padding: 48px; border-radius: 48px; background: var(--yellow); }
.ss-brochure p:not(.ss-tag) { margin-top: 16px !important; max-width: 620px; line-height: 1.6; }
.ss-brochure .ss-btn { margin-top: 24px; }
.ss-brochure__cover { position: relative; aspect-ratio: 3 / 4; }
.ss-brochure__cover span { position: absolute; inset: 0; border-radius: 22px; }
.ss-brochure__cover span:nth-child(1) { background: var(--mint); transform: rotate(-9deg); }
.ss-brochure__cover span:nth-child(2) { background: var(--coral); transform: rotate(-3deg); }
.ss-brochure__cover span:nth-child(3) { display: flex; flex-direction: column; gap: 6px; overflow: hidden; padding: 22px; background: var(--violet); color: #fff; transform: rotate(4deg); font-size: 22px; line-height: 1.05; }
.ss-brochure__cover b { position: relative; z-index: 1; font-weight: 900; }
.ss-brochure__cover small { position: relative; z-index: 1; font-size: 12px; font-weight: 700; }
.ss-brochure__cover img { position: absolute; right: -8%; bottom: 0; width: 82%; height: auto; }

.ss-profs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: center; }
.ss-profs p { margin-top: 16px !important; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.ss-profs__media { position: relative; padding: 34px 30px; }
.ss-profs__media img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: 32px; border: 5px solid var(--ink); box-shadow: 0 12px 0 var(--ink); transform: rotate(-2deg); }
.ss-profs__shape { position: absolute; z-index: 0; }
.ss-profs__shape--yellow { inset: 6px 0 22px 46px; border-radius: 40px; background: var(--yellow); transform: rotate(5deg); }
.ss-profs__shape--mint { left: 0; bottom: 0; width: 120px; height: 120px; border-radius: 50%; background: var(--mint); }
.ss-profs__shape--coral { right: 6px; top: 0; width: 64px; height: 64px; border-radius: 18px; background: var(--coral); transform: rotate(18deg); }
.ss-profs .ss-profs__sticker { z-index: 2; margin: 0 !important; max-width: none; font-size: 17px; line-height: 1.05; color: var(--ink); }
.ss-profs .ss-profs__sticker--violet { left: -6px; top: 18px; background: var(--violet); color: #fff; transform: rotate(-6deg); }
.ss-profs__sticker--yellow { right: -4px; top: 42%; background: var(--yellow); transform: rotate(5deg); }
.ss-profs__sticker--mint { left: 26px; bottom: 6px; background: var(--mint); transform: rotate(-3deg); }

.ss-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.ss-levels section { padding: 28px; border-radius: 36px; background: var(--p-yellow); }
.ss-levels section:nth-child(2) { background: var(--lilac-soft); }
.ss-levels section:nth-child(3) { background: var(--p-coral); }
.ss-levels h3 { font-size: 20px; }
.ss-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ss-pills a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 750; text-decoration: none; }
.ss-pills a:hover { background: var(--violet); color: #fff; }
.ss-pills a.is-strong { background: var(--ink); color: #fff; }

.ss-quotes-wrap { margin-top: 88px; padding: 88px 0; background: var(--ink); color: #fff; }
.ss-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.ss-quotes figure { margin: 0; padding: 28px; border-radius: 32px; color: var(--ink); }
.ss-quotes figure:nth-child(1) { background: var(--yellow); transform: rotate(-1.5deg); }
.ss-quotes figure:nth-child(2) { background: var(--mint); transform: rotate(1deg); }
.ss-quotes figure:nth-child(3) { background: var(--coral); transform: rotate(-1deg); }
.ss-quotes blockquote { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.4; }
.ss-quotes figcaption { margin-top: 18px; font-size: 13px; }


/* FAQ */
.ss-faq__list { display: grid; gap: 10px; margin-top: 30px; }
.ss-faq details { border-radius: 20px; background: var(--lilac-soft); }
.ss-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; font-size: 16px; font-weight: 800; cursor: pointer; list-style: none; }
.ss-faq summary::-webkit-details-marker { display: none; }
.ss-faq summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 18px; transition: transform .2s; }
.ss-faq details[open] summary::after { transform: rotate(45deg); }
.ss-faq details p { padding: 0 20px 20px; line-height: 1.65; color: var(--muted); }

/* Appel à l'action */
.ss-cta { padding: 64px 32px; border-radius: 56px; text-align: center; }
.ss-cta h2 { max-width: 820px; margin-inline: auto; font-size: clamp(28px, 3.2vw, 42px) !important; line-height: 1.15 !important; }
.ss-cta p { max-width: 520px; margin: 16px auto 0 !important; line-height: 1.55; }
.ss-cta .ss-hero__actions { justify-content: center; }
.ss-cta.ss-bg-violet .ss-btn:not(.ss-btn--white) { background: var(--ink); }

/* Pages matière */
.ss-chapters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.ss-chapters li { display: flex; flex-direction: column; gap: 10px; min-height: 140px; padding: 24px; border-radius: 28px; font-size: 17px; font-weight: 850; line-height: 1.25; }
.ss-chapters li span { font-size: 13px; font-weight: 700; }
.ss-chapters li:nth-child(4n+1) { background: var(--violet); color: #fff; }
.ss-chapters li:nth-child(4n+2) { background: var(--yellow); }
.ss-chapters li:nth-child(4n+3) { background: var(--coral); }
.ss-chapters li:nth-child(4n) { background: var(--mint); }
.ss-diffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.ss-diffs article { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 32px; background: var(--p-yellow); }
.ss-diffs article:nth-child(3n+2) { background: var(--p-mint); }
.ss-diffs article:nth-child(3n) { background: var(--p-coral); }
.ss-diffs h3 { font-size: 17px; }
.ss-diffs p { line-height: 1.55; font-size: 16px; }
.ss-change { padding: 44px; border-radius: 40px; background: var(--ink); color: #fff; }
.ss-change h2 { font-size: clamp(28px, 3.2vw, 42px) !important; line-height: 1.15 !important; }
.ss-change ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 26px 0 0; padding: 0; list-style: none; }
.ss-change strong { display: block; font-size: 21px; font-weight: 900; }
.ss-change li:nth-child(1) strong { color: #A996FF; }
.ss-change li:nth-child(2) strong { color: var(--yellow); }
.ss-change li:nth-child(3) strong { color: var(--coral); }
.ss-change li:nth-child(4) strong { color: var(--mint); }
.ss-change span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: #CFCAE0; }
.ss-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px; border-radius: 40px; background: var(--violet); color: #fff; }
.ss-banner .ss-tag { background: #fff; color: var(--ink); }
.ss-banner h2 { margin-top: 12px; font-size: clamp(28px, 3.2vw, 42px) !important; line-height: 1.15 !important; }
.ss-banner p { margin-top: 8px !important; max-width: 720px; line-height: 1.55; }
.ss-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ss-related section { padding: 28px; border-radius: 32px; background: var(--p-yellow); }
.ss-related section + section { background: var(--p-mint); }
.ss-related h2 { font-size: 19px !important; letter-spacing: -.02em !important; }

/* Pages niveau */
.ss-groups h3 { margin-top: 30px; font-size: 18px; }
.ss-subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr)); gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.ss-subjects a { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px; height: 100%; min-height: 148px; padding: 22px 14px; border: 1.5px solid transparent; border-radius: 24px; background: var(--lilac-soft); text-align: center; text-decoration: none; transition: border-color .18s, transform .18s, background .18s; }
.ss-subjects a:hover { border-color: var(--violet); background: #fff; transform: translateY(-3px); }
.ss-subjects__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--violet); color: #fff; }
.ss-subjects li:nth-child(4n+2) .ss-subjects__icon { background: var(--yellow); color: var(--ink); }
.ss-subjects li:nth-child(4n+3) .ss-subjects__icon { background: var(--coral); color: var(--ink); }
.ss-subjects li:nth-child(4n) .ss-subjects__icon { background: var(--mint); color: var(--ink); }
.ss-subjects__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ss-subjects strong { font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--ink); }

/* Stages */
.ss-periods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-top: 32px; }
.ss-periods article { padding: 26px; border-radius: 32px; background: var(--yellow); }
.ss-periods article:nth-child(3n+2) { background: var(--mint); }
.ss-periods article:nth-child(3n) { background: var(--coral); }
.ss-periods h3 { font-size: 19px; }
.ss-periods p { margin-top: 6px !important; font-size: 14px; font-weight: 700; }
.ss-periods ul { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ss-periods li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.6); font-size: 14px; font-weight: 800; }
.ss-periods li span { padding: 4px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; white-space: nowrap; }
.ss-periods__note { margin-top: 10px !important; font-size: 13px !important; font-weight: 600 !important; }
.ss-table-wrap { margin-top: 28px; overflow-x: auto; border-radius: 24px; background: var(--lilac-soft); }
.ss-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.ss-table th, .ss-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.ss-table tr:last-child td { border-bottom: 0; }
.ss-table th { font-size: 13px; font-weight: 800; }
.ss-table td:first-child a { font-weight: 800; }
.ss-stage-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.ss-stage-cards a { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 40px; text-decoration: none; transition: transform .18s; }
.ss-stage-cards a:hover { transform: translateY(-3px); }
.ss-stage-cards h3 { font-size: 21px; }
.ss-stage-cards h3::after { content: " →"; }
.ss-stage-cards p { font-size: 14px; line-height: 1.45; }
.ss-stage-cards strong { margin-top: auto; font-size: 22px; font-weight: 900; }
.ss-allstages { padding: 30px; border-radius: 36px; background: var(--p-yellow); }
.ss-allstages h2 { font-size: 20px !important; letter-spacing: -.02em !important; }

/* Inscription aux stages */
.ss-form-page { background: var(--lilac); padding: 26px 0 88px; }
.ss-form-page h1 { margin-top: 10px; font-size: var(--ss-h1) !important; line-height: 1.02 !important; }
.ss-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; margin-top: 34px; }
.ss-form-steps { display: grid; gap: 22px; }
.ss-fieldset { margin: 0; padding: 30px; border: 0; border-radius: 32px; background: #fff; min-width: 0; }
.ss-fieldset legend { float: left; display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 20px; padding: 0; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.ss-fieldset legend + * { clear: both; }
.ss-fieldset legend span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--violet); color: #fff; font-size: 15px; }
.ss-fieldset:nth-child(2) legend span { background: var(--yellow); color: var(--ink); }
.ss-fieldset:nth-child(4) legend span { background: var(--ink); }
.ss-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.ss-options--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.ss-option { position: relative; display: block; cursor: pointer; }
.ss-option input { position: absolute; opacity: 0; pointer-events: none; }
.ss-option span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; font-weight: 800; transition: border-color .15s, background .15s; }
.ss-option small { font-size: 13px; font-weight: 600; color: var(--muted); }
.ss-option input:checked + span { border-color: var(--violet); background: var(--lilac-soft); box-shadow: inset 0 0 0 1px var(--violet); }
.ss-option input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.ss-option input:disabled + span { opacity: .45; cursor: not-allowed; }
.ss-option--check span { padding-right: 52px; }
.ss-option--check span::after { content: ""; position: absolute; top: 14px; right: 16px; width: 24px; height: 24px; border: 1.5px solid var(--line); border-radius: 7px; background: #fff; }
.ss-option--check input:checked + span::after { border-color: var(--violet); background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ss-field-label { display: block; margin: 20px 0 10px; font-size: 15px; font-weight: 800; }
.ss-help { margin-top: 10px !important; font-size: 13px; line-height: 1.5; color: var(--muted); }
.ss-select, .ss-input { width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.ss-select:focus, .ss-input:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px rgba(108,71,255,.18); }
.ss-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ss-fields label { display: block; margin: 14px 0 0; font-size: 14px; font-weight: 800; }
.ss-fields .ss-input { margin-top: 8px; }
.ss-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 14px; line-height: 1.5; }
.ss-check input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--violet); }
.ss-check a { color: var(--violet-dark); font-weight: 700; }
.ss-hp { position: absolute; left: -9999px; }
.ss-summary { position: sticky; top: 100px; padding: 28px; border-radius: 32px; background: #fff; }
.ss-summary h2 { font-size: 20px !important; letter-spacing: -.02em !important; }
.ss-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; margin: 18px 0 0; font-size: 14px; }
.ss-summary dt { color: var(--muted); }
.ss-summary dd { margin: 0; text-align: right; font-weight: 800; }
.ss-summary__info { margin-top: 18px; padding: 16px; border-radius: 18px; background: var(--lilac-soft); font-size: 13px; line-height: 1.55; color: var(--muted); }
.ss-summary__total { display: flex; align-items: baseline; justify-content: space-between; margin: 20px 0 18px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 800; }
.ss-summary__total strong { font-size: 36px; font-weight: 900; letter-spacing: -.04em; }
.ss-form-error { margin-top: 14px !important; padding: 12px 14px; border-radius: 12px; background: #FFE3E3; color: #8A1116; font-size: 14px; font-weight: 700; }
.ss-form-success { padding: 40px; border-radius: 32px; background: #fff; text-align: center; }
.ss-form-success h2 { font-size: 28px !important; }
.ss-form-success p { max-width: 560px; margin: 14px auto 0 !important; line-height: 1.6; color: var(--muted); }

/* Responsive */
@media (max-width: 1100px) {
  .ss-sticker--1, .ss-sticker--4 { left: -40px; }
  .ss-sticker--2, .ss-sticker--3 { right: -40px; }
  .ss-chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ss-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ss-stage-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ss-hero__grid, .ss-form-grid, .ss-brochure, .ss-profs { grid-template-columns: 1fr; }
  .ss-hero__grid { gap: 36px; }
  .ss-price { max-width: 460px; }
  .ss-summary { position: static; }
  .ss-steps, .ss-change ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ss-prices, .ss-levels, .ss-quotes, .ss-diffs { grid-template-columns: 1fr; }
  .ss-prices article:nth-child(2) { transform: none; }
  .ss-brochure__cover { width: 200px; margin-inline: auto; }
  .ss-profs__media { max-width: 480px; }
}
@media (max-width: 760px) {
  .ss, .ss-subnav { --ss-h1: clamp(32px, 10vw, 40px); }
  .ss-wrap { width: 90%; }
  .ss-section { padding-top: 60px; }
  .ss-section:last-of-type { padding-bottom: 60px; }
  .ss-hero { padding-bottom: 56px; }
  .ss-hero__lead { font-size: 15px; }
  .ss-hero__actions .ss-btn { flex: 1 1 100%; }
  .ss-price__amount { font-size: 48px; }
  .ss-home-media { width: 86%; }
  .ss-sticker { padding: 8px 10px; font-size: 13px; }
  .ss-sticker small { font-size: 10px; }
  .ss-sticker--1, .ss-sticker--4 { left: -14px; }
  .ss-sticker--2, .ss-sticker--3 { right: -14px; }
  .ss-steps, .ss-related { grid-template-columns: 1fr; }
  .ss-why article { padding: 18px; border-radius: 24px; }
  .ss-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ss-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ss-subjects a { min-height: 128px; padding: 18px 10px; }
  .ss-chapters li { min-height: 110px; padding: 18px; font-size: 15px; border-radius: 22px; }
  .ss-change { padding: 30px 22px; border-radius: 30px; }
  .ss-change ul { grid-template-columns: 1fr; gap: 16px; }
  .ss-banner, .ss-brochure { padding: 30px 22px; border-radius: 30px; }
  .ss-cta { padding: 44px 20px; border-radius: 36px; }
  .ss-prices-wrap, .ss-quotes-wrap { margin-top: 60px; padding: 60px 0; }
  .ss-stage-cards { grid-template-columns: 1fr; }
  .ss-fieldset { padding: 22px 18px; border-radius: 24px; }
  .ss-fields { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ss-why { grid-template-columns: 1fr; }
  .ss-chapters { grid-template-columns: 1fr; }
  .ss-chapters li { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ss-marquee ul { animation: none; }
  .ss-btn, .ss-subjects a, .ss-stage-cards a { transition: none; }
}
.ss-summary .ss-chip { margin-top: 12px !important; }
.ss-brochure h2 { margin-top: 16px; }

/* Réservation en ligne (accueil) */
.ss-book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 56px; align-items: center; }
.ss-book h2 { margin-top: 16px; }
.ss-book > div > p:not(.ss-tag) { margin-top: 16px !important; max-width: 620px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.ss-book__points { display: grid; gap: 12px; margin: 26px 0 28px; padding: 0; list-style: none; }
.ss-book__points li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 20px; border-radius: 22px; background: var(--lilac-soft); }
.ss-book__points li:nth-child(2) { background: var(--p-yellow); }
.ss-book__points li:nth-child(3) { background: var(--p-mint); }
.ss-book__points strong { font-size: 22px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.ss-book__points span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.ss-book__planner { position: relative; padding: 26px 24px 30px; border: 5px solid var(--ink); border-radius: 36px; background: #fff; box-shadow: 0 12px 0 var(--ink); transform: rotate(1.5deg); }
.ss-book__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ss-book__head b { font-size: 18px; font-weight: 900; color: var(--ink); }
.ss-book__grid { display: grid; grid-template-columns: 54px repeat(5, minmax(0, 1fr)); grid-auto-rows: 34px; gap: 5px; margin-top: 18px; }
.ss-book__day { display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.ss-book__time { display: flex; align-items: center; font-size: 11px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.ss-book__grid i, .ss-book__legend span::before { border-radius: 9px; background: var(--p-mint); }
.ss-book__grid .is-busy, .ss-book__legend .is-busy::before { background: var(--lilac); }
.ss-book__grid .is-lock, .ss-book__legend .is-lock::before { background: repeating-linear-gradient(-45deg, var(--lilac-soft) 0 5px, var(--line) 5px 10px); }
.ss-book__grid .is-booked { grid-row: span 2; display: grid; place-items: center; border-radius: 12px; background: var(--violet); box-shadow: 0 4px 0 var(--ink); color: #fff; font-size: 13px; font-style: normal; font-weight: 900; }
.ss-book__legend .is-booked::before { background: var(--violet); }
.ss-book__legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px !important; font-size: 12px; font-weight: 700; color: var(--muted); }
.ss-book__legend span::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; border-radius: 4px; vertical-align: -2px; }
.ss-book__note { position: absolute; right: -14px; bottom: -22px; padding: 10px 14px; border-radius: 16px; background: var(--yellow); box-shadow: 0 6px 0 var(--ink); font-size: 15px; font-weight: 900; transform: rotate(-4deg); }
@media (max-width: 900px) {
  .ss-book { grid-template-columns: 1fr; gap: 40px; }
  .ss-book__planner { max-width: 500px; }
}
@media (max-width: 760px) {
  .ss-book__points li { grid-template-columns: 1fr; gap: 4px; }
  .ss-book__planner { padding: 20px 14px 28px; border-radius: 28px; transform: none; }
  .ss-book__grid { grid-template-columns: 44px repeat(5, minmax(0, 1fr)); gap: 4px; }
  .ss-book__grid .is-booked { font-size: 11px; }
  .ss-book__note { right: 8px; font-size: 13px; }
}
