/* ===========================================================================
   Indepro theme - checkout.css
   Page /inscription-mentorat/. Conforme DA gold/Poppins/dark/dividers #333.
   Specificite .indepro-root .il- pour battre overrides home.css quand non
   blocking. Utilise les variables :root (gold, bg, text, mute, etc.).
   =========================================================================== */

/* Reset images sur cette page : neutralise width/height HTML auto-poses (regle DA standard) */
.indepro-checkout-page img { height: auto !important; }

/* Bandeau MODE TEST (visible seulement quand mode=test cote PHP) */
.il-checkout-testbanner {
    background: rgba(235, 187, 129, 0.08);
    color: var(--gold);
    border-bottom: 1px solid rgba(235, 187, 129, 0.32);
    text-align: center;
    padding: 10px 16px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: .02em;
}
.il-checkout-testbanner strong {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.il-checkout-testbanner code {
    background: rgba(7, 7, 11, 0.4);
    color: var(--text);
    padding: 1px 6px;
    border-radius: 3px;
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: 12px;
}

/* Hero court */
.il-checkout-hero {
    padding: clamp(48px, 7vw, 80px) 0 clamp(24px, 4vw, 48px);
    text-align: center;
    background: var(--bg);
    border-bottom: 1px solid #333;
}
.il-checkout-hero .indepro-tag {
    display: inline-block;
    margin-bottom: 14px;
}
.il-checkout-hero .indepro-h1 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    margin: 0 0 14px;
    font-weight: 700;
}
.il-checkout-hero__lead {
    color: var(--mute);
    max-width: 640px;
    margin: 0 auto;
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.55;
}

/* Container principal du checkout : grid 2 colonnes desktop, 1 mobile */
.il-checkout {
    background: var(--bg);
    padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 96px);
}
.il-checkout__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 1023px) {
    .il-checkout__grid { grid-template-columns: 1fr; }
}

/* ===== FORM ===== */
.il-checkout__form {
    background: var(--bg2);
    border: 1px solid var(--bd);
    border-radius: var(--r3);
    padding: clamp(20px, 3vw, 32px);
}

/* ===== Stepper visuel (2 etapes : compte → paiement) ===== */
.il-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 0 28px;
    padding: 0 0 24px;
    border-bottom: 1px solid #2a2a2a;
}
.il-stepper__step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(242, 241, 237, 0.45);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.il-stepper__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 700;
    color: rgba(242, 241, 237, 0.55);
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.il-stepper__step.is-active {
    color: var(--gold);
}
.il-stepper__step.is-active .il-stepper__num {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
    box-shadow: 0 0 0 4px rgba(235, 187, 129, 0.18);
}
.il-stepper__step.is-done {
    color: var(--gold);
}
.il-stepper__step.is-done .il-stepper__num {
    background: rgba(235, 187, 129, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}
.il-stepper__connector {
    width: 60px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.3s ease;
}
.il-stepper__step.is-done + .il-stepper__connector {
    background: var(--gold);
}
@media (max-width: 600px) {
    .il-stepper__connector { width: 32px; }
    .il-stepper__step { font-size: 12px; }
}

.il-checkout__section {
    border: none;
    margin: 0 0 28px;
    padding: 0;
}
.il-checkout__section + .il-checkout__section {
    border-top: 1px solid #333;
    padding-top: 28px;
}
.il-checkout__legend {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 18px;
    padding: 0;
}

/* Erreurs en haut de form (DA gold uniquement, pas de rouge) */
.il-checkout__errors {
    background: rgba(235, 187, 129, 0.06);
    border: 1px solid rgba(235, 187, 129, 0.4);
    color: var(--text);
    padding: 14px 18px;
    border-radius: var(--r2);
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    padding-left: 46px;
}
.il-checkout__errors::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 16px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ebbb81' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}
.il-checkout__errors strong { color: var(--gold); display: block; margin-bottom: 6px; font-weight: 600; }
.il-checkout__errors ul { margin: 0; padding-left: 22px; color: var(--mute); }

/* ===== Choix offre : 2 cards radio ===== */
.il-offers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 640px) {
    .il-offers { grid-template-columns: 1fr; }
}

.il-offer {
    display: block;
    cursor: pointer;
    background: var(--card);
    border: 1.5px solid var(--bd);
    border-radius: var(--r2);
    padding: 18px 20px;
    transition: border-color var(--t), background var(--t), transform var(--t);
    position: relative;
}
.il-offer:hover {
    border-color: var(--bdh);
    background: var(--cardh);
}
.il-offer input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.il-offer:has(input:checked) {
    border-color: var(--gold);
    background: rgba(235, 187, 129, 0.05);
    box-shadow: 0 0 0 1px var(--gold) inset;
}
.il-offer__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}
.il-offer__name {
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}
.il-offer__price {
    color: var(--gold);
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}
.il-offer__cycle {
    font-size: 13px;
    color: var(--mute);
    font-weight: 400;
    margin-left: 2px;
}
.il-offer__desc {
    display: block;
    color: var(--fade);
    font-size: 13px;
    line-height: 1.5;
}

/* ===== Champs ===== */
.il-row {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}
.il-row--2 { grid-template-columns: 1fr 1fr; }
.il-row--3 { grid-template-columns: 1fr 1.6fr 1fr; }
@media (max-width: 640px) {
    .il-row--2, .il-row--3 { grid-template-columns: 1fr; }
}

/* Achat entreprise : champs revelés sur toggle */
.il-business-fields {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(235,187,129,0.2);
    border-radius: 8px;
    background: rgba(235,187,129,0.03);
}
.il-business-fields[hidden] { display: none; }

.il-field {
    display: block;
    margin-bottom: 12px;
}
.il-field__label {
    display: block;
    font-size: 13px;
    color: var(--mute);
    margin-bottom: 6px;
    letter-spacing: .01em;
}
.il-field__hint {
    display: block;
    font-size: 12px;
    color: var(--fade);
    margin-top: 4px;
    line-height: 1.45;
}
.il-field input[type="text"],
.il-field input[type="email"],
.il-field input[type="tel"],
.il-field input[type="password"],
.il-field input[type="date"],
.il-field input[type="file"],
.il-field select,
.il-field textarea {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid var(--bd);
    border-radius: var(--r1);
    padding: 11px 14px;
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.4;
    transition: border-color var(--t), background var(--t);
    box-sizing: border-box;
}
.il-field textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.55;
}
.il-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23ebbb81' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.il-field input:focus,
.il-field select:focus,
.il-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg2);
}
.il-field input:invalid:not(:placeholder-shown),
.il-field select:invalid {
    /* on n'affiche pas l'invalid natif tant que l'utilisateur n'a pas tente de submit */
}

/* Erreur cote champ (apres submit backend) — DA gold, pas de rouge */
.il-field--error input,
.il-field--error select,
.il-field--error textarea,
.il-check--error input + span {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 1px rgba(235, 187, 129, 0.4) inset !important;
}
.il-field-error {
    margin: 6px 0 0;
    color: var(--gold);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
}

/* ===== Page /merci/ ===== */
/* Centre verticalement le contenu en compensant la hauteur du header (~80px desktop / 70px mobile). */
.indepro-merci-page { background: var(--bg); }
.il-merci {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    padding: 40px 24px;
    text-align: center;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .il-merci { min-height: calc(100vh - 70px); padding: 32px 20px; }
}
.il-merci__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.il-merci__halo {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}
.il-merci__halo--1 {
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(235, 187, 129, 0.25) 0%, transparent 60%);
}
.il-merci__halo--2 {
    bottom: -20%; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(235, 187, 129, 0.15) 0%, transparent 60%);
}
.il-merci__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.il-merci__icon {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    color: var(--gold);
}
.il-merci__icon svg {
    filter: drop-shadow(0 8px 32px rgba(235, 187, 129, 0.4));
    display: none;
}
.il-merci__icon[data-state="loading"] .il-merci__svg--loader { display: block; }
.il-merci__icon[data-state="check"]   .il-merci__svg--check  { display: block; }
.il-merci__icon[data-state="error"]   .il-merci__svg--error  { display: block; }
.il-merci__icon[data-state="error"]   { color: #c99a5b; }
.il-merci__icon[data-state="error"] svg { filter: drop-shadow(0 8px 32px rgba(201, 154, 91, 0.32)); }

.il-merci__tag {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    background: rgba(235, 187, 129, 0.08);
    border: 1px solid rgba(235, 187, 129, 0.3);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.il-merci__h1 {
    font-size: clamp(32px, 5.5vw, 56px);
    line-height: 1.1;
    margin: 0 0 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}
.il-merci__h1 .indepro-gold { display: inline-block; }
.il-merci__lead {
    color: var(--mute);
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.55;
    margin: 0 0 28px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.il-merci__lead a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.il-merci__progress {
    width: 240px;
    height: 3px;
    background: rgba(235, 187, 129, 0.12);
    border-radius: 2px;
    margin: 0 auto 28px;
    overflow: hidden;
    position: relative;
}
.il-merci__progress-bar {
    position: absolute;
    inset: 0 100% 0 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    width: 40%;
    animation: il-merci-progress 1.5s ease-in-out infinite;
}
@keyframes il-merci-progress {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

.il-merci__steps {
    list-style: none !important;
    margin: 28px auto 0 !important;
    padding: 22px 28px !important;
    display: inline-block;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(235, 187, 129, 0.18);
    border-radius: var(--r3);
    min-width: 360px;
    max-width: 100%;
    box-sizing: border-box;
}
.il-merci__step {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    color: var(--fade) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    transition: color var(--t);
    list-style: none !important;
    text-indent: 0 !important;
}
.il-merci__step--done { color: var(--text) !important; }
.il-merci__step-mark {
    width: 26px !important;
    height: 26px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(235, 187, 129, 0.12) !important;
    color: var(--gold) !important;
    border: 1px solid rgba(235, 187, 129, 0.32) !important;
    border-radius: 50% !important;
    line-height: 1 !important;
    margin: 0 !important;
    position: relative !important;
}
.il-merci__step-mark svg {
    width: 14px !important;
    height: 14px !important;
}
.il-merci__step-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.il-merci__step-icon--done    { display: none !important; }
.il-merci__step-icon--pending { display: inline-flex !important; }
.il-merci__step--done .il-merci__step-icon--done    { display: inline-flex !important; }
.il-merci__step--done .il-merci__step-icon--pending { display: none !important; }
.il-merci__step--done .il-merci__step-mark {
    background: var(--gold) !important;
    color: var(--ink) !important;
    border-color: var(--gold) !important;
}

.il-merci__cta {
    margin: 32px 0 18px;
}
.il-merci__hint {
    margin: 18px auto 0;
    color: var(--fade);
    font-size: 13px;
    line-height: 1.55;
    max-width: 520px;
}

/* Stripe Payment Element loader */
.il-payment-element-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fade);
    font-size: 13px;
    line-height: 1.55;
    padding: 12px 0;
}
.il-payment-element-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--bd);
    border-top-color: var(--gold);
    animation: il-spin 0.8s linear infinite;
    flex-shrink: 0;
}
@keyframes il-spin {
    to { transform: rotate(360deg); }
}

.il-field--file input[type="file"] {
    padding: 9px 14px;
    cursor: pointer;
}

/* ===== Checkbox ===== */
.il-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    cursor: pointer;
    line-height: 1.55;
    color: var(--text);
    font-size: 14px;
}
.il-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--gold);
    cursor: pointer;
}
.il-check a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== Stripe Payment Element placeholder ===== */
.il-payment-placeholder {
    background: var(--bg);
    border: 1.5px dashed var(--bd);
    border-radius: var(--r2);
    padding: 28px;
    color: var(--fade);
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}
.il-checkout__sec-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0 0;
    color: var(--fade);
    font-size: 12.5px;
    line-height: 1.55;
}
.il-checkout__sec-info svg { color: var(--gold); flex-shrink: 0; }

/* ===== Submit ===== */
.il-checkout__submit {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #333;
    text-align: center;
}
.il-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: var(--r2);
    padding: 16px 32px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    transition: transform var(--t), box-shadow var(--t), background var(--t);
    text-decoration: none;
    line-height: 1;
}
.il-btn--gold,
.indepro-root .il-btn--gold,
.indepro-root a.il-btn--gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%) !important;
    color: var(--ink) !important;
    border: 1.5px solid var(--gold);
    box-shadow: 0 8px 24px rgba(235, 187, 129, 0.3);
    min-width: 280px;
    font-weight: 700;
}
.indepro-root a.il-btn--gold:hover {
    color: var(--ink) !important;
}
.il-btn--gold .il-btn__label,
.indepro-root .il-btn--gold .il-btn__label {
    color: var(--ink) !important;
}
.il-btn--gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(235, 187, 129, 0.45);
    border-color: var(--gold2);
}
.il-btn--gold:active {
    transform: translateY(0);
}
.il-btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.il-checkout__submit-hint {
    margin: 24px 0 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--fade);
}

/* ===== Recap (colonne droite) ===== */
.il-checkout__recap {
    position: sticky;
    top: 110px;
}
@media (max-width: 1023px) {
    .il-checkout__recap { position: static; }
}
.il-recap {
    background: linear-gradient(180deg, rgba(235, 187, 129, 0.06) 0%, rgba(235, 187, 129, 0.02) 100%);
    border: 1px solid rgba(235, 187, 129, 0.25);
    border-radius: var(--r3);
    padding: 26px 24px;
}
.il-recap__title {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
}
.il-recap__product {
    margin-bottom: 18px;
}
.il-recap__product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
}
.il-recap__product-meta {
    font-size: 13px;
    color: var(--mute);
    margin-top: 4px;
}
.il-recap__lines {
    border-top: 1px solid #333;
    padding-top: 16px;
    margin-bottom: 16px;
}
.il-recap__line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--mute);
    font-size: 14px;
    margin-bottom: 6px;
}
.il-recap__line strong { color: var(--text); font-weight: 500; }
.il-recap__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid #333;
    padding-top: 14px;
    margin-top: 6px;
    font-size: 14px;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.il-recap__total strong {
    font-size: 22px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
.indepro-root .il-recap__bullets {
    list-style: none !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
}
.indepro-root .il-recap__bullets li {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-start !important;
    color: var(--mute);
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}
.indepro-root .il-recap__bullets li:last-child { margin-bottom: 0 !important; }
.il-recap__bullets svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 3px;
}
.il-recap__bullet-label {
    flex: 1;
}
.il-recap__bullet-value {
    flex-shrink: 0;
    color: rgba(242, 241, 237, 0.55);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    margin-left: 6px;
}

/* Valeur totale du stack (avant le prix réel) */
.il-recap__stack {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(242, 241, 237, 0.5);
    font-size: 13px;
}
.il-recap__stack strong {
    color: rgba(242, 241, 237, 0.65);
    font-weight: 600;
    font-size: 16px;
    text-decoration: line-through;
    text-decoration-color: rgba(235, 187, 129, 0.6);
    font-variant-numeric: tabular-nums;
}

/* Bandeau économies */
.il-recap__savings {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(235, 187, 129, 0.12), rgba(235, 187, 129, 0.04));
    border: 1px solid rgba(235, 187, 129, 0.35);
    border-radius: var(--r2);
    color: var(--gold);
    font-size: 13px;
    font-weight: 500;
}
.il-recap__savings svg { flex-shrink: 0; }
.il-recap__savings strong { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Garanties */
.il-recap__guarantees {
    margin-top: 22px;
    padding: 16px 18px;
    background: rgba(7, 7, 11, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--r2);
}
.il-recap__guarantees-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.il-recap__guarantees-head strong { font-weight: 600; }
.indepro-root .il-recap__guarantees ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.indepro-root .il-recap__guarantees li {
    position: relative;
    padding: 0 0 0 18px !important;
    color: var(--mute);
    font-size: 12.5px;
    line-height: 1.55;
    margin: 0 0 8px 0 !important;
}
.indepro-root .il-recap__guarantees li:last-child { margin-bottom: 0 !important; }
.il-recap__guarantees li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* === Cours debloques : <details> repliable === */
.il-recap__courses {
    margin: 22px 0 0;
    border: 1px solid rgba(235, 187, 129, 0.22);
    border-radius: var(--r2);
    background: rgba(235, 187, 129, 0.05);
    overflow: hidden;
}
.il-recap__courses + .il-recap__bullets {
    margin-top: 22px !important;
}
.il-recap__courses > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    font-size: 13.5px;
    color: rgba(242, 241, 237, 0.92);
    transition: background 0.18s ease;
    user-select: none;
}
.il-recap__courses > summary::-webkit-details-marker { display: none; }
.il-recap__courses > summary::marker { content: ''; }
.il-recap__courses > summary:hover {
    background: rgba(235, 187, 129, 0.08);
}
.il-recap__courses > summary > svg:first-child {
    color: var(--gold);
    flex-shrink: 0;
}
.il-recap__courses-label {
    flex: 1;
    font-weight: 500;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.4;
}
.il-recap__courses-toggle {
    font-size: 10.5px;
    color: rgba(235, 187, 129, 0.78);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.il-recap__courses-toggle::before { content: 'Voir détail'; }
.il-recap__courses[open] .il-recap__courses-toggle { color: rgba(235, 187, 129, 1); }
.il-recap__courses[open] .il-recap__courses-toggle::before { content: 'Masquer'; }
.il-recap__courses .il-recap__bullet-value {
    margin-left: 0;
    color: rgba(242, 241, 237, 0.7);
    font-size: 13px;
    font-weight: 500;
}
.il-recap__chevron {
    color: rgba(235, 187, 129, 0.75);
    flex-shrink: 0;
    transition: transform 0.22s ease;
    margin-left: 2px;
}
.il-recap__courses[open] .il-recap__chevron {
    transform: rotate(180deg);
}
.indepro-root .il-recap__courses-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 14px 22px 18px 22px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(7, 7, 11, 0.35);
}
.indepro-root .il-recap__courses-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 0 !important;
    font-size: 12.5px;
    color: var(--mute);
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    line-height: 1.5;
    margin: 0 !important;
}
.indepro-root .il-recap__courses-list li:first-child {
    border-top: none;
    padding-top: 4px !important;
}
.indepro-root .il-recap__courses-list li:last-child {
    padding-bottom: 4px !important;
}
.indepro-root .il-recap__courses-list-label {
    flex: 1 !important;
    padding-left: 16px !important;
    position: relative;
}
.il-recap__courses-list-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(235, 187, 129, 0.6);
}
.il-recap__courses-list-value {
    flex-shrink: 0;
    color: rgba(242, 241, 237, 0.7);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    padding-right: 2px;
}

/* === Trust footer : Stripe === */
.il-recap__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11.5px;
    color: rgba(242, 241, 237, 0.45);
    letter-spacing: 0.01em;
}
.il-recap__trust svg {
    color: rgba(235, 187, 129, 0.6);
    flex-shrink: 0;
}

/* === V2 Loading state : spinner inline + barre de progression === */
.il-btn--gold.is-loading {
    pointer-events: none;
    opacity: 0.92;
}
.il-btn--gold.is-loading > svg {
    display: none;
}
.il-btn--gold.is-loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: il-btn-spin 0.7s linear infinite;
    margin-right: 8px;
    vertical-align: -2px;
}
@keyframes il-btn-spin {
    to { transform: rotate(360deg); }
}

/* Barre de progression indeterminée sous le bouton */
.il-checkout__progress {
    height: 3px;
    width: 100%;
    max-width: 320px;
    margin: 14px auto 0;
    background: rgba(235, 187, 129, 0.14);
    border-radius: 999px;
    overflow: hidden;
    display: none;
}
.il-checkout__progress.is-loading {
    display: block;
}
.il-checkout__progress::before {
    content: '';
    display: block;
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, transparent, #ebbb81, transparent);
    border-radius: 999px;
    animation: il-progress-slide 1.3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes il-progress-slide {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(385%); }
}

/* Texte d'état dynamique sous le bouton */
.il-checkout__progress-status {
    margin: 8px auto 0;
    text-align: center;
    font-size: 13px;
    color: rgba(242, 241, 237, 0.7);
    display: none;
}
.il-checkout__progress-status.is-loading {
    display: block;
}
.il-checkout__progress-status strong {
    color: #ebbb81;
    font-weight: 600;
}
