/* ==========================================
   PRÉ-INSCRIPTION — Taekwondo 52
   Styles harmonisés avec le site principal
   ========================================== */

/* Réutilisation des variables du site principal */
:root {
    --bg: #09090c;
    --bg-soft: #12131a;
    --panel: rgba(255, 255, 255, 0.07);
    --panel-strong: #171920;
    --panel-light: #f7f1e7;
    --text: #f6f3ed;
    --text-muted: #b8b2a5;
    --text-dark: #171719;
    --line: rgba(255, 255, 255, 0.12);
    --line-dark: rgba(23, 23, 25, 0.1);
    --red: #d62828;
    --red-deep: #9f1d1d;
    --gold: #d8aa4c;
    --green: #2ecc71;
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.18);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: min(1180px, calc(100vw - 2rem));
    --header-height: 88px;
    --display: 'Bebas Neue', sans-serif;
    --body: 'Source Sans 3', sans-serif;
}

/* Reset de base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    background:
        radial-gradient(circle at top left, rgba(214, 40, 40, 0.22), transparent 28%),
        radial-gradient(circle at top right, rgba(216, 170, 76, 0.18), transparent 24%),
        linear-gradient(180deg, #0d0e12 0%, #09090c 35%, #111217 100%);
    color: var(--text);
    min-height: 100vh;
}

img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
    position: absolute; left: 1rem; top: -4rem;
    background: var(--panel-light); color: var(--text-dark);
    padding: 0.8rem 1rem; border-radius: var(--radius-sm);
    z-index: 200; transition: top 0.25s ease;
}
.skip-link:focus { top: 1rem; }

.container { width: var(--container); margin: 0 auto; }

/* ==========================================
   HEADER (même structure que le site principal)
   ========================================== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(10, 10, 14, 0.72);
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
    background: rgba(10, 10, 14, 0.92);
    border-color: var(--line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}
.header-inner {
    min-height: var(--header-height);
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand {
    display: inline-flex; align-items: center; gap: 0.9rem;
    min-width: 0; flex: 1 1 auto;
}
.brand img {
    width: 72px; height: 72px; object-fit: contain;
    border-radius: 18px; background: rgba(255,255,255,0.06);
    padding: 0.45rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.brand-copy { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.brand-copy strong { font-size: 1.15rem; font-weight: 700; }
.brand-kicker {
    font-size: 0.83rem; letter-spacing: 0.24em;
    text-transform: uppercase; color: var(--gold);
}
.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a { color: var(--text-muted); font-weight: 600; transition: color 0.25s ease; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--text); }
.nav-cta {
    padding: 0.78rem 1.2rem; border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--red), #ff4e42);
    box-shadow: 0 14px 34px rgba(214, 40, 40, 0.35);
}
.nav-toggle {
    display: none; width: 52px; height: 52px;
    border: 1px solid var(--line); border-radius: 14px;
    background: rgba(255,255,255,0.05);
    align-items: center; justify-content: center;
    flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================
   HERO
   ========================================== */
.eyebrow, .section-label, .quick-label {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.84rem; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--gold);
}
.eyebrow::before {
    content: ''; width: 18px; height: 1px; background: currentColor;
}

.page-hero {
    padding: 5.2rem 0 2.8rem;
    background:
        radial-gradient(circle at top right, rgba(214, 40, 40, 0.14), transparent 24%),
        linear-gradient(180deg, #111217 0%, #0b0b0e 100%);
}
.page-hero-content { max-width: 760px; }
.page-hero h1 {
    font-family: var(--display); font-weight: 400; line-height: 0.96;
    letter-spacing: 0.015em; margin: 0.7rem 0 1rem;
    font-size: clamp(3.4rem, 5.8vw, 5.8rem); max-width: 11ch;
}
.hero-lead {
    color: var(--text-muted); font-size: 1.12rem; line-height: 1.7;
}

/* ==========================================
   BARRE DE PROGRESSION
   ========================================== */
.form-progress {
    display: flex; align-items: center; justify-content: center;
    gap: 0; padding: 2rem 0 3rem;
}
.progress-step {
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    opacity: 0.35; transition: opacity 0.4s ease;
}
.progress-step.active { opacity: 1; }
.progress-step.completed { opacity: 0.7; }

.step-circle {
    width: 42px; height: 42px; border-radius: 50%;
    border: 2px solid var(--line); background: rgba(255,255,255,0.04);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--display); font-size: 1.1rem; font-weight: 400;
    color: var(--text-muted);
    transition: all 0.4s ease;
}
.progress-step.active .step-circle {
    border-color: var(--red); background: var(--red);
    color: #fff; box-shadow: 0 0 24px rgba(214, 40, 40, 0.4);
}
.progress-step.completed .step-circle {
    border-color: var(--green); background: var(--green);
    color: #fff;
}
.step-label {
    font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
    letter-spacing: 0.04em;
    transition: color 0.4s ease;
}
.progress-step.active .step-label { color: var(--text); }

.progress-line {
    width: 48px; height: 2px; background: var(--line);
    margin: 0 0.25rem; margin-bottom: 1.4rem;
    transition: background 0.4s ease;
}
.progress-line.filled { background: var(--green); }

/* ==========================================
   FORMULAIRE — Étapes
   ========================================== */
.inscription-form { position: relative; }

.form-step {
    display: none;
    animation: fadeSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-step.active { display: block; }

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   FORMULAIRE — Cartes
   ========================================== */
.form-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    box-shadow: var(--shadow);
}

.form-card-header {
    display: flex; align-items: flex-start; gap: 1rem;
    margin-bottom: 2rem; padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.form-card-icon {
    flex-shrink: 0; width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px; background: linear-gradient(135deg, rgba(214,40,40,0.2), rgba(214,40,40,0.08));
    color: var(--gold);
}
.form-card-header h2 {
    margin: 0; font-family: var(--display); font-weight: 400;
    font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1;
    letter-spacing: 0.02em;
}
.form-card-subtitle {
    margin: 0.4rem 0 0; color: var(--text-muted); font-size: 0.95rem;
}

/* ==========================================
   FORMULAIRE — Grille & Champs
   ========================================== */
.form-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
    font-size: 0.9rem; font-weight: 700; color: var(--text-muted);
    letter-spacing: 0.02em;
}
.required { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    padding: 0.9rem 1rem; color: var(--text);
    resize: vertical;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(216, 170, 76, 0.8);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 4px rgba(216, 170, 76, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.25);
}

/* Select */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23b8b2a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.form-group select option {
    background: #171920; color: var(--text);
}

/* Input date */
.form-group input[type="date"] {
    color-scheme: dark;
}

/* Erreurs */
.error-msg {
    display: none; font-size: 0.82rem; color: var(--red);
    padding-left: 0.2rem; font-weight: 600;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.2) !important;
}
.form-group.error .error-msg { display: block; }

.form-card.error .error-msg { display: block; }

/* ==========================================
   RADIO & CHECKBOX
   ========================================== */
.radio-group {
    display: flex; flex-direction: column; gap: 0.6rem;
}
.radio-label {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.85rem 1rem; border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.radio-label:hover {
    border-color: rgba(216,170,76,0.4);
    background: rgba(255,255,255,0.06);
}
.radio-label input[type="radio"] {
    display: none;
}
.radio-custom {
    flex-shrink: 0; width: 20px; height: 20px;
    border-radius: 50%; border: 2px solid rgba(255,255,255,0.2);
    position: relative; transition: all 0.25s ease;
}
.radio-label input[type="radio"]:checked ~ .radio-custom {
    border-color: var(--gold);
}
.radio-label input[type="radio"]:checked ~ .radio-custom::after {
    content: '';
    position: absolute; inset: 3px;
    border-radius: 50%; background: var(--gold);
}

.checkbox-wrapper {
    display: flex; align-items: flex-start; gap: 0.65rem;
}
.checkbox-wrapper input[type="checkbox"] { display: none; }
.checkbox-label {
    display: flex; align-items: flex-start; gap: 0.65rem;
    padding: 1rem; border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    cursor: pointer; line-height: 1.5;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.checkbox-label::before {
    content: '';
    flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
    border-radius: 6px; border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.25s ease;
}
.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-label {
    border-color: rgba(216,170,76,0.4);
    background: rgba(216,170,76,0.05);
}
.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-label::before {
    border-color: var(--gold); background: var(--gold);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L4.5 8.5L11 1.5' stroke='%23171719' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.link-underline {
    color: var(--gold); text-decoration: underline;
    text-underline-offset: 2px;
}
.link-underline:hover { opacity: 0.8; }

/* ==========================================
   BOUTONS DE NAVIGATION
   ========================================== */
.form-nav {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 1.5rem;
}
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 54px; padding: 0.9rem 1.5rem;
    border-radius: 999px; border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.3s ease, opacity 0.25s ease;
    gap: 0.5rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--red), #ff5b47);
    box-shadow: 0 16px 36px rgba(214, 40, 40, 0.35);
}
.btn-primary:hover { box-shadow: 0 20px 50px rgba(214, 40, 40, 0.45); }
.btn-secondary {
    color: var(--text); border-color: var(--line);
    background: rgba(255,255,255,0.05);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.25); }

/* Bouton submit */
.submit-btn { min-width: 280px; }
.submit-btn:disabled {
    opacity: 0.6; pointer-events: none;
}
.btn-loader {
    display: inline-flex; align-items: center; gap: 0.5rem;
}

/* Spinner */
.spinner {
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================
   TOAST
   ========================================== */
.toast-container {
    position: fixed; top: 1.5rem; right: 1.5rem;
    z-index: 300; display: flex; flex-direction: column; gap: 0.75rem;
}
.toast {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem 1.3rem; border-radius: 14px;
    background: rgba(23, 25, 32, 0.96);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    animation: toastIn 0.4s cubic-bezier(0.16,1,0.3,1);
    font-weight: 600; font-size: 0.95rem;
}
.toast.error { border-color: rgba(214,40,40,0.5); }
.toast.success { border-color: rgba(46,204,113,0.5); }

.toast-icon { flex-shrink: 0; }
.toast-icon.error-icon { color: var(--red); }
.toast-icon.success-icon { color: var(--green); }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(30px); }
}

/* ==========================================
   MODAL SUCCÈS
   ========================================== */
.success-modal {
    position: fixed; inset: 0; z-index: 250;
    display: grid; place-items: center;
    padding: 1rem;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
}
.success-modal.is-open {
    opacity: 1; pointer-events: auto;
}
.success-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(4,4,7,0.85);
    backdrop-filter: blur(10px);
}
.success-modal-dialog {
    position: relative; z-index: 1;
    width: min(520px, calc(100vw - 2rem));
    border: 1px solid var(--line); border-radius: var(--radius-xl);
    padding: 3rem 2.5rem; text-align: center;
    background: rgba(23,25,32,0.98);
    box-shadow: var(--shadow);
    animation: modalIn 0.5s cubic-bezier(0.16,1,0.3,1);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.success-icon {
    width: 96px; height: 96px; margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(46,204,113,0.2), rgba(46,204,113,0.05));
    display: flex; align-items: center; justify-content: center;
    color: var(--green);
}
.success-modal-dialog h2 {
    margin: 0 0 1rem;
    font-family: var(--display); font-weight: 400;
    font-size: 2.4rem; line-height: 1;
}
.success-modal-dialog p {
    margin: 0 0 2rem; color: var(--text-muted);
    line-height: 1.7;
}

/* Honeypot — invisible */
.hp-field {
    position: absolute; left: -9999px; opacity: 0; pointer-events: none;
    height: 0; width: 0; overflow: hidden;
}

/* ==========================================
   FOOTER (même structure que le site principal)
   ========================================== */
.site-footer {
    padding: 2rem 0 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.25);
}
.footer-layout {
    display: grid; gap: 1.2rem;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}
.footer-brand img { width: 60px; height: 60px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.35rem; justify-content: flex-end; }
.footer-links a { color: var(--text-muted); }
.footer-note { color: var(--text-muted); font-size: 0.96rem; margin: 0.75rem 0 0; }
.footer-bottom {
    margin-top: 1.3rem; padding-top: 1.3rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted); font-size: 0.96rem;
}

/* ==========================================
   TRAINING SESSION CARDS
   ========================================== */
.training-session-panel {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.training-group {
    display: grid;
    gap: 0.9rem;
}

.training-group-header {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.2rem;
}

.training-group-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    color: var(--text);
}

.training-group-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.session-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.session-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(216, 170, 76, 0.08);
    border: 1px solid rgba(216, 170, 76, 0.18);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.03em;
}

.session-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* ── Membership Cards ────────────────────── */
.training-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.training-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1.4rem 1.2rem 1.2rem;
    border-radius: var(--radius-lg);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: border-color 0.35s ease, background 0.35s ease,
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease;
    overflow: hidden;
}

.training-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: linear-gradient(135deg, rgba(214, 40, 40, 0.06), rgba(216, 170, 76, 0.04));
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.training-card:hover {
    border-color: rgba(216, 170, 76, 0.3);
    background: rgba(255, 255, 255, 0.055);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.training-card:hover::before {
    opacity: 1;
}

.training-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* ── Checkmark ────────────────────────────── */
.training-card-check {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    background: transparent;
}

.training-check-icon {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    color: #fff;
}

/* ── Card body ────────────────────────────── */
.training-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    padding-right: 2rem;
}

.training-card-days {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text);
    line-height: 1.1;
}

.training-card-time {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 600;
}

.training-card-age {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}

.training-card-desc {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    opacity: 0.7;
    line-height: 1.4;
}

/* ── Price block ──────────────────────────── */
.training-card-price {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.training-card-amount {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text);
    line-height: 1;
}

.training-card-period {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ── Selected state ───────────────────────── */
.training-card.is-selected {
    border-color: var(--gold);
    background: rgba(216, 170, 76, 0.07);
    box-shadow: 0 0 28px rgba(216, 170, 76, 0.12),
                0 16px 40px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px) scale(1.01);
}

.training-card.is-selected::before {
    opacity: 1;
}

.training-card.is-selected .training-card-check {
    border-color: var(--red);
    background: var(--red);
    box-shadow: 0 0 14px rgba(214, 40, 40, 0.4);
}

.training-card.is-selected .training-check-icon {
    opacity: 1;
    transform: scale(1);
}

.training-card.is-selected .training-card-amount {
    color: var(--gold);
}

/* ── Keyboard focus ───────────────────────── */
.training-card:focus-visible {
    outline: 2px solid rgba(216, 170, 76, 0.85);
    outline-offset: 3px;
}

/* ── Warning card (TKD Fusion < 13) ────────── */
.training-warning-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.3rem 1.4rem;
    border-radius: var(--radius-lg);
    background: rgba(214, 40, 40, 0.06);
    border: 1px solid rgba(214, 40, 40, 0.2);
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    animation: fadeSlideIn 0.4s ease;
}

.training-warning-card svg {
    flex-shrink: 0;
    color: var(--red);
    margin-top: 2px;
}

.training-warning-card strong {
    color: var(--text);
}

/* ── Age info ─────────────────────────────── */
.training-age-info {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.training-age-info strong {
    color: var(--gold);
}

/* ── Pricing summary ──────────────────────── */
.training-summary {
    margin-top: 0.3rem;
    padding: 1.3rem 1.4rem;
    border-radius: var(--radius-lg);
    background: rgba(216, 170, 76, 0.05);
    border: 1px solid rgba(216, 170, 76, 0.18);
    animation: fadeSlideIn 0.4s ease;
}

.training-summary-header {
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.training-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
}

.training-summary-row + .training-summary-row {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.training-summary-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
}

.training-summary-value {
    font-weight: 700;
    color: var(--text);
}

.training-summary-total {
    padding-top: 0.6rem;
    margin-top: 0.2rem;
    border-top: 1px solid rgba(216, 170, 76, 0.2) !important;
}

.training-summary-total .training-summary-value {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gold);
}

.training-summary-note {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.6;
    font-style: italic;
}

/* ==========================================
   RECAP PANEL (Step 6)
   ========================================== */
.recap-panel {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.recap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.recap-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.recap-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.7;
}

.recap-value {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

.recap-highlight {
    grid-column: 1 / -1;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(216, 170, 76, 0.15);
}

.recap-highlight .recap-value {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--gold);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .training-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    :root { --header-height: 78px; --container: min(100vw - 1.25rem, 100%); }
    .brand img { width: 58px; height: 58px; }
    .header-inner { position: relative; gap: 0.75rem; padding-right: 4rem; }
    .brand-copy strong { font-size: 0.98rem; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .brand-kicker { display: none; }
    .nav-toggle { display: inline-flex; flex: 0 0 auto; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
    .site-nav {
        position: absolute; top: calc(100% + 0.65rem); left: 0.625rem; right: 0.625rem;
        padding: 1rem; border-radius: 22px;
        border: 1px solid var(--line); background: rgba(10,10,14,0.95);
        display: grid; gap: 0.85rem;
        transform: translateY(-12px); opacity: 0; pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }
    .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .site-nav a, .nav-cta { justify-content: center; text-align: center; }

    .page-hero { padding-top: 4rem; }
    .form-card { padding: 1.5rem; }
    .form-grid { grid-template-columns: 1fr; }
    .form-nav { flex-direction: column-reverse; gap: 0.75rem; }
    .form-nav .btn { width: 100%; }

    .progress-step .step-label { display: none; }
    .progress-line { width: 28px; }
    .step-circle { width: 36px; height: 36px; font-size: 1rem; }

    .training-cards { grid-template-columns: 1fr; }
    .training-card { flex-direction: row; align-items: center; gap: 1rem; }
    .training-card-body { padding-right: 0; }
    .training-card-price { margin-top: 0; padding-top: 0; border-top: none; align-items: flex-end; text-align: right; }
    .training-card-check { top: 50%; right: 1rem; transform: translateY(-50%); }
    .training-option { padding: 0.95rem 1rem; }

    .recap-grid { grid-template-columns: 1fr; }

    .footer-layout { grid-template-columns: 1fr; }
    .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
    .page-hero h1 { font-size: clamp(2.9rem, 15vw, 4.15rem); }
    .hero-lead { font-size: 1rem; }
    .form-card { padding: 1.2rem; }
    .form-card-header { margin-bottom: 1.5rem; padding-bottom: 1.2rem; }
    .form-card-header h2 { font-size: 1.6rem; }
    .form-card-icon { width: 44px; height: 44px; }
    .form-card-icon svg { width: 20px; height: 20px; }
    .toast-container { left: 1rem; right: 1rem; }
    .toast { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .form-step { animation: none; }
}
