
/* ===== COACH SPACE ===== */


/* =========================================================
   K-REBORN COACHING SPACE
   Feuille de style principale
   Version : 1.0
   ========================================================= */

/* 1. VARIABLES ET FONDATIONS
   ========================================================= */

:root {
    color-scheme: dark;

    --kr-black: #0A0A0A;
    --kr-white: #FFFFFF;
    --kr-orange: #FF6A00;
    --kr-green: #00C853;

    --kr-bg: #0A0A0A;
    --kr-surface: #141414;
    --kr-surface-raised: #1B1B1B;
    --kr-surface-hover: #222222;

    --kr-border: rgba(255, 255, 255, 0.10);
    --kr-border-hover: rgba(255, 255, 255, 0.20);

    --kr-text: #F5F5F5;
    --kr-text-muted: #A1A1A1;
    --kr-text-subtle: #737373;

    --kr-orange-soft: rgba(255, 106, 0, 0.10);
    --kr-orange-border: rgba(255, 106, 0, 0.35);
    --kr-green-soft: rgba(0, 200, 83, 0.10);
    --kr-green-border: rgba(0, 200, 83, 0.30);

    --kr-font-display: 'Montserrat', sans-serif;
    --kr-font-body: 'Inter', sans-serif;

    --kr-radius-sm: 8px;
    --kr-radius-md: 12px;
    --kr-radius-lg: 18px;
    --kr-radius-xl: 24px;

    --kr-shadow-card: 0 12px 32px rgba(0, 0, 0, 0.18);
    --kr-shadow-modal: 0 24px 80px rgba(0, 0, 0, 0.55);

    --kr-transition: 180ms ease;
    --kr-container: 1180px;
}

/* 2. RESET
   ========================================================= */

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background: var(--kr-bg);
    color: var(--kr-text);
    font-family: var(--kr-font-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
    font-family: var(--kr-font-body);
}

button,
input,
textarea,
select {
    font-size: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--kr-white);
    font-family: var(--kr-font-display);
    line-height: 1.25;
}

p:last-child {
    margin-bottom: 0;
}

[hidden] {
    display: none !important;
}

::selection {
    background: var(--kr-orange);
    color: var(--kr-white);
}

/* 3. ACCESSIBILITÉ ET FOCUS
   ========================================================= */

:focus-visible {
    outline: 2px solid var(--kr-orange);
    outline-offset: 4px;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 4. STRUCTURE GÉNÉRALE
   ========================================================= */

.app-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.container {
    width: min(calc(100% - 48px), var(--kr-container));
    margin-inline: auto;
}

.spa-view {
    width: 100%;
    flex: 1;
    animation: view-appear 220ms ease both;
}

@keyframes view-appear {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content {
    padding-block: 48px 72px;
}

.section-block {
    margin-top: 48px;
}

.section-heading {
    margin-bottom: 24px;
}

.section-title {
    margin-bottom: 10px;
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.section-description {
    max-width: 700px;
    color: var(--kr-text-muted);
    font-size: 0.94rem;
    line-height: 1.8;
}

/* 5. EN-TÊTE ET IDENTITÉ K-REBORN
   ========================================================= */

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid var(--kr-border);
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-lockup {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.brand-logo-link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: var(--kr-radius-sm);
    text-decoration: none;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.brand-copy {
    min-width: 0;
}

.brand-name {
    margin: 0;
    color: var(--kr-white);
    font-family: var(--kr-font-display);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.brand-slogan {
    margin-top: 3px;
    color: var(--kr-text-muted);
    font-size: 0.72rem;
    line-height: 1.4;
}

.header-context {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--kr-text-muted);
    font-size: 0.8rem;
}

.header-context-icon {
    color: var(--kr-orange);
}

/* 6. BOUTONS DE NAVIGATION
   ========================================================= */

.navigation-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 16px;
    border: 1px solid var(--kr-border);
    border-radius: var(--kr-radius-sm);
    background: transparent;
    color: var(--kr-text);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
    transition:
        background var(--kr-transition),
        border-color var(--kr-transition),
        color var(--kr-transition),
        transform var(--kr-transition);
}

.navigation-button:hover {
    border-color: var(--kr-border-hover);
    background: var(--kr-surface-raised);
}

.navigation-button:active {
    transform: translateY(1px);
}

.navigation-button .icon,
.navigation-button i {
    color: var(--kr-text-muted);
}

.navigation-button--accent {
    border-color: var(--kr-orange-border);
    color: var(--kr-orange);
}

.navigation-button--accent:hover {
    border-color: var(--kr-orange);
    background: var(--kr-orange-soft);
}

.navigation-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--kr-border);
}

/* 7. ACCUEIL DU COACH
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(56px, 9vw, 100px);
}

.hero::before {
    position: absolute;
    z-index: 0;
    top: -180px;
    right: -130px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 106, 0, 0.09) 0%,
        rgba(255, 106, 0, 0) 70%
    );
    content: "";
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.hero-eyebrow,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--kr-orange);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 850px;
    margin-bottom: 22px;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.12;
}

.title-accent {
    color: var(--kr-orange);
}

.hero-description {
    max-width: 650px;
    margin-bottom: 32px;
    color: var(--kr-text-muted);
    font-size: clamp(0.98rem, 2vw, 1.1rem);
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* 8. BOUTONS D'ACTION
   ========================================================= */

.btn-kr {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--kr-radius-sm);
    cursor: pointer;
    font-size: 0.87rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition:
        background var(--kr-transition),
        border-color var(--kr-transition),
        color var(--kr-transition),
        box-shadow var(--kr-transition),
        transform var(--kr-transition);
}

.btn-kr:hover {
    transform: translateY(-2px);
}

.btn-kr:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--kr-orange);
    color: var(--kr-white);
}

.btn-primary:hover {
    background: #E85F00;
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.18);
}

.btn-secondary {
    border-color: var(--kr-border-hover);
    background: var(--kr-surface);
    color: var(--kr-text);
}

.btn-secondary:hover {
    border-color: var(--kr-orange-border);
    background: var(--kr-surface-raised);
}

.btn-success {
    border-color: var(--kr-green-border);
    background: var(--kr-green-soft);
    color: var(--kr-green);
}

.btn-success:hover {
    border-color: var(--kr-green);
    background: rgba(0, 200, 83, 0.15);
}

.btn-ghost {
    background: transparent;
    color: var(--kr-text-muted);
}

.btn-ghost:hover {
    background: var(--kr-surface);
    color: var(--kr-white);
}

.btn-block {
    width: 100%;
}

/* 9. PANNEAUX ET CARTES
   ========================================================= */

.panel {
    padding: 26px;
    border: 1px solid var(--kr-border);
    border-radius: var(--kr-radius-lg);
    background: var(--kr-surface);
}

.panel-title {
    margin-bottom: 10px;
    font-size: 1.05rem;
    font-weight: 700;
}

.panel-description {
    color: var(--kr-text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
}

.welcome-panel {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    border: 1px solid var(--kr-orange-border);
    border-radius: var(--kr-radius-lg);
    background:
        linear-gradient(
            120deg,
            rgba(255, 106, 0, 0.07),
            transparent 65%
        ),
        var(--kr-surface);
}

.welcome-panel-icon {
    display: flex;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: var(--kr-radius-md);
    background: var(--kr-orange-soft);
    color: var(--kr-orange);
    font-size: 1.2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.info-card {
    padding: 24px;
    border: 1px solid var(--kr-border);
    border-radius: var(--kr-radius-md);
    background: var(--kr-surface);
    transition:
        border-color var(--kr-transition),
        transform var(--kr-transition),
        background var(--kr-transition);
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--kr-border-hover);
    background: var(--kr-surface-raised);
}

.icon-feature {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: var(--kr-radius-sm);
    background: var(--kr-orange-soft);
    color: var(--kr-orange);
    font-size: 1.05rem;
}

.info-card-title {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 700;
}

.info-card-description {
    margin: 0;
    color: var(--kr-text-muted);
    font-size: 0.86rem;
    line-height: 1.8;
}

/* 10. PRINCIPES DE COACHING
   ========================================================= */

.principles-panel {
    padding: 30px;
    border: 1px solid var(--kr-border);
    border-radius: var(--kr-radius-lg);
    background: var(--kr-surface);
}

.principles-list {
    display: grid;
    gap: 16px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--kr-text-muted);
    line-height: 1.8;
}

.principle-icon {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--kr-green);
}

/* 11. PARCOURS ET RÉSUMÉ
   ========================================================= */

.journey-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--kr-orange-border);
    border-radius: var(--kr-radius-lg);
    background:
        linear-gradient(
            110deg,
            rgba(255, 106, 0, 0.08),
            transparent 75%
        ),
        var(--kr-surface);
}

.journey-entry-content {
    max-width: 700px;
}

.journey-entry h2 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.journey-entry p {
    margin-bottom: 0;
    color: var(--kr-text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.journey-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.journey-summary-item {
    padding: 20px;
    border: 1px solid var(--kr-border);
    border-radius: var(--kr-radius-md);
    background: var(--kr-surface);
}

.journey-summary-value {
    display: block;
    margin-bottom: 6px;
    color: var(--kr-orange);
    font-family: var(--kr-font-display);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.2;
}

.journey-summary-label {
    color: var(--kr-text-muted);
    font-size: 0.82rem;
}

/* 12. GRILLE DES SEMAINES
   ========================================================= */

.weeks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.week-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--kr-border);
    border-radius: var(--kr-radius-lg);
    background: var(--kr-surface);
    transition:
        border-color var(--kr-transition),
        background var(--kr-transition),
        transform var(--kr-transition);
}

.week-card:hover {
    transform: translateY(-3px);
    border-color: var(--kr-orange-border);
    background: var(--kr-surface-raised);
}

.week-card-button {
    display: flex;
    width: 100%;
    height: 100%;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.week-card-button:focus-visible {
    outline-offset: -5px;
}

.week-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.week-number {
    color: var(--kr-orange);
    font-family: var(--kr-font-display);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.week-icon {
    display: flex;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: var(--kr-radius-sm);
    background: var(--kr-orange-soft);
    color: var(--kr-orange);
    font-size: 1.05rem;
}

.week-title {
    margin-bottom: 12px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.week-description {
    flex: 1;
    margin-bottom: 22px;
    color: var(--kr-text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
}

.week-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--kr-border);
    color: var(--kr-text-muted);
    font-size: 0.78rem;
}

.week-card-footer i {
    color: var(--kr-orange);
}

/* 13. LISTE DES SESSIONS
   ========================================================= */

.sessions-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.sessions-header-content {
    min-width: 0;
}

.selected-week-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 10px;
    border: 1px solid var(--kr-orange-border);
    border-radius: 999px;
    background: var(--kr-orange-soft);
    color: var(--kr-orange);
    font-size: 0.73rem;
    font-weight: 700;
}

.sessions-count {
    flex-shrink: 0;
    color: var(--kr-text-muted);
    font-size: 0.82rem;
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.session-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--kr-border);
    border-radius: var(--kr-radius-lg);
    background: var(--kr-surface);
    transition:
        border-color var(--kr-transition),
        background var(--kr-transition),
        transform var(--kr-transition);
}

.session-card:hover {
    transform: translateY(-2px);
    border-color: var(--kr-border-hover);
    background: var(--kr-surface-raised);
}

.session-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.session-number {
    color: var(--kr-orange);
    font-family: var(--kr-font-display);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.session-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 9px;
    border: 1px solid var(--kr-border);
    border-radius: 999px;
    color: var(--kr-text-muted);
    font-size: 0.7rem;
    font-weight: 600;
}

.session-status::before {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--kr-text-subtle);
    content: "";
}

.session-status--ready {
    border-color: var(--kr-green-border);
    background: var(--kr-green-soft);
    color: var(--kr-green);
}

.session-status--ready::before {
    background: var(--kr-green);
}

.session-status--pending {
    border-color: var(--kr-orange-border);
    background: var(--kr-orange-soft);
    color: var(--kr-orange);
}

.session-status--pending::before {
    background: var(--kr-orange);
}

.session-title {
    margin-bottom: 12px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.session-description {
    flex: 1;
    margin-bottom: 20px;
    color: var(--kr-text-muted);
    font-size: 0.86rem;
    line-height: 1.8;
}

.session-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.session-topic {
    padding: 5px 9px;
    border: 1px solid var(--kr-border);
    border-radius: 6px;
    color: var(--kr-text-muted);
    font-size: 0.72rem;
}

.session-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--kr-border);
}

.session-actions .btn-kr {
    flex: 1;
}

/* 14. BOUTON PRÉPA DE LA SÉANCE
   ========================================================= */

.btn-session-prep {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid var(--kr-orange-border);
    border-radius: var(--kr-radius-sm);
    background: var(--kr-orange-soft);
    color: var(--kr-orange);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition:
        border-color var(--kr-transition),
        background var(--kr-transition),
        color var(--kr-transition),
        transform var(--kr-transition);
}

.btn-session-prep:hover {
    transform: translateY(-1px);
    border-color: var(--kr-orange);
    background: var(--kr-orange);
    color: var(--kr-white);
}

.btn-session-prep:active {
    transform: translateY(0);
}

.btn-session-prep i {
    font-size: 0.9rem;
}

/* 15. ÉTAT VIDE
   ========================================================= */

.empty-state {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    border: 1px dashed var(--kr-border-hover);
    border-radius: var(--kr-radius-lg);
    background: rgba(255, 255, 255, 0.015);
    text-align: center;
}

.empty-state-icon {
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--kr-surface-raised);
    color: var(--kr-text-muted);
    font-size: 1.2rem;
}

.empty-state-title {
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 700;
}

.empty-state-description {
    max-width: 460px;
    margin: 0;
    color: var(--kr-text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
}

/* 16. MODALE DE PRÉPARATION
   ========================================================= */

.modal-backdrop {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 24px;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-panel {
    position: relative;
    width: min(100%, 720px);
    max-height: min(85vh, 850px);
    overflow-y: auto;
    padding: 32px;
    border: 1px solid var(--kr-border-hover);
    border-radius: var(--kr-radius-xl);
    background: var(--kr-surface);
    box-shadow: var(--kr-shadow-modal);
    animation: modal-appear 180ms ease both;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.99);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--kr-border);
}

.modal-title {
    margin-bottom: 8px;
    font-size: clamp(1.2rem, 3vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.modal-description {
    margin: 0;
    color: var(--kr-text-muted);
    font-size: 0.86rem;
    line-height: 1.8;
}

.modal-close {
    display: flex;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--kr-border);
    border-radius: var(--kr-radius-sm);
    background: transparent;
    color: var(--kr-text-muted);
    cursor: pointer;
    transition:
        background var(--kr-transition),
        color var(--kr-transition),
        border-color var(--kr-transition);
}

.modal-close:hover {
    border-color: var(--kr-border-hover);
    background: var(--kr-surface-hover);
    color: var(--kr-white);
}

.modal-body {
    color: var(--kr-text-muted);
    font-size: 0.9rem;
    line-height: 1.9;
}

.modal-body h3 {
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.modal-body ul,
.modal-body ol {
    padding-left: 22px;
}

.modal-body li + li {
    margin-top: 8px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--kr-border);
}

/* 17. FORMULAIRES FUTURS DU COACH
   ========================================================= */

.form-stack {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-label {
    color: var(--kr-text);
    font-size: 0.84rem;
    font-weight: 600;
}

.form-help {
    color: var(--kr-text-subtle);
    font-size: 0.77rem;
    line-height: 1.7;
}

.form-control {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--kr-border-hover);
    border-radius: var(--kr-radius-sm);
    outline: none;
    background: #101010;
    color: var(--kr-text);
    transition: border-color var(--kr-transition);
}

.form-control::placeholder {
    color: var(--kr-text-subtle);
}

.form-control:focus {
    border-color: var(--kr-orange);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* 18. JOURNAL ET NOTES DU COACH
   ========================================================= */

.journal-entry {
    padding: 24px;
    border: 1px solid var(--kr-border);
    border-radius: var(--kr-radius-md);
    background: var(--kr-surface);
}

.journal-entry + .journal-entry {
    margin-top: 16px;
}

.journal-entry-title {
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 700;
}

.journal-entry-meta {
    margin-bottom: 16px;
    color: var(--kr-text-subtle);
    font-size: 0.76rem;
}

.journal-entry-content {
    color: var(--kr-text-muted);
    font-size: 0.88rem;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

/* 19. PIED DE PAGE
   ========================================================= */

.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--kr-border);
    background: #0C0C0C;
}

.footer-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 18px;
}

.footer-copy {
    margin: 0;
    color: var(--kr-text-subtle);
    font-size: 0.76rem;
    line-height: 1.7;
}

.footer-accent {
    color: var(--kr-orange);
}

/* 20. UTILITAIRES
   ========================================================= */

.text-muted {
    color: var(--kr-text-muted);
}

.text-orange {
    color: var(--kr-orange);
}

.text-green {
    color: var(--kr-green);
}

.text-small {
    font-size: 0.82rem;
}

.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.flex-wrap {
    flex-wrap: wrap;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

/* 21. RESPONSIVE — TABLETTES
   ========================================================= */

@media (max-width: 900px) {
    .info-grid,
    .weeks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journey-summary {
        gap: 12px;
    }

    .journey-summary-item {
        padding: 16px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 7vw, 3.6rem);
    }
}

/* 22. RESPONSIVE — MOBILES
   ========================================================= */

@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

    .container {
        width: min(calc(100% - 32px), var(--kr-container));
    }

    .header-inner {
        min-height: 72px;
        gap: 12px;
    }

    .brand-lockup {
        gap: 10px;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 0.98rem;
    }

    .brand-slogan {
        max-width: 210px;
        font-size: 0.66rem;
    }

    .header-context {
        display: none;
    }

    .page-content {
        padding-block: 32px 48px;
    }

    .hero {
        padding-block: 54px 60px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-description {
        font-size: 0.93rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn-kr {
        width: 100%;
    }

    .info-grid,
    .weeks-grid,
    .sessions-grid {
        grid-template-columns: 1fr;
    }

    .journey-summary {
        grid-template-columns: 1fr;
    }

    .journey-summary-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .journey-summary-value {
        margin-bottom: 0;
        font-size: 1.35rem;
    }

    .journey-entry {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
    }

    .journey-entry .btn-kr {
        width: 100%;
    }

    .welcome-panel {
        flex-direction: column;
        padding: 22px;
    }

    .panel,
    .principles-panel {
        padding: 22px;
    }

    .week-card-button {
        padding: 22px;
    }

    .sessions-header {
        flex-direction: column;
        gap: 12px;
    }

    .session-card {
        padding: 20px;
    }

    .session-actions {
        flex-direction: column;
    }

    .session-actions .btn-kr,
    .session-actions .btn-session-prep {
        width: 100%;
    }

    .navigation-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .navigation-footer .navigation-button {
        width: 100%;
    }

    .modal-backdrop {
        align-items: flex-end;
        padding: 12px;
    }

    .modal-panel {
        max-height: 90vh;
        padding: 24px 20px;
        border-radius: var(--kr-radius-lg);
    }

    .modal-header {
        gap: 12px;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .btn-kr {
        width: 100%;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding-block: 20px;
    }
}

/* 23. RESPONSIVE — TRÈS PETITS ÉCRANS
   ========================================================= */

@media (max-width: 360px) {
    .container {
        width: calc(100% - 24px);
    }

    .brand-slogan {
        max-width: 165px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .week-card-button,
    .session-card {
        padding: 18px;
    }

    .session-card-top {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   K-REBORN — LEARNER GUIDE READER
========================================================= */

.guide-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.guide-brand {
    text-decoration: none;
}

.guide-page {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
}

.guide-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.guide-breadcrumb a {
    color: #FF6A00;
    text-decoration: none;
}

.guide-breadcrumb i {
    font-size: 0.65rem;
}

.guide-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4rem);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 106, 0, 0.13), transparent 35%),
        rgba(255, 255, 255, 0.025);
}

.guide-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #FF6A00;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.guide-status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #00C853;
    box-shadow: 0 0 12px rgba(0, 200, 83, 0.5);
}

.guide-session-label {
    margin: 1.5rem 0 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.guide-title {
    max-width: 900px;
    margin: 0;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
}

.guide-session-objective {
    max-width: 760px;
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.8;
}

.guide-layout {
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
}

.guide-sidebar {
    position: sticky;
    top: 1.5rem;
    display: grid;
    gap: 1rem;
}

.guide-sidebar-card {
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.035);
}

.guide-sidebar-heading {
    margin-bottom: 1rem;
    color: #FF6A00;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.guide-sidebar nav {
    display: grid;
    gap: 0.25rem;
}

.guide-sidebar nav a {
    padding: 0.65rem 0.75rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.guide-sidebar nav a:hover,
.guide-sidebar nav a:focus-visible {
    background: rgba(255, 106, 0, 0.1);
    color: #FF6A00;
}

.guide-sidebar-note {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.guide-sidebar-note i {
    margin-top: 0.2rem;
    color: #FF6A00;
}

.guide-sidebar-note p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    line-height: 1.7;
}

.guide-document {
    min-width: 0;
    padding: clamp(1.25rem, 4vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.025);
}

.guide-section {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 1rem;
    padding: 0 0 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    scroll-margin-top: 2rem;
}

.guide-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.guide-section-index {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 0.7rem;
    background: rgba(255, 106, 0, 0.08);
    color: #FF6A00;
    font-size: 0.8rem;
    font-weight: 700;
}

.guide-section-content {
    min-width: 0;
}

.guide-section-eyebrow {
    margin-bottom: 0.5rem;
    color: #FF6A00;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.guide-section-content > h2 {
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: 700;
    line-height: 1.3;
}

.guide-section-content > p,
.guide-topic > p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.96rem;
    line-height: 1.9;
    white-space: normal;
}

.guide-highlight {
    padding: 1.2rem 1.4rem;
    margin-top: 1.5rem;
    border-left: 3px solid #FF6A00;
    border-radius: 0 0.7rem 0.7rem 0;
    background: rgba(255, 106, 0, 0.07);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.guide-objective-group {
    margin-bottom: 1.5rem;
}

.guide-objective-group h3,
.guide-topic h3,
.guide-exercise h3 {
    margin-bottom: 0.8rem;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
}

.guide-objective-group h3 i {
    margin-right: 0.5rem;
    color: #FF6A00;
}

.guide-list {
    display: grid;
    gap: 0.7rem;
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

.guide-topic {
    padding: 1.4rem 0;
}

.guide-topic + .guide-topic {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.guide-example {
    padding: 1.2rem;
    margin-top: 1rem;
    border: 1px solid rgba(0, 200, 83, 0.18);
    border-radius: 0.8rem;
    background: rgba(0, 200, 83, 0.045);
}

.guide-block-label {
    margin-bottom: 0.8rem;
    color: #00C853;
    font-size: 0.78rem;
    font-weight: 700;
}

.guide-exercise {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: 1rem;
    background: rgba(255, 106, 0, 0.035);
}

.guide-exercise-number {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: #FF6A00;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.guide-exercise > p,
.guide-expected-result p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    white-space: normal;
}

.guide-expected-result {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-expected-result strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #00C853;
    font-size: 0.8rem;
}

.guide-takeaways-list {
    display: grid;
    gap: 0.9rem;
    padding: 0;
    list-style: none;
}

.guide-takeaways-list li {
    position: relative;
    padding: 1rem 1rem 1rem 2.8rem;
    border: 1px solid rgba(0, 200, 83, 0.15);
    border-radius: 0.8rem;
    background: rgba(0, 200, 83, 0.035);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.guide-takeaways-list li::before {
    position: absolute;
    left: 1rem;
    color: #00C853;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f00c';
}

.guide-work-intro {
    margin-bottom: 1.2rem;
}

.guide-prompt-card {
    overflow: hidden;
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 1rem;
    background: #101010;
}

.guide-prompt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-prompt-header > span {
    color: #FF6A00;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.guide-prompt-header button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    font-size: 0.8rem;
    cursor: pointer;
}

.guide-prompt-header button:hover {
    border-color: #FF6A00;
    color: #FF6A00;
}

.guide-prompt-card pre {
    overflow-x: auto;
    max-width: 100%;
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.9;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.guide-resources-list {
    display: grid;
    gap: 0.8rem;
}

.guide-resource-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.025);
}

.guide-resource-card h3 {
    margin-bottom: 0.4rem;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 600;
}

.guide-resource-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.7;
}

.guide-resource-card > a {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.6rem;
    background: rgba(255, 106, 0, 0.1);
    color: #FF6A00;
    text-decoration: none;
}

.guide-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.guide-page-footer > p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.guide-page-footer > p span {
    color: rgba(255, 255, 255, 0.4);
}

.guide-state {
    display: grid;
    justify-items: center;
    gap: 1rem;
    padding: 5rem 1.5rem;
    text-align: center;
}

.guide-state > i {
    color: #FF6A00;
    font-size: 2rem;
}

.guide-state h1 {
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
}

.guide-state p {
    max-width: 550px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
}

.guide-toc-empty {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

@media (max-width: 850px) {
    .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        position: static;
    }

    .guide-sidebar-card:first-child nav {
        display: flex;
        flex-wrap: wrap;
    }

    .guide-sidebar-note {
        display: none;
    }
}

@media (max-width: 600px) {
    .guide-header-inner {
        align-items: flex-start;
    }

    .guide-header-inner > a:last-child {
        padding: 0.7rem;
        font-size: 0.75rem;
    }

    .guide-brand .brand-slogan {
        display: none;
    }

    .guide-hero {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .guide-document {
        padding: 1.1rem;
    }

    .guide-section {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .guide-section-index {
        width: 2rem;
        height: 2rem;
    }

    .guide-page-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .guide-prompt-header {
        align-items: flex-start;
        flex-direction: column;
    }
}