/*
 * SENZA Formations - design system stylesheet.
 *
 * Shared foundation for the training and trainer page redesigns.
 *
 * Every selector is prefixed with "sz-" and every bare element rule is scoped under ".sz-page":
 * this sheet is loaded next to Bootstrap and the Skillgro theme (main.css), which already own
 * generic class names such as .btn, .badge, .card and .container.
 *
 * Colors, typography and weights come from the "--tg-*" tokens already declared in main.css and
 * are never redefined here. Only the layout tokens missing from the theme are introduced below.
 */

:root {
    /*
     * 1320px, not the 1240px of the mock-up "--container" token.
     *
     * The mock-ups contradict themselves: they declare "--container: 1240px" with a ".container"
     * class, but that class is instantiated zero time in the three files, while every page level
     * wrapper is written inline as "max-width:1320px; margin:0 auto; padding:<vertical> 32px" --
     * 20 occurrences across the three files, and not a single 1240px. The 1240px rule is dead
     * code in the mock-ups; 1320px with a 32px gutter is what the client actually sees.
     */
    --sz-container: 1320px;
    --sz-radius-pill: 50px;
    --sz-radius-card: 16px;
    --sz-radius-sm: 8px;
    /* Hard drop shadow: the signature of the Skillgro buttons. */
    --sz-shadow-btn: 4px 6px 0 0 var(--tg-common-color-blue);
    --sz-shadow-btn-yellow: 4px 4px 0 0 #3d3d3d;
    --sz-shadow-card: 0 12px 30px rgba(87, 81, 225, 0.08);
}

/* =============================================================
   Page scope
   ============================================================= */

.sz-page {
    background: var(--tg-common-color-white);
    font-family: var(--tg-body-font-family);
    font-size: var(--tg-body-font-size);
    font-weight: var(--tg-fw-regular);
    color: var(--tg-body-color);
    line-height: var(--tg-body-line-height);
    -webkit-font-smoothing: antialiased;
}

/*
 * The page scope is wrapped in :where() so it adds no specificity: these rules are defaults for
 * bare elements and must always lose to a component class.
 *
 * Written as ".sz-page a", the base link rule scores 0-1-1 and beats ".sz-btn" (0-1-0): every
 * <a class="sz-btn"> rendered its label in primary blue on a primary blue background. The same
 * trap applies to ".sz-page h4" against ".sz-footer__title" and to ".sz-page p" against
 * ".sz-note". Scoping for isolation must not create a collision of its own.
 *
 * Link colour goes one step further and excludes classed elements outright -- see the note on
 * the rule itself.
 */
:where(.sz-page) *,
:where(.sz-page) *::before,
:where(.sz-page) *::after {
    box-sizing: border-box;
}

/* Not a component concern, so it applies to every link. */
:where(.sz-page) a {
    text-decoration: none;
    transition: all 0.25s ease;
}

/*
 * ":not([class])" rather than specificity arithmetic. Colour IS a component concern, and dropping
 * the scope to zero was not enough: ":where(.sz-page) a:hover" still scored 0-1-1 through its
 * pseudo-class and repainted any classed link that had no hover rule of its own -- an
 * <a class="sz-eyebrow"> turned yellow on hover. A rule that cannot match a classed element at
 * all cannot be outweighed by one either.
 *
 * Deliberately NOT applied to the heading and paragraph rules below: ".sz-price-sidebar__title"
 * is an <h3> that carries a class and only overrides the font size, relying on the base rule for
 * its family, colour and weight. Excluding classed elements there would break it.
 */
:where(.sz-page) a:not([class]) {
    color: var(--tg-theme-primary);
}

:where(.sz-page) a:not([class]):hover {
    color: var(--tg-theme-secondary);
}

/*
 * ============================================================================================
 * RULE FOR EVERY COMPONENT OF THIS SHEET BUILT ON AN <a> OR A <button>
 *
 * main.css:779 declares "a:hover, button:hover { color: var(--tg-theme-secondary) }" at 0-1-1.
 * It reaches BOTH tags, it reaches them even when they carry a class, and it outranks every
 * component class here (0-1-0). Excluding classed elements from our own base rule above was
 * necessary but does nothing against it: the rule lives in another stylesheet.
 *
 * So: any component of this sheet rendered as an <a> or a <button> MUST declare its own hover
 * colour, whether it is meant to change or to stay put. A component that says nothing does not
 * keep its colour -- it turns yellow. This is not a precaution, it is the observed behaviour:
 * an <a class="sz-eyebrow"> and both accordion triggers were found repainted this way.
 *
 * Components that move on hover state it in their own rules: .sz-btn and its variants,
 * .sz-header__link, .sz-footer__link, .sz-link-pill, .sz-price-sidebar__mode.
 * Components that must not move pin their colour: the group below for the three that rest on
 * primary, and .sz-accordion__trigger / .sz-faq__trigger next to their own rules, since those
 * two rest on the heading colour instead.
 *
 * .sz-training-card is pinned on purpose: the only hover the mock-ups spell out (style-hover,
 * l.1871) moves the border and the shadow and nothing else.
 * ============================================================================================
 */
.sz-eyebrow:hover,
.sz-header__logo:hover,
.sz-training-card:hover {
    color: var(--tg-theme-primary);
}

:where(.sz-page) h1,
:where(.sz-page) h2,
:where(.sz-page) h3,
:where(.sz-page) h4,
:where(.sz-page) h5,
:where(.sz-page) h6 {
    font-family: var(--tg-heading-font-family);
    color: var(--tg-heading-color);
    font-weight: var(--tg-fw-semi-bold);
    line-height: var(--tg-heading-line-height);
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}

:where(.sz-page) h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: var(--tg-fw-bold);
}

:where(.sz-page) h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: var(--tg-fw-bold);
}

:where(.sz-page) h3 {
    font-size: clamp(20px, 2vw, 24px);
}

:where(.sz-page) h4 {
    font-size: 19px;
}

:where(.sz-page) p {
    margin: 0 0 1em;
}

/* =============================================================
   Layout utilities
   ============================================================= */

/* 32px gutter, matching the inline wrappers of the mock-ups rather than the 24px of their unused
   ".container" rule. See the note on --sz-container. */
.sz-container {
    max-width: var(--sz-container);
    margin: 0 auto;
    padding: 0 32px;
}

/* padding-block, not the "96px 0" shorthand: these classes are meant to be combined with
   .sz-container, and a shorthand would reset its 32px horizontal gutter to zero. */
.sz-section {
    padding-block: 96px;
}

.sz-section--sm {
    padding-block: 56px;
}

.sz-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: var(--tg-fw-semi-bold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tg-theme-primary);
    margin-bottom: 14px;
}

.sz-bg-lilac {
    background: var(--tg-common-color-gray-2);
}

.sz-bg-navy {
    background: var(--tg-common-color-black-2);
    color: rgba(255, 255, 255, 0.75);
}

.sz-bg-navy h1,
.sz-bg-navy h2,
.sz-bg-navy h3,
.sz-bg-navy h4 {
    color: var(--tg-common-color-white);
}

/* =============================================================
   Decorative banner
   ============================================================= */

.sz-decor-banner {
    position: relative;
    overflow: hidden;
    padding: 40px 0 52px;
}

.sz-decor-banner__inner {
    max-width: var(--sz-container);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
}

.sz-decor-banner__shape {
    position: absolute;
    pointer-events: none;
}

.sz-decor-banner__shape--planet {
    left: 3%;
    bottom: 12%;
    opacity: 0.3;
    animation: sz-floaty 8s ease-in-out infinite;
}

.sz-decor-banner__shape--star {
    left: 44%;
    top: 10%;
    opacity: 0.4;
}

@keyframes sz-floaty {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sz-decor-banner__shape--planet {
        animation: none;
    }
}

/* =============================================================
   Buttons
   ============================================================= */

.sz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--tg-theme-primary);
    border: none;
    color: var(--tg-common-color-white);
    cursor: pointer;
    font-family: var(--tg-heading-font-family);
    font-size: 16px;
    font-weight: var(--tg-fw-semi-bold);
    line-height: 1.12;
    padding: 16px 30px;
    text-align: center;
    /*
     * No "text-transform: capitalize", although the mock-up carries it (l.518).
     *
     * It capitalises every word including prepositions and articles, which turns the real labels
     * into "Prochaines Dates À Lille" and "Télécharger Le Programme En PDF" -- a typography
     * mistake in French, on every button of the three pages. The mock-up does not intend it
     * either: its own labels are written in French sentence case and merely suffer the rule,
     * inherited from the English Skillgro theme. main.css does not carry it on .btn.
     *
     * Do not reintroduce it in the name of fidelity to the mock-up.
     */
    border-radius: var(--sz-radius-pill);
    white-space: nowrap;
    box-shadow: var(--sz-shadow-btn);
    transition: all 0.3s ease;
}

.sz-btn:hover,
.sz-btn:focus-visible {
    background: var(--tg-theme-secondary);
    color: var(--tg-heading-color);
    box-shadow: 0 0 0 0 var(--tg-common-color-blue);
    transform: translate(2px, 3px);
}

.sz-btn--yellow {
    background: var(--tg-theme-secondary);
    border: 2px solid var(--tg-common-color-black-3);
    box-shadow: var(--sz-shadow-btn-yellow);
    color: var(--tg-common-color-black-3);
}

.sz-btn--yellow:hover,
.sz-btn--yellow:focus-visible {
    background: var(--tg-theme-primary);
    color: var(--tg-common-color-white);
    border-color: var(--tg-theme-primary);
    box-shadow: 0 0 0 0;
}

.sz-btn--outline {
    background: var(--tg-common-color-white);
    border: 1px solid var(--tg-theme-primary);
    color: var(--tg-theme-primary);
    box-shadow: 0 0 0 0;
    padding: 15px 28px;
}

.sz-btn--outline:hover,
.sz-btn--outline:focus-visible {
    background: var(--tg-theme-primary);
    color: var(--tg-common-color-white);
}

/* Meant to sit on a dark background. */
.sz-btn--white {
    background: var(--tg-common-color-white);
    color: var(--tg-theme-primary);
    box-shadow: 0 0 0 0;
}

.sz-btn--white:hover,
.sz-btn--white:focus-visible {
    background: var(--tg-theme-secondary);
    color: var(--tg-heading-color);
}

.sz-btn--ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
    color: var(--tg-common-color-white);
}

.sz-btn--ghost:hover,
.sz-btn--ghost:focus-visible {
    background: var(--tg-common-color-white);
    border-color: var(--tg-common-color-white);
    color: var(--tg-heading-color);
}

.sz-btn--sm {
    padding: 11px 20px;
    font-size: 14px;
}

.sz-btn--lg {
    padding: 20px 36px;
    font-size: 17px;
}

/* Removes the hard shadow and the hover offset it implies. */
.sz-btn--flat {
    box-shadow: 0 0 0 0;
}

.sz-btn--flat:hover,
.sz-btn--flat:focus-visible {
    transform: none;
}

.sz-btn--block {
    width: 100%;
}

/* =============================================================
   Inputs
   ============================================================= */

.sz-input {
    width: 100%;
    height: 56px;
    padding: 0 24px;
    background: var(--tg-common-color-white);
    border: 1px solid var(--tg-border-1);
    border-radius: var(--sz-radius-pill);
    font-family: var(--tg-body-font-family);
    font-size: 15px;
    color: var(--tg-heading-color);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sz-input:focus {
    border-color: var(--tg-theme-primary);
    box-shadow: 0 0 0 4px rgba(87, 81, 225, 0.12);
}

.sz-input::placeholder {
    color: var(--tg-common-color-gray-3);
}

/* =============================================================
   Badges
   ============================================================= */

.sz-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-family: var(--tg-body-font-family);
    font-size: 12px;
    font-weight: var(--tg-fw-semi-bold);
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.sz-badge--primary {
    background: rgba(87, 81, 225, 0.1);
    color: var(--tg-theme-primary);
}

.sz-badge--yellow {
    background: rgba(248, 188, 36, 0.18);
    color: #8a6500;
}

.sz-badge--pink {
    background: rgba(255, 66, 157, 0.12);
    color: #c5236f;
}

.sz-badge--green {
    background: rgba(18, 187, 106, 0.12);
    color: #0e8e51;
}

.sz-badge--orange {
    background: rgba(253, 126, 20, 0.12);
    color: #c25e0e;
}

.sz-badge--cyan {
    background: rgba(0, 174, 229, 0.12);
    color: #006c8e;
}

.sz-badge--purple {
    background: rgba(155, 81, 224, 0.12);
    color: #6e37a8;
}

.sz-badge--red {
    background: rgba(225, 27, 36, 0.1);
    color: #b0151d;
}

.sz-badge--solid-yellow {
    background: var(--tg-theme-secondary);
    color: var(--tg-heading-color);
    font-weight: var(--tg-fw-bold);
}

.sz-badge--solid-primary {
    background: var(--tg-theme-primary);
    color: var(--tg-common-color-white);
}

/* Smaller pill of the "nos autres formations" cards (mock-up l.1872), which is one step down
   from the standard badge in both size and weight. */
.sz-badge--xs {
    padding: 4px 11px;
    font-size: 11px;
    font-weight: var(--tg-fw-bold);
}

/* White pill with a border, used for the hero attribute list. */
.sz-badge--outline {
    background: var(--tg-common-color-white);
    border: 1px solid var(--tg-border-1);
    color: var(--tg-heading-color);
    padding: 6px 15px;
    font-size: 12.5px;
}

/* =============================================================
   Cards
   ============================================================= */

.sz-card {
    background: var(--tg-common-color-white);
    border: 1px solid var(--tg-border-3);
    border-radius: var(--sz-radius-card);
    padding: 24px;
    transition: all 0.25s ease;
}

.sz-card--hoverable:hover {
    border-color: var(--tg-theme-primary);
    box-shadow: var(--sz-shadow-card);
    transform: translateY(-3px);
}

.sz-card--flat {
    border-radius: 14px;
    padding: 22px 24px;
}

/* =============================================================
   Content utilities
   ============================================================= */

.sz-content h2 {
    font-size: 24px;
    margin: 0 0 14px;
}

.sz-content h3 {
    font-size: 17px;
    margin: 24px 0 10px;
}

.sz-content p {
    line-height: 1.75;
    margin: 0 0 12px;
    font-size: 15px;
}

.sz-content > section {
    margin-bottom: 44px;
}

.sz-content > section + section {
    border-top: 1px solid var(--tg-border-3);
    padding-top: 40px;
}

.sz-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.sz-list li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 14.5px;
    line-height: 1.6;
}

.sz-list--check li::before {
    content: "\2713";
    color: var(--tg-common-color-green);
    font-weight: var(--tg-fw-extra-bold);
    flex: none;
}

.sz-tblwrap {
    border: 1px solid var(--tg-border-3);
    border-radius: 14px;
    overflow-x: auto;
}

.sz-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 520px;
}

/* main.css draws a border around every th and td of the site (".blog_detail table, th, td", a
   selector list whose last two parts are not scoped to the blog): the design system tables reset
   it, so only the top rule of each row remains. */
.sz-tbl th,
.sz-tbl td {
    border: 0;
}

.sz-tbl th {
    text-align: left;
    font-family: var(--tg-heading-font-family);
    font-weight: var(--tg-fw-bold);
    color: var(--tg-heading-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 14px;
    background: var(--tg-common-color-gray-2);
}

.sz-tbl td {
    padding: 13px 14px;
    border-top: 1px solid var(--tg-border-3);
    vertical-align: top;
    line-height: 1.5;
}

.sz-tbl tr td:first-child {
    font-weight: var(--tg-fw-semi-bold);
    color: var(--tg-heading-color);
    width: 32%;
}

.sz-note {
    font-size: 13px;
    color: var(--tg-common-color-gray-3);
    margin: 12px 0 0;
}

/* =============================================================
   Accordion
   ============================================================= */

.sz-accordion {
    border: 1px solid var(--tg-border-3);
    border-radius: var(--sz-radius-card);
    padding: 8px 24px 16px;
}

/* Borderless variant used by the "Pourquoi choisir SENZA ?" block. */
.sz-accordion--bare {
    border: none;
    border-radius: 0;
    padding: 0;
}

.sz-accordion__item {
    border-bottom: 1px solid var(--tg-border-3);
}

.sz-accordion__item:last-child {
    border-bottom: none;
}

.sz-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px 0;
    text-align: left;
    font-family: var(--tg-heading-font-family);
    font-weight: var(--tg-fw-semi-bold);
    font-size: 17px;
    color: var(--tg-heading-color);
}

/* Written with :not() rather than relying on source order: the expanded state below scores the
   same 0-2-0, and an open trigger must stay primary even under the cursor. */
.sz-accordion__trigger:not([aria-expanded="true"]):hover {
    color: var(--tg-heading-color);
}

.sz-accordion__trigger[aria-expanded="true"] {
    color: var(--tg-theme-primary);
}

/* Inline list of the "Pourquoi choisir SENZA ?" block: smaller triggers that keep the heading colour,
   a primary chevron turning a quarter when open, and a rule under the last item too. */
.sz-accordion--bare .sz-accordion__item:last-child {
    border-bottom: 1px solid var(--tg-border-3);
}

.sz-accordion--bare .sz-accordion__trigger {
    gap: 16px;
    padding: 16px 0;
    font-size: 15.5px;
}

.sz-accordion--bare .sz-accordion__trigger[aria-expanded="true"] {
    color: var(--tg-heading-color);
}

.sz-accordion__chevron {
    flex: none;
    color: var(--tg-theme-primary);
    transition: transform 0.2s ease;
}

.sz-accordion__trigger[aria-expanded="true"] .sz-accordion__chevron {
    transform: rotate(90deg);
}

.sz-accordion__sign {
    font-size: 26px;
    line-height: 1;
    flex: none;
    font-weight: var(--tg-fw-regular);
    color: currentColor;
}

.sz-accordion__panel {
    display: none;
}

.sz-accordion__panel.is-open {
    display: block;
}

.sz-accordion__body {
    background: #f6f5fe;
    border-radius: 12px;
    padding: 22px 26px;
    margin: 0 0 20px;
}

.sz-accordion__body .sz-list li {
    padding-left: 14px;
    color: var(--tg-body-color);
    line-height: 1.55;
}

/* Inline variant: the text lines up with its own trigger, which has no horizontal padding. */
.sz-accordion__body--bare {
    background: none;
    border-radius: 0;
    padding: 0 0 16px;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--tg-body-color);
}

.sz-accordion__highlight {
    background: #eeecfc;
    border-left: 4px solid var(--tg-theme-primary);
    border-radius: var(--sz-radius-sm);
    padding: 14px 18px;
    margin-top: 20px;
    font-size: 14px;
    font-style: italic;
    color: var(--tg-heading-color);
    line-height: 1.55;
}

/* =============================================================
   FAQ
   ============================================================= */

.sz-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.sz-faq__item {
    border: 1px solid var(--tg-border-3);
    border-radius: 12px;
    overflow: hidden;
}

.sz-faq__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--tg-common-color-white);
    border: none;
    cursor: pointer;
    padding: 16px 20px;
    text-align: left;
    font-family: var(--tg-heading-font-family);
    font-weight: var(--tg-fw-semi-bold);
    font-size: 14.5px;
    color: var(--tg-heading-color);
}

/* The FAQ trigger keeps its colour in every state; only its background moves when it opens. */
.sz-faq__trigger:hover {
    color: var(--tg-heading-color);
}

.sz-faq__trigger[aria-expanded="true"] {
    background: var(--tg-common-color-gray-2);
}

.sz-faq__sign {
    color: var(--tg-theme-primary);
    font-size: 22px;
    flex: none;
    line-height: 1;
}

.sz-faq__panel {
    display: none;
}

.sz-faq__panel.is-open {
    display: block;
}

.sz-faq__body {
    padding: 0 20px 18px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--tg-body-color);
}

/* =============================================================
   Header
   ============================================================= */

.sz-header {
    background: var(--tg-common-color-white);
    border-bottom: 1px solid var(--tg-border-3);
    position: sticky;
    top: 0;
    z-index: 60;
}

.sz-header__inner {
    max-width: var(--sz-container);
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.sz-header__logo {
    display: flex;
    align-items: center;
    flex: none;
}

.sz-header__logo img {
    height: 44px;
    width: auto;
    display: block;
}

.sz-header__nav {
    display: flex;
    gap: 22px;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
}

.sz-header__nav::-webkit-scrollbar {
    display: none;
}

.sz-header__link {
    color: var(--tg-heading-color);
    font-weight: var(--tg-fw-semi-bold);
    font-size: 14.5px;
    white-space: nowrap;
}

/* The mock-ups specify no hover for the navigation. Primary is the accent the design system
   already uses when a text element becomes interactive (open accordion trigger, "voir la
   formation" link), whereas secondary is only ever used as a fill. */
.sz-header__link:hover {
    color: var(--tg-theme-primary);
}

.sz-header__cta {
    flex: none;
}

/* =============================================================
   Footer
   ============================================================= */

.sz-footer {
    background: var(--tg-common-color-black-2);
    color: rgba(255, 255, 255, 0.6);
}

.sz-footer__inner {
    max-width: var(--sz-container);
    margin: 0 auto;
    display: grid;
    gap: 40px;
}

.sz-footer__title {
    color: var(--tg-common-color-white);
    font-size: 15px;
    margin: 0 0 16px;
}

.sz-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.sz-footer__link {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.sz-footer__link:hover {
    color: var(--tg-theme-secondary);
}

.sz-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sz-footer__bottom-inner {
    max-width: var(--sz-container);
    margin: 0 auto;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
}

.sz-footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sz-footer__brand img {
    height: 38px;
    width: auto;
    display: block;
    flex: none;
}

/* Four even columns: training pages. */
.sz-footer--training .sz-footer__inner {
    grid-template-columns: repeat(4, 1fr);
    padding: 56px 32px;
}

/* Identity column then two link columns: trainer pages. */
.sz-footer--trainer .sz-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding: 64px 32px 52px;
}

.sz-footer--trainer .sz-footer__title {
    font-size: 16px;
    margin: 0 0 6px;
}

.sz-footer__rule {
    width: 26px;
    height: 3px;
    background: var(--tg-theme-primary);
    border-radius: 2px;
    margin-bottom: 18px;
}

.sz-footer__brand-logo {
    display: block;
    height: 38px;
    width: auto;
    margin-bottom: 20px;
}

.sz-footer__identity p {
    font-size: 13.5px;
    margin: 0 0 8px;
    max-width: 280px;
}

.sz-footer__identity strong {
    color: var(--tg-common-color-white);
}

.sz-footer__qualiopi {
    margin-top: 20px;
    display: block;
    max-width: 120px;
    height: auto;
}

.sz-footer--trainer .sz-footer__bottom-inner {
    justify-content: center;
    text-align: center;
}

/* =============================================================
   CTA banner
   ============================================================= */

.sz-cta-banner {
    background: var(--tg-common-color-black-2);
    border-radius: var(--sz-radius-card);
    padding: 36px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.sz-cta-banner__title {
    color: var(--tg-common-color-white);
    font-family: var(--tg-heading-font-family);
    font-weight: var(--tg-fw-bold);
    font-size: 22px;
    margin-bottom: 6px;
}

.sz-cta-banner__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.sz-cta-banner__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* =============================================================
   Sticky price sidebar
   ============================================================= */

.sz-price-sidebar {
    position: sticky;
    top: 132px;
}

.sz-price-sidebar__inner {
    background: var(--tg-common-color-white);
    border: 1px solid var(--tg-border-3);
    border-radius: var(--sz-radius-card);
    padding: 24px;
    box-shadow: var(--sz-shadow-card);
}

.sz-price-sidebar__title {
    font-size: 17px;
    text-align: center;
    margin: 0 0 18px;
    line-height: 1.35;
}

.sz-price-sidebar__subtitle {
    display: block;
    font-size: 14px;
    font-weight: var(--tg-fw-medium);
    color: var(--tg-common-color-gray-3);
}

.sz-price-sidebar__modes {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 6px;
    background: var(--tg-common-color-gray-2);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 18px;
}

/*
 * INFERRED, NOT SOURCED. The mock-up renders the two switch buttons through an unresolved
 * template variable ({{ tglPart }} / {{ tglEnt }}, l.1888-1889), so their own styling never
 * appears in the file. The padding, the font size and the weight below are deduced from the
 * neighbouring elements of the sidebar, not read from the mock-up. To be confirmed with the
 * designer before the page tickets rely on them. Everything around them -- the track
 * (radius 999px, padding 4px, gap 6px, lilac background) -- is sourced from l.1887.
 */
.sz-price-sidebar__mode {
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 9px 12px;
    text-align: center;
    font-family: var(--tg-heading-font-family);
    font-size: 13.5px;
    font-weight: var(--tg-fw-semi-bold);
    color: var(--tg-common-color-gray-3);
    transition: all 0.25s ease;
}

.sz-price-sidebar__mode:hover {
    color: var(--tg-heading-color);
}

.sz-price-sidebar__mode--active {
    background: var(--tg-common-color-white);
    color: var(--tg-heading-color);
    box-shadow: 0 1px 4px rgba(6, 4, 46, 0.12);
}

.sz-price-sidebar__note {
    background: var(--tg-common-color-gray-2);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--tg-heading-color);
}

.sz-price-sidebar__price {
    text-align: center;
    margin-bottom: 18px;
}

.sz-price-sidebar__amount {
    font-family: var(--tg-heading-font-family);
    font-weight: var(--tg-fw-extra-bold);
    font-size: 28px;
    color: var(--tg-heading-color);
    line-height: 1.15;
}

.sz-price-sidebar__caption {
    font-size: 12.5px;
    color: var(--tg-common-color-gray-3);
    margin-top: 6px;
    line-height: 1.5;
}

.sz-price-sidebar__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* The mock-up overrides the standard button shadow on this one call to action (l.1899):
   4px 5px instead of 4px 6px. */
.sz-price-sidebar__cta {
    box-shadow: 4px 5px 0 0 var(--tg-common-color-blue);
}

.sz-price-sidebar__footnote {
    display: block;
    width: 120px;
    max-width: 100%;
    margin: 18px auto 0;
    border-radius: var(--sz-radius-sm);
}

/* =============================================================
   Public data block
   ============================================================= */

.sz-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
    margin-top: 22px;
    align-items: stretch;
}

.sz-public-data__card {
    display: flex;
    flex-direction: column;
}

.sz-public-data__card h3 {
    margin: 0 0 8px;
    font-size: 15.5px;
}

.sz-public-data__card p {
    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.65;
}

.sz-public-data__rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.sz-public-data__row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
    border-bottom: 1px solid var(--tg-border-3);
    padding-bottom: 9px;
}

.sz-public-data__key {
    font-size: 12.5px;
    color: var(--tg-common-color-gray-3);
    line-height: 1.4;
    flex: none;
}

.sz-public-data__value {
    font-family: var(--tg-heading-font-family);
    font-size: 13px;
    font-weight: var(--tg-fw-bold);
    color: var(--tg-heading-color);
    text-align: right;
    line-height: 1.4;
    white-space: nowrap;
}

.sz-link-pill {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--tg-border-1);
    border-radius: 999px;
    padding: 9px 16px;
    font-family: var(--tg-heading-font-family);
    font-size: 12.5px;
    font-weight: var(--tg-fw-semi-bold);
    color: var(--tg-heading-color);
}

.sz-link-pill:hover {
    border-color: var(--tg-theme-primary);
    color: var(--tg-theme-primary);
}

/* =============================================================
   Human approach block
   ============================================================= */

.sz-human-approach {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 26px;
    align-items: start;
    margin-top: 8px;
}

.sz-human-approach__portrait {
    border-radius: 50% 50% 46% 54% / 54% 50% 50% 46%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--sz-shadow-card);
}

.sz-human-approach__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =============================================================
   Training grid
   ============================================================= */

.sz-training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.sz-training-card {
    border: 1px solid var(--tg-border-3);
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

/* The only hover the mock-ups spell out (style-hover, l.1871) moves the border and the shadow
   and nothing else. */
.sz-training-card:hover {
    border-color: var(--tg-theme-primary);
    box-shadow: var(--sz-shadow-card);
}

.sz-training-card__badge {
    align-self: flex-start;
    margin-bottom: 12px;
}

.sz-training-card__title {
    font-family: var(--tg-heading-font-family);
    font-weight: var(--tg-fw-bold);
    font-size: 16px;
    color: var(--tg-heading-color);
    line-height: 1.35;
    margin-bottom: 8px;
}

.sz-training-card__meta {
    font-size: 13px;
    color: var(--tg-common-color-gray-3);
    line-height: 1.5;
    margin-bottom: 16px;
}

.sz-training-card__more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--tg-heading-font-family);
    font-size: 13.5px;
    font-weight: var(--tg-fw-semi-bold);
    color: var(--tg-theme-primary);
}

/* =============================================================
   Responsive
   ============================================================= */

@media (max-width: 991px) {
    .sz-footer--training .sz-footer__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .sz-footer--trainer .sz-footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .sz-human-approach {
        grid-template-columns: 1fr;
    }

    .sz-human-approach__portrait {
        max-width: 190px;
    }

    .sz-price-sidebar {
        position: static;
    }
}

@media (max-width: 575px) {
    .sz-container,
    .sz-header__inner,
    .sz-footer__bottom-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sz-section {
        padding-block: 56px;
    }

    .sz-footer--training .sz-footer__inner,
    .sz-footer--trainer .sz-footer__inner {
        grid-template-columns: 1fr;
    }

    .sz-cta-banner {
        padding: 28px 24px;
    }
}
