/* v2.13.4 — Devenir-pro: hero conversion + CTA scroll + microcopy + réassurance + Pourquoi cards */
.apb-devenir-pro{max-width:980px;margin:0 auto;padding:1rem}

/* Hero ------------------------------------------------------------------- */
.apb-devenir-pro__hero{background:linear-gradient(135deg,#185FA5 0%,#0C447C 100%);color:#fff;border-radius:20px;padding:3rem 2.25rem;margin:1.5rem auto 2.25rem;text-align:center;box-shadow:0 12px 32px -16px rgba(12,68,124,.45)}
.apb-devenir-pro__hero h1{margin:0 0 .75rem;font-size:2.375rem;font-weight:800;line-height:1.12;letter-spacing:-.01em;max-width:780px;margin-left:auto;margin-right:auto}
.apb-devenir-pro__hero p{margin:0 auto 1.75rem;max-width:620px;font-size:1.1875rem;opacity:.97;line-height:1.55;color:#fff}
.apb-devenir-pro__hero-cta{
    display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
    padding:1rem 2rem;background:#E6892A;color:#fff;text-decoration:none;
    font-size:1.125rem;font-weight:700;border-radius:12px;
    box-shadow:0 8px 20px -8px rgba(230,137,42,.55),0 0 0 0 rgba(230,137,42,.4);
    transition:transform .15s,box-shadow .15s,background .15s;letter-spacing:.01em;
}
.apb-devenir-pro__hero-cta:hover{background:#D77A1A;color:#fff;transform:translateY(-1px);box-shadow:0 12px 24px -10px rgba(230,137,42,.6)}
.apb-devenir-pro__hero-cta:active{transform:translateY(1px)}
.apb-devenir-pro__hero-cta:focus-visible{outline:3px solid #fff;outline-offset:2px}
.apb-devenir-pro__benefits{list-style:none;padding:0;margin:1.75rem 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.875rem;text-align:left}
.apb-devenir-pro__benefits li{background:rgba(255,255,255,.14);padding:1rem 1.125rem;border-radius:14px;font-size:1rem;display:flex;align-items:center;gap:.75rem;backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.18)}
.apb-devenir-pro__benefits li::before{content:"✓";flex-shrink:0;width:28px;height:28px;background:#E6892A;color:#fff;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:16px;font-weight:700}
.apb-devenir-pro__benefits li b{display:block;font-weight:700;font-size:1.0625rem;line-height:1.25;color:#fff}

/* Stepper ---------------------------------------------------------------- */
.apb-stepper{list-style:none;padding:0;margin:0 auto 2.25rem;max-width:780px;display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;position:relative;counter-reset:apb-step}
.apb-stepper__item{display:flex;flex-direction:column;align-items:center;gap:.5rem;text-align:center;color:#94A3B8;font-size:.9375rem;position:relative;padding-top:.5rem}
.apb-stepper__item::after{content:"";position:absolute;top:1.75rem;left:calc(50% + 24px);right:calc(-50% + 24px);height:2px;background:#E2E8F0;z-index:0}
.apb-stepper__item:last-child::after{display:none}
.apb-stepper__num{width:40px;height:40px;border-radius:50%;background:#F1F5F9;color:#64748B;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;border:2px solid #E2E8F0;position:relative;z-index:1;transition:all .2s}
.apb-stepper__label{font-weight:500;line-height:1.2;max-width:120px}
.apb-stepper__item.is-done{color:#0C447C}
.apb-stepper__item.is-done .apb-stepper__num{background:#185FA5;color:#fff;border-color:#185FA5}
.apb-stepper__item.is-done .apb-stepper__num::before{content:"✓";font-size:1.0625rem}
.apb-stepper__item.is-done .apb-stepper__num span{display:none}
.apb-stepper__item.is-done::after{background:#185FA5}
.apb-stepper__item.is-current{color:#0C447C;font-weight:600}
.apb-stepper__item.is-current .apb-stepper__num{background:#fff;color:#185FA5;border-color:#185FA5;box-shadow:0 0 0 4px rgba(24,95,165,.15)}

/* Steps content (titres + form override pour testi più grandi) ----------- */
.apb-devenir-pro [data-step]{max-width:640px;margin:0 auto}
.apb-devenir-pro [data-step] h3{font-size:1.5rem;font-weight:700;color:#1A1A2E;margin:0 0 1.25rem;line-height:1.25}
.apb-devenir-pro .apb-form-row{margin-bottom:1.125rem}
.apb-devenir-pro .apb-form-row label{display:block;margin-bottom:.5rem;font-size:1rem;font-weight:600;color:#1A1A2E}
.apb-devenir-pro .apb-form-row input[type=text],
.apb-devenir-pro .apb-form-row input[type=email],
.apb-devenir-pro .apb-form-row input[type=password],
.apb-devenir-pro .apb-form-row input[type=tel]{
    width:100%;padding:.875rem 1rem;border:1.5px solid #E2E6EA;border-radius:10px;
    font-size:1.0625rem;line-height:1.4;background:#fff;color:#1A1A2E;
    transition:border-color .15s,box-shadow .15s;box-sizing:border-box;
}
.apb-devenir-pro .apb-form-row input:focus{outline:0;border-color:#185FA5;box-shadow:0 0 0 4px rgba(24,95,165,.15)}
.apb-devenir-pro .apb-form-row input[type=checkbox]{width:auto;margin-right:.5rem;transform:scale(1.15)}
.apb-devenir-pro .apb-form-row label:has(input[type=checkbox]){font-weight:500;font-size:.9375rem;color:#334155;line-height:1.5;display:flex;gap:.5rem;align-items:flex-start}
.apb-devenir-pro .apb-form-submit{
    display:inline-block;padding:.9375rem 2rem;font-size:1.125rem;font-weight:600;
    background:#185FA5;color:#fff;border:0;border-radius:10px;cursor:pointer;
    min-height:54px;transition:background .15s,transform .05s;letter-spacing:.01em;
}
.apb-devenir-pro .apb-form-submit:hover:not(:disabled){background:#0C447C}
.apb-devenir-pro .apb-form-submit:active:not(:disabled){transform:translateY(1px)}
.apb-devenir-pro .apb-form-submit--wide{display:block;width:100%;font-size:1.1875rem;min-height:58px;padding:1rem 2rem;box-shadow:0 8px 20px -10px rgba(24,95,165,.5)}
.apb-devenir-pro .apb-form-feedback{font-size:.9375rem;margin-top:.75rem;line-height:1.4}
.apb-devenir-pro .apb-form-error{color:#B91C1C;font-size:.9375rem;margin-top:.5rem}

/* Microcopy step 1 (v2.13.4) -------------------------------------------- */
.apb-devenir-pro__microcopy{
    margin:0 0 1.25rem;font-size:.9375rem;line-height:1.5;color:#475569;
    background:#F1F5F9;border-left:3px solid #185FA5;padding:.75rem .9375rem;border-radius:8px;
}

/* Mini ligne réassurance sous form Step 1 (v2.13.4) --------------------- */
.apb-devenir-pro__reassurance{
    list-style:none;padding:0;margin:.875rem 0 0;
    display:flex;flex-wrap:wrap;justify-content:center;gap:.375rem 1rem;
    font-size:.875rem;color:#475569;line-height:1.4;
}
.apb-devenir-pro__reassurance li{display:flex;align-items:center;gap:.375rem}
.apb-devenir-pro__reassurance li::before{
    content:"";display:inline-block;width:14px;height:14px;flex-shrink:0;
    background:#10B981 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/9px no-repeat;
    border-radius:50%;
}

/* Trust strip Mollie (v2.13.3) ------------------------------------------- */
.apb-devenir-pro__trust{
    max-width:640px;margin:1.75rem auto 0;padding:1.125rem 1.25rem;
    display:flex;align-items:center;gap:.875rem;
    background:#F0F7FF;border:1px solid #BFDCFB;border-radius:14px;color:#0C447C;
}
.apb-devenir-pro__trust-icon{
    flex-shrink:0;width:42px;height:42px;border-radius:50%;
    background:#185FA5;color:#fff;display:inline-flex;align-items:center;justify-content:center;
}
.apb-devenir-pro__trust-text{display:flex;flex-direction:column;gap:.125rem;line-height:1.4}
.apb-devenir-pro__trust-text strong{font-size:1rem;font-weight:600;color:#0C447C}
.apb-devenir-pro__trust-text small{font-size:.875rem;color:#334155;font-weight:400}

/* Section "Pourquoi rejoindre Fixalis ?" (v2.13.4) ---------------------- */
.apb-devenir-pro__why{margin:3rem auto 1rem;max-width:980px}
.apb-devenir-pro__why-title{
    font-size:1.875rem;font-weight:800;color:#1A1A2E;text-align:center;
    margin:0 0 2rem;line-height:1.2;letter-spacing:-.01em;
}
.apb-devenir-pro__why-grid{
    list-style:none;padding:0;margin:0;
    display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;
}
.apb-devenir-pro__why-card{
    background:#fff;border:1px solid #E2E6EA;border-radius:16px;
    padding:1.75rem 1.5rem;
    display:flex;flex-direction:column;gap:.625rem;
    transition:transform .2s,box-shadow .2s,border-color .2s;
}
.apb-devenir-pro__why-card:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px -16px rgba(12,68,124,.25);
    border-color:#BFDCFB;
}
.apb-devenir-pro__why-icon{
    width:54px;height:54px;border-radius:14px;
    background:linear-gradient(135deg,#EBF3FB 0%,#DBEAFE 100%);
    color:#185FA5;display:inline-flex;align-items:center;justify-content:center;
    margin-bottom:.25rem;
}
.apb-devenir-pro__why-card h3{
    margin:0;font-size:1.1875rem;font-weight:700;color:#1A1A2E;line-height:1.3;
}
.apb-devenir-pro__why-card p{
    margin:0;font-size:.9375rem;color:#475569;line-height:1.55;
}

/* Mobile ----------------------------------------------------------------- */
@media (max-width:640px){
  .apb-devenir-pro{padding:.5rem}
  .apb-devenir-pro__hero{padding:2rem 1.25rem 1.75rem;border-radius:16px;margin:.75rem auto 1.5rem}
  .apb-devenir-pro__hero h1{font-size:1.625rem;line-height:1.2;margin-bottom:.625rem}
  .apb-devenir-pro__hero p{font-size:1rem;line-height:1.5;margin-bottom:1.25rem}
  .apb-devenir-pro__hero-cta{display:flex;width:100%;padding:.9375rem 1.5rem;font-size:1.0625rem;border-radius:10px}
  .apb-devenir-pro__benefits{grid-template-columns:1fr;gap:.5rem;margin-top:1.25rem}
  .apb-devenir-pro__benefits li{padding:.75rem .875rem;font-size:.9375rem;border-radius:10px}
  .apb-devenir-pro__benefits li b{font-size:.9375rem}
  .apb-devenir-pro__benefits li::before{width:24px;height:24px;font-size:14px}
  .apb-stepper{grid-template-columns:repeat(4,1fr);gap:.25rem;font-size:.75rem;margin-bottom:1.5rem}
  .apb-stepper__num{width:34px;height:34px;font-size:.9375rem}
  .apb-stepper__item::after{top:1.5rem;left:calc(50% + 20px);right:calc(-50% + 20px)}
  .apb-stepper__label{display:none}
  .apb-devenir-pro [data-step] h3{font-size:1.25rem;margin-bottom:.625rem}
  .apb-devenir-pro__microcopy{font-size:.875rem;padding:.625rem .8125rem;margin-bottom:1rem}
  .apb-devenir-pro .apb-form-row input[type=text],
  .apb-devenir-pro .apb-form-row input[type=email],
  .apb-devenir-pro .apb-form-row input[type=password],
  .apb-devenir-pro .apb-form-row input[type=tel]{font-size:16px;padding:.875rem .9375rem} /* 16px = no zoom iOS */
  .apb-devenir-pro .apb-form-submit{width:100%;font-size:1.0625rem;padding:.875rem 1.25rem;min-height:52px}
  .apb-devenir-pro .apb-form-submit--wide{font-size:1.0625rem;min-height:54px;padding:.9375rem 1.25rem}
  .apb-devenir-pro__reassurance{flex-direction:column;align-items:flex-start;gap:.5rem;font-size:.8125rem;margin-top:1rem}
  .apb-devenir-pro__reassurance li{width:100%}
  .apb-devenir-pro__trust{flex-direction:row;align-items:flex-start;gap:.75rem;padding:1rem;margin-top:1.5rem;border-radius:12px}
  .apb-devenir-pro__trust-icon{width:38px;height:38px}
  .apb-devenir-pro__trust-text strong{font-size:.9375rem}
  .apb-devenir-pro__trust-text small{font-size:.8125rem}
  .apb-devenir-pro__why{margin-top:2rem}
  .apb-devenir-pro__why-title{font-size:1.5rem;margin-bottom:1.25rem}
  .apb-devenir-pro__why-grid{grid-template-columns:1fr;gap:.875rem}
  .apb-devenir-pro__why-card{padding:1.25rem 1.125rem;border-radius:14px}
  .apb-devenir-pro__why-icon{width:46px;height:46px;border-radius:12px}
  .apb-devenir-pro__why-card h3{font-size:1.0625rem}
  .apb-devenir-pro__why-card p{font-size:.875rem}
}

/* Tablet (641-900px) — 3 cards Pourquoi sur 2 colonnes (3e en pleine largeur) */
@media (min-width:641px) and (max-width:900px){
  .apb-devenir-pro__hero h1{font-size:2rem}
  .apb-devenir-pro__why-grid{grid-template-columns:repeat(2,1fr)}
  .apb-devenir-pro__why-card:last-child{grid-column:1/-1}
}

.apb-checkout-form{max-width:720px;margin:2rem auto;padding:1rem}
.apb-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin:1rem 0}
.apb-plan-card{display:block;border:2px solid var(--color-border,#E2E6EA);border-radius:16px;padding:1rem;cursor:pointer;transition:all .2s;background:var(--color-surface,#fff)}
.apb-plan-card:hover{border-color:var(--color-primary,#185FA5)}
.apb-plan-card--selected,.apb-plan-card:has(input:checked){border-color:var(--color-primary,#185FA5);box-shadow:0 0 0 4px rgba(24,95,165,.1)}
.apb-plan-card input[type=radio]{margin-right:.5rem}
.apb-plan-card__title{font-weight:700;margin-top:.5rem}
.apb-plan-card__price{font-size:1.25rem;color:var(--color-primary,#185FA5);margin:.25rem 0}
.apb-plan-card__trial{font-size:.875rem;color:var(--color-success,#639922)}
.apb-checkout-cgu{display:block;margin:1rem 0}
.apb-checkout-disclaimer{font-size:.875rem;color:var(--color-text-muted,#6B7280);margin:.5rem 0 1rem}
.apb-btn-large{padding:.75rem 2rem;font-size:1.1rem}
.apb-checkout-polling{text-align:center;padding:3rem 1rem}
.apb-checkout-polling__spinner{width:48px;height:48px;border:4px solid var(--color-border,#E2E6EA);border-top-color:var(--color-primary,#185FA5);border-radius:50%;margin:0 auto 1rem;animation:apb-spin 1s linear infinite}
@keyframes apb-spin{to{transform:rotate(360deg)}}
.apb-checkout-error{color:#991B1B;background:#FEE2E2;padding:1rem;border-radius:8px}
.apb-checkout-done{text-align:center;padding:2rem}

/* Bannière bleue informative quand le trial est déjà utilisé (skip_trial) */
.apb-checkout-info{
    background:#EBF3FB;
    color:#0C447C;
    border:1px solid #93C5FD;
    border-radius:8px;
    padding:1rem 1.25rem;
    margin:0 0 1.25rem;
}
.apb-checkout-info strong{display:block;margin-bottom:.25rem;font-size:1rem}
.apb-checkout-info p{margin:0;font-size:.9375rem;line-height:1.5}
