/* v2.13.4 — Devenir-pro: hero conversion + CTA scroll + microcopy + réassurance + Pourquoi cards */
.apb-devenir-pro{max-width:980px;margin:0 auto;padding:16px}

/* Hero ------------------------------------------------------------------- */
.apb-devenir-pro__hero{background:linear-gradient(135deg,var(--apb-brand, #0B2A4A) 0%,var(--apb-brand-2, #143D69) 100%);color:#fff;border-radius:20px;padding:48px 36px;margin:24px auto 36px;text-align:center;box-shadow:0 12px 32px -16px rgba(12,68,124,.45)}
.apb-devenir-pro__hero h1{margin:0 0 12px;font-size:38px;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 28px;max-width:620px;font-size:19px;opacity:.97;line-height:1.55;color:#fff}
.apb-devenir-pro__hero-cta{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    padding:16px 32px;background:#E6892A;color:#fff;text-decoration:none;
    font-size:18px;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:28px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;text-align:left}
.apb-devenir-pro__benefits li{background:rgba(255,255,255,.14);padding:16px 18px;border-radius:14px;font-size:16px;display:flex;align-items:center;gap:12px;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:17px;line-height:1.25;color:#fff}

/* Stepper ---------------------------------------------------------------- */
.apb-stepper{list-style:none;padding:0;margin:0 auto 36px;max-width:780px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;position:relative;counter-reset:apb-step}
.apb-stepper__item{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;color:#94A3B8;font-size:15px;position:relative;padding-top:8px}
.apb-stepper__item::after{content:"";position:absolute;top:28px;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:16px;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:var(--apb-brand-2, #143D69)}
.apb-stepper__item.is-done .apb-stepper__num{background:var(--apb-brand, #0B2A4A);color:#fff;border-color:var(--apb-brand, #0B2A4A)}
.apb-stepper__item.is-done .apb-stepper__num::before{content:"✓";font-size:17px}
.apb-stepper__item.is-done .apb-stepper__num span{display:none}
.apb-stepper__item.is-done::after{background:var(--apb-brand, #0B2A4A)}
.apb-stepper__item.is-current{color:var(--apb-brand-2, #143D69);font-weight:600}
.apb-stepper__item.is-current .apb-stepper__num{background:#fff;color:var(--apb-brand, #0B2A4A);border-color:var(--apb-brand, #0B2A4A);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:24px;font-weight:700;color:#1A1A2E;margin:0 0 20px;line-height:1.25}
.apb-devenir-pro .apb-form-row{margin-bottom:18px}
.apb-devenir-pro .apb-form-row label{display:block;margin-bottom:8px;font-size:16px;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:14px 16px;border:1.5px solid #E2E6EA;border-radius:10px;
    font-size:17px;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:var(--apb-brand, #0B2A4A);box-shadow:0 0 0 4px rgba(24,95,165,.15)}
.apb-devenir-pro .apb-form-row input[type=checkbox]{width:auto;margin-right:8px;transform:scale(1.15)}
.apb-devenir-pro .apb-form-row label:has(input[type=checkbox]){font-weight:500;font-size:15px;color:#334155;line-height:1.5;display:flex;gap:8px;align-items:flex-start}
.apb-devenir-pro .apb-form-submit{
    display:inline-block;padding:15px 32px;font-size:18px;font-weight:600;
    background:var(--apb-brand, #0B2A4A);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:var(--apb-brand-2, #143D69)}
.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:19px;min-height:58px;padding:16px 32px;box-shadow:0 8px 20px -10px rgba(24,95,165,.5)}
.apb-devenir-pro .apb-form-feedback{font-size:15px;margin-top:12px;line-height:1.4}
.apb-devenir-pro .apb-form-error{color:#B91C1C;font-size:15px;margin-top:8px}

/* Microcopy step 1 (v2.13.4) -------------------------------------------- */
.apb-devenir-pro__microcopy{
    margin:0 0 20px;font-size:15px;line-height:1.5;color:#475569;
    background:#F1F5F9;border-left:3px solid var(--apb-brand, #0B2A4A);padding:12px 15px;border-radius:8px;
}

/* Mini ligne réassurance sous form Step 1 (v2.13.4) --------------------- */
.apb-devenir-pro__reassurance{
    list-style:none;padding:0;margin:14px 0 0;
    display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;
    font-size:14px;color:#475569;line-height:1.4;
}
.apb-devenir-pro__reassurance li{display:flex;align-items:center;gap:6px}
.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:28px auto 0;padding:18px 20px;
    display:flex;align-items:center;gap:14px;
    background:#F0F7FF;border:1px solid #BFDCFB;border-radius:14px;color:var(--apb-brand-2, #143D69);
}
.apb-devenir-pro__trust-icon{
    flex-shrink:0;width:42px;height:42px;border-radius:50%;
    background:var(--apb-brand, #0B2A4A);color:#fff;display:inline-flex;align-items:center;justify-content:center;
}
.apb-devenir-pro__trust-text{display:flex;flex-direction:column;gap:2px;line-height:1.4}
.apb-devenir-pro__trust-text strong{font-size:16px;font-weight:600;color:var(--apb-brand-2, #143D69)}
.apb-devenir-pro__trust-text small{font-size:14px;color:#334155;font-weight:400}

/* Section "Pourquoi rejoindre Fixalis ?" (v2.13.4) ---------------------- */
.apb-devenir-pro__why{margin:48px auto 16px;max-width:980px}
.apb-devenir-pro__why-title{
    font-size:30px;font-weight:800;color:#1A1A2E;text-align:center;
    margin:0 0 32px;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:20px;
}
.apb-devenir-pro__why-card{
    background:#fff;border:1px solid #E2E6EA;border-radius:16px;
    padding:28px 24px;
    display:flex;flex-direction:column;gap:10px;
    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:var(--apb-brand, #0B2A4A);display:inline-flex;align-items:center;justify-content:center;
    margin-bottom:4px;
}
.apb-devenir-pro__why-card h3{
    margin:0;font-size:19px;font-weight:700;color:#1A1A2E;line-height:1.3;
}
.apb-devenir-pro__why-card p{
    margin:0;font-size:15px;color:#475569;line-height:1.55;
}

/* Mobile ----------------------------------------------------------------- */
@media (max-width:640px){
  .apb-devenir-pro{padding:8px}
  .apb-devenir-pro__hero{padding:32px 20px 28px;border-radius:16px;margin:12px auto 24px}
  .apb-devenir-pro__hero h1{font-size:26px;line-height:1.2;margin-bottom:10px}
  .apb-devenir-pro__hero p{font-size:16px;line-height:1.5;margin-bottom:20px}
  .apb-devenir-pro__hero-cta{display:flex;width:100%;padding:15px 24px;font-size:17px;border-radius:10px}
  .apb-devenir-pro__benefits{grid-template-columns:1fr;gap:8px;margin-top:20px}
  .apb-devenir-pro__benefits li{padding:12px 14px;font-size:15px;border-radius:10px}
  .apb-devenir-pro__benefits li b{font-size:15px}
  .apb-devenir-pro__benefits li::before{width:24px;height:24px;font-size:14px}
  .apb-stepper{grid-template-columns:repeat(4,1fr);gap:4px;font-size:12px;margin-bottom:24px}
  .apb-stepper__num{width:34px;height:34px;font-size:15px}
  .apb-stepper__item::after{top:24px;left:calc(50% + 20px);right:calc(-50% + 20px)}
  .apb-stepper__label{display:none}
  .apb-devenir-pro [data-step] h3{font-size:20px;margin-bottom:10px}
  .apb-devenir-pro__microcopy{font-size:14px;padding:10px 13px;margin-bottom:16px}
  .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:14px 15px} /* 16px = no zoom iOS */
  .apb-devenir-pro .apb-form-submit{width:100%;font-size:17px;padding:14px 20px;min-height:52px}
  .apb-devenir-pro .apb-form-submit--wide{font-size:17px;min-height:54px;padding:15px 20px}
  .apb-devenir-pro__reassurance{flex-direction:column;align-items:flex-start;gap:8px;font-size:13px;margin-top:16px}
  .apb-devenir-pro__reassurance li{width:100%}
  .apb-devenir-pro__trust{flex-direction:row;align-items:flex-start;gap:12px;padding:16px;margin-top:24px;border-radius:12px}
  .apb-devenir-pro__trust-icon{width:38px;height:38px}
  .apb-devenir-pro__trust-text strong{font-size:15px}
  .apb-devenir-pro__trust-text small{font-size:13px}
  .apb-devenir-pro__why{margin-top:32px}
  .apb-devenir-pro__why-title{font-size:24px;margin-bottom:20px}
  .apb-devenir-pro__why-grid{grid-template-columns:1fr;gap:14px}
  .apb-devenir-pro__why-card{padding:20px 18px;border-radius:14px}
  .apb-devenir-pro__why-icon{width:46px;height:46px;border-radius:12px}
  .apb-devenir-pro__why-card h3{font-size:17px}
  .apb-devenir-pro__why-card p{font-size:14px}
}

/* 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:32px}
  .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:32px auto;padding:16px}
.apb-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:16px 0}
.apb-plan-card{display:block;border:2px solid var(--color-border,#E2E6EA);border-radius:16px;padding:16px;cursor:pointer;transition:all .2s;background:var(--color-surface,#fff)}
.apb-plan-card:hover{border-color:var(--color-primary,var(--apb-brand, #0B2A4A))}
.apb-plan-card--selected,.apb-plan-card:has(input:checked){border-color:var(--color-primary,var(--apb-brand, #0B2A4A));box-shadow:0 0 0 4px rgba(24,95,165,.1)}
.apb-plan-card input[type=radio]{margin-right:8px}
.apb-plan-card__title{font-weight:700;margin-top:8px}
.apb-plan-card__price{font-size:20px;color:var(--color-primary,var(--apb-brand, #0B2A4A));margin:4px 0}
.apb-plan-card__trial{font-size:14px;color:var(--color-success,#639922)}
.apb-checkout-cgu{display:block;margin:16px 0}
.apb-checkout-disclaimer{font-size:14px;color:var(--color-text-muted,#6B7280);margin:8px 0 16px}
.apb-btn-large{padding:12px 32px;font-size:18px}
.apb-checkout-polling{text-align:center;padding:48px 16px}
.apb-checkout-polling__spinner{width:48px;height:48px;border:4px solid var(--color-border,#E2E6EA);border-top-color:var(--color-primary,var(--apb-brand, #0B2A4A));border-radius:50%;margin:0 auto 16px;animation:apb-spin 1s linear infinite}
@keyframes apb-spin{to{transform:rotate(360deg)}}
.apb-checkout-error{color:#991B1B;background:#FEE2E2;padding:16px;border-radius:8px}
.apb-checkout-done{text-align:center;padding:32px}

/* Bannière bleue informative quand le trial est déjà utilisé (skip_trial) */
.apb-checkout-info{
    background:#EBF3FB;
    color:var(--apb-brand-2, #143D69);
    border:1px solid #93C5FD;
    border-radius:8px;
    padding:16px 20px;
    margin:0 0 20px;
}
.apb-checkout-info strong{display:block;margin-bottom:4px;font-size:16px}
.apb-checkout-info p{margin:0;font-size:15px;line-height:1.5}
