/* Espace Pro : feuille unique (tokens.css + components.css du FRONT, police locale reduite par l'INTEGRATION).
   GENEREE par integration/outils/gabarits_construire.py : ne pas modifier, changer front/design puis relancer.
   Couleurs de marque reglables sans toucher a ce fichier : assets/css/marques.css. */
/*
 * Espace Pro — jetons de design (tokens), version 1.0 (10/11/2026, agent FRONT, phase 1).
 *
 * Thème sombre dérivé du thème « mykey » d'Euro Shop Key et de ma-clé.fr :
 *   - bleus du thème : --primary #1e40af, --secondary #2563eb, --primary-light #3b82f6 (boutons en dégradé 135°) ;
 *   - accent du thème : ambre #f59e0b / #fbbf24, repris en « or Pro » pour les paliers et la marque ;
 *   - succès #10b981, erreur #ef4444 (éclaircis pour rester lisibles sur fond sombre) ;
 *   - police Inter (déjà chargée par le thème ; copie locale de WooCommerce pour les maquettes) ;
 *   - arrondis du thème : boutons 0,75 rem, cartes 1,25 rem, badges 0,5 rem.
 * Contrastes calculés (WCAG 2.1) : textes >= 4,5:1 sur toutes les surfaces, bordures de champs >= 3:1.
 * Marques : <html data-brand="esk"> (Euro Shop Key Pro, défaut) ou <html data-brand="macle"> (ma-clé.fr Pro).
 * Rien ici ne dépend du thème : la feuille fonctionne seule (les pages /pro/ n'ont pas besoin du CSS du thème).
 */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+2248, U+2264-2265, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* ---------- Surfaces (du plus profond au plus haut) ---------- */
  --c-bg: #0a0f1c;            /* fond de page */
  --c-bg-2: #0d1424;          /* menu latéral, pied de page */
  --c-surface: #111a2d;       /* cartes */
  --c-surface-2: #16213a;     /* cartes surélevées, tiroirs, modales */
  --c-surface-3: #1c2945;     /* survol, ligne sélectionnée */
  --c-field: #0b1222;         /* fond des champs (effet creusé) */
  --c-overlay: rgba(4, 8, 18, .72);

  /* ---------- Lignes ---------- */
  --c-line: #22304d;          /* séparateurs, contours de cartes */
  --c-line-2: #2d3d5f;        /* contours appuyés */
  --c-field-line: #56688f;    /* contour des champs : 3,1:1 sur les cartes */

  /* ---------- Textes ---------- */
  --c-text: #edf1f8;          /* 15,3:1 sur carte */
  --c-text-2: #aab6cb;        /* secondaire, 8,5:1 */
  --c-text-3: #8a98b0;        /* indications, 5,9:1 (4,96 sur survol) */
  --c-placeholder: #8a98b0;
  --c-link: #7aaeff;          /* 7,7:1 */

  /* ---------- Bleus du thème ---------- */
  --c-primary: #2563eb;       /* blanc dessus : 5,2:1 */
  --c-primary-2: #1d4ed8;     /* blanc dessus : 6,7:1 */
  --c-primary-3: #1e40af;
  --c-primary-hi: #3b82f6;    /* jamais sous un texte blanc (3,7:1) : décor, anneaux, barres */
  --c-primary-soft: rgba(59, 130, 246, .14);
  --c-focus: #60a5fa;

  /* ---------- États ---------- */
  --c-success: #34d399;       --c-success-soft: rgba(52, 211, 153, .13);  --c-success-line: rgba(52, 211, 153, .35);
  --c-warning: #fb923c;       --c-warning-soft: rgba(251, 146, 60, .13);  --c-warning-line: rgba(251, 146, 60, .38);
  --c-danger: #f87171;        --c-danger-soft: rgba(248, 113, 113, .13);  --c-danger-line: rgba(248, 113, 113, .38);
  --c-info: #60a5fa;          --c-info-soft: rgba(96, 165, 250, .13);     --c-info-line: rgba(96, 165, 250, .35);
  --c-neutral: #aab6cb;       --c-neutral-soft: rgba(170, 182, 203, .12); --c-neutral-line: rgba(170, 182, 203, .28);

  /* ---------- Marque (surchargée par [data-brand]) ---------- */
  --brand-accent: #fbbf24;                  /* « or Pro » : paliers, badge PRO, meilleur bonus (10,4:1 sur carte) */
  --brand-accent-soft: rgba(251, 191, 36, .13);
  --brand-accent-line: rgba(251, 191, 36, .38);
  --brand-accent-ink: #1a1203;              /* texte posé sur l'accent plein */
  --brand-tile-1: #1e40af;                  /* tuile du logo (dégradé) */
  --brand-tile-2: #3b82f6;
  --brand-glow-1: rgba(37, 99, 235, .30);   /* halo de la landing */
  --brand-glow-2: rgba(251, 191, 36, .10);

  /* ---------- Typographie ---------- */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;
  --fs-11: .6875rem;   /* 11 px : badges */
  --fs-12: .75rem;     /* 12 px : mentions, légendes */
  --fs-13: .8125rem;   /* 13 px : aides, tableaux denses */
  --fs-14: .875rem;    /* 14 px : interface */
  --fs-15: .9375rem;   /* 15 px : texte courant */
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-22: 1.375rem;
  --fs-24: 1.5rem;
  --fs-28: 1.75rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --fs-46: 2.875rem;
  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh: 1.55;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-heavy: 800;
  --tracking-tight: -.02em;
  --tracking-caps: .06em;

  /* ---------- Espacements (base 4 px) ---------- */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-7: 28px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-14: 56px; --s-16: 64px; --s-20: 80px;

  /* ---------- Arrondis (repris du thème) ---------- */
  --r-xs: 6px;
  --r-sm: 8px;      /* badges (0,5 rem du thème) */
  --r-md: 10px;     /* champs */
  --r-lg: 12px;     /* boutons (0,75 rem du thème) */
  --r-xl: 16px;     /* petites cartes */
  --r-2xl: 20px;    /* cartes (1,25 rem du thème) */
  --r-full: 999px;

  /* ---------- Ombres (sombres) ---------- */
  --sh-1: 0 1px 2px rgba(0, 0, 0, .35);
  --sh-2: 0 10px 30px -10px rgba(0, 0, 0, .55);
  --sh-3: 0 24px 64px -12px rgba(0, 0, 0, .7);
  --sh-btn: 0 4px 12px -2px rgba(37, 99, 235, .35);   /* ombre bleue des boutons du thème */
  --sh-inset: inset 0 1px 0 rgba(255, 255, 255, .04);

  /* ---------- Dimensions ---------- */
  --h-btn-sm: 32px;
  --h-btn: 40px;
  --h-btn-lg: 48px;
  --h-field: 42px;
  --sidebar-w: 240px;
  --topbar-h: 60px;
  --content-max: 1180px;
  --gutter: 32px;
  --drawer-w: 420px;

  /* ---------- Profondeur ---------- */
  --z-sticky: 20;
  --z-topbar: 30;
  --z-sidebar: 40;
  --z-dropdown: 50;
  --z-drawer: 60;
  --z-modal: 70;
  --z-toast: 80;
  --z-overlay: 90;

  /* ---------- Mouvement (courbe du thème) ---------- */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur-1: 120ms;
  --dur-2: 200ms;
  --dur-3: 320ms;
}

/* ---------- Marque ma-clé.fr Pro ---------- */
[data-brand="macle"] {
  --brand-tile-1: #0b5fd6;    /* bleus du logo ma-cle (tuile brillante) */
  --brand-tile-2: #38a3ff;
  --brand-glow-1: rgba(14, 116, 244, .32);
  --brand-glow-2: rgba(251, 191, 36, .09);
  /* accent identique par défaut (question de design n° 1 pour L.) ; pour un accent propre à ma-cle :
     --brand-accent: #38bdf8; --brand-accent-soft: rgba(56, 189, 248, .13); --brand-accent-line: rgba(56, 189, 248, .38); --brand-accent-ink: #04131d; */
}

/* ---------- Ajustements d'échelle ---------- */
@media (max-width: 1023px) {
  :root { --gutter: 24px; }
}
@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --h-btn: 44px;          /* cible tactile */
    --h-btn-lg: 48px;
    --h-field: 46px;
    --topbar-h: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-1: 0ms; --dur-2: 0ms; --dur-3: 0ms; }
}

/*
 * Espace Pro — composants, version 1.0 (10/11/2026, agent FRONT, phase 1).
 * Dépend de tokens.css. Toutes les classes sont préfixées « pro- » pour ne jamais croiser le thème
 * (le thème définit déjà .btn, .card, .badge…). États : classes « is-* » et attributs ARIA.
 * Le JavaScript ne s'accroche jamais à une classe : il utilise data-action, data-js, data-bind, data-list.
 * Aucune image : décors en CSS, icônes en SVG inline (sprite injecté par pro.js).
 * Sommaire : 1 base · 2 structure · 3 logo · 4 boutons · 5 formulaires · 6 cartes · 7 catalogue
 *            8 badges et paliers · 9 tableaux · 10 messages · 11 superpositions · 12 navigation secondaire
 *            13 états vides et chargement · 14 licences · 15 paiement (pro-co) · 16 landing · 17 impression · 18 utilitaires
 */

/* =========================================================== 1. BASE */
.pro, .pro *, .pro *::before, .pro *::after { box-sizing: border-box; }
html.pro { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--c-bg); }
.pro body, body.pro-body {
  margin: 0; min-height: 100%; background: var(--c-bg); color: var(--c-text);
  font: var(--fw-regular) var(--fs-15)/var(--lh) var(--font);
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Règles d'éléments à spécificité nulle (:where) : toute classe pro-* les remplace sans combat de spécificité */
:where(.pro) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; }
:where(.pro) :where(ul, ol) { padding: 0; list-style: none; }
:where(.pro) :where(h1, h2, h3, h4) { font-weight: var(--fw-bold); letter-spacing: var(--tracking-tight); line-height: var(--lh-tight); color: var(--c-text); }
:where(.pro) a { color: var(--c-link); text-decoration: none; text-underline-offset: 2px; }
:where(.pro) a:not([class]):hover, .pro-link:hover { text-decoration: underline; }
:where(.pro) :where(img, svg) { display: block; max-width: 100%; }
:where(.pro) :where(button, input, select, textarea) { font: inherit; color: inherit; margin: 0; }
:where(.pro) button { cursor: pointer; background: none; border: 0; padding: 0; }
.pro [hidden] { display: none !important; }
.pro :focus { outline: none; }
.pro :focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; border-radius: var(--r-xs); }
.pro ::selection { background: rgba(59, 130, 246, .38); color: #fff; }
:where(.pro) hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-5) 0; }
:where(.pro) :where(strong, b) { font-weight: var(--fw-semibold); color: var(--c-text); }
:where(.pro) small { font-size: var(--fs-12); }
:where(.pro) fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:where(.pro) legend { padding: 0; }
.pro-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pro-i--sm { width: 16px; height: 16px; }
.pro-i--xs { width: 14px; height: 14px; }
.pro-i--lg { width: 22px; height: 22px; }
.pro-i--xl { width: 28px; height: 28px; }
.pro-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pro-skip { position: absolute; left: var(--s-4); top: -60px; z-index: var(--z-overlay); background: var(--c-primary); color: #fff; padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); font-weight: var(--fw-semibold); }
.pro-skip:focus { top: var(--s-3); }

/* Texte */
.pro-h1 { font-size: var(--fs-24); font-weight: var(--fw-bold); letter-spacing: var(--tracking-tight); line-height: var(--lh-tight); }
.pro-h2 { font-size: var(--fs-18); font-weight: var(--fw-semibold); letter-spacing: -.01em; line-height: var(--lh-snug); }
.pro-h3 { font-size: var(--fs-15); font-weight: var(--fw-semibold); line-height: var(--lh-snug); }
.pro-eyebrow { font-size: var(--fs-12); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--c-text-2); }
.pro-lead { font-size: var(--fs-16); color: var(--c-text-2); line-height: var(--lh); }
.pro-muted { color: var(--c-text-2); }
.pro-faint { color: var(--c-text-3); }
.pro-small { font-size: var(--fs-13); }
.pro-xsmall { font-size: var(--fs-12); }
.pro-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pro-mono { font-family: var(--font-mono); font-size: .95em; letter-spacing: .01em; }
.pro-ok { color: var(--c-success); }
.pro-ko { color: var(--c-danger); }
.pro-accent { color: var(--brand-accent); }
.pro-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pro-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pro-nowrap { white-space: nowrap; }
.pro-link { color: var(--c-link); font-weight: var(--fw-medium); display: inline-flex; align-items: center; gap: 4px; }
.pro-link .pro-i { width: 15px; height: 15px; }

/* =========================================================== 2. STRUCTURE */
/* Espace connecté : menu latéral + contenu */
.pro-app { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); }
.pro-sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--c-bg-2); border-right: 1px solid var(--c-line);
  display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-4) var(--s-3);
  scrollbar-width: thin; scrollbar-color: var(--c-line-2) transparent;
}
.pro-sidebar__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: 2px var(--s-2) 0; min-height: 40px; }
.pro-sidebar .pro-sidebar__close { display: none; }
.pro-nav { display: grid; gap: 2px; }
.pro-nav__label { font-size: var(--fs-11); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--c-text-3); padding: var(--s-3) var(--s-3) var(--s-1); }
.pro-nav__item {
  display: flex; align-items: center; gap: var(--s-3); height: 38px; padding: 0 var(--s-3); border-radius: var(--r-md);
  color: var(--c-text-2); font-size: var(--fs-14); font-weight: var(--fw-medium); white-space: nowrap; position: relative;
  transition: background var(--dur-1), color var(--dur-1);
}
.pro-nav__item:hover { background: rgba(28, 41, 69, .7); color: var(--c-text); text-decoration: none; }
.pro-nav__item[aria-current="page"] { background: var(--c-primary-soft); color: var(--c-text); }
.pro-nav__item[aria-current="page"] .pro-i { color: var(--c-link); }
.pro-nav__item .pro-i { color: var(--c-text-3); }
.pro-nav__count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-full); background: var(--c-surface-3); color: var(--c-text); font-size: var(--fs-11); font-weight: var(--fw-semibold); display: inline-flex; align-items: center; justify-content: center; }
.pro-sidebar__foot { margin-top: auto; display: grid; gap: var(--s-2); }
.pro-acct { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3); border: 1px solid var(--c-line); border-radius: var(--r-xl); background: var(--c-surface); min-width: 0; }
.pro-acct__txt { min-width: 0; flex: 1; display: grid; gap: 2px; }
.pro-acct__name { font-size: var(--fs-13); font-weight: var(--fw-semibold); }

.pro-main { min-width: 0; display: flex; flex-direction: column; }
.pro-topbar {
  position: sticky; top: 0; z-index: var(--z-topbar); height: var(--topbar-h);
  display: flex; align-items: center; gap: var(--s-3); padding: 0 var(--gutter);
  background: rgba(10, 15, 28, .82); border-bottom: 1px solid var(--c-line);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
}
.pro-topbar .pro-topbar__menu, .pro-topbar .pro-topbar__brand { display: none; }
.pro-topbar__search { flex: 1 1 auto; max-width: 400px; position: relative; }
.pro-topbar__spacer { flex: 1 1 auto; }
.pro-topbar__actions { display: flex; align-items: center; gap: var(--s-2); }
.pro-content { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s-7) var(--gutter) var(--s-16); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-content: start; }
.pro-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.pro-page-head__txt { display: grid; gap: var(--s-1); min-width: 0; }
.pro-page-head__sub { color: var(--c-text-2); font-size: var(--fs-14); }
.pro-page-head__actions { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.pro-crumbs { display: flex; align-items: center; gap: 6px; font-size: var(--fs-13); color: var(--c-text-3); flex-wrap: wrap; }
.pro-crumbs a { color: var(--c-text-2); }
.pro-crumbs .pro-i { width: 14px; height: 14px; }

/* Grilles */
.pro-grid { display: grid; gap: var(--s-4); }
.pro-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pro-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pro-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pro-grid--main-side { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.pro-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-content: start; min-width: 0; }
.pro-stack--sm { gap: var(--s-2); }
.pro-stack--lg { gap: var(--s-6); }
.pro-row { display: flex; align-items: center; gap: var(--s-3); min-width: 0; }
.pro-row--between { justify-content: space-between; }
.pro-row--wrap { flex-wrap: wrap; }
.pro-row--top { align-items: flex-start; }
.pro-spacer { flex: 1 1 auto; }

/* Pages d'accès (inscription, connexion…) */
.pro-auth { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: radial-gradient(900px 480px at 50% -120px, var(--brand-glow-1), transparent 70%), var(--c-bg); }
.pro-auth__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--gutter); }
.pro-auth__body { display: grid; place-items: start center; padding: var(--s-6) var(--gutter) var(--s-12); }
.pro-auth__card { width: 100%; max-width: 440px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-2xl); padding: var(--s-8); box-shadow: var(--sh-2); display: grid; gap: var(--s-5); }
.pro-auth__card--wide { max-width: 560px; }
.pro-auth__title { font-size: var(--fs-24); }
.pro-auth__sub { color: var(--c-text-2); font-size: var(--fs-14); margin-top: 6px; }
.pro-auth__foot { padding: var(--s-4) var(--gutter) var(--s-6); display: flex; justify-content: center; gap: var(--s-5); flex-wrap: wrap; font-size: var(--fs-13); color: var(--c-text-3); }
.pro-auth__foot a { color: var(--c-text-2); }
.pro-auth__alt { text-align: center; font-size: var(--fs-14); color: var(--c-text-2); }
.pro-auth__icon { width: 52px; height: 52px; border-radius: var(--r-xl); display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-link); }
.pro-auth__icon .pro-i { width: 26px; height: 26px; }
.pro-auth__icon--ok { background: var(--c-success-soft); color: var(--c-success); }
.pro-auth__icon--warn { background: var(--c-warning-soft); color: var(--c-warning); }
.pro-auth__icon--ko { background: var(--c-danger-soft); color: var(--c-danger); }
/* Inscription : formulaire + colonne d'arguments */
.pro-signup { width: 100%; max-width: 980px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-6); align-items: start; }
.pro-signup .pro-auth__card { max-width: none; }
.pro-signup__aside { display: grid; gap: var(--s-4); padding: var(--s-6); border: 1px solid var(--c-line); border-radius: var(--r-2xl); background: linear-gradient(180deg, rgba(22, 33, 58, .7), rgba(17, 26, 45, .4)); }
.pro-signup__aside li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-14); color: var(--c-text-2); }
.pro-signup__aside li .pro-i { color: var(--c-success); margin-top: 2px; }
.pro-signup__aside strong { display: block; color: var(--c-text); }

/* =========================================================== 3. LOGO */
.pro-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--c-text); min-width: 0; }
.pro-logo:hover { text-decoration: none; }
.pro-logo__tile { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-tile-1), var(--brand-tile-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 14px -4px var(--brand-glow-1); }
.pro-logo__tile .pro-i { width: 18px; height: 18px; stroke-width: 2; }
.pro-logo__name { font-size: var(--fs-16); font-weight: var(--fw-heavy); letter-spacing: -.02em; white-space: nowrap; }
.pro-logo__name em { font-style: normal; color: var(--brand-tile-2); }
.pro-logo__pro { font-size: 10px; font-weight: var(--fw-heavy); letter-spacing: .08em; color: var(--brand-accent-ink); background: var(--brand-accent); border-radius: 5px; padding: 2px 5px; line-height: 1.2; }

/* =========================================================== 4. BOUTONS */
.pro-btn {
  --btn-h: var(--h-btn);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  height: var(--btn-h); padding: 0 var(--s-4); border-radius: var(--r-lg); border: 1px solid transparent;
  font-size: var(--fs-14); font-weight: var(--fw-semibold); line-height: 1; white-space: nowrap; text-decoration: none;
  color: var(--c-text); background: var(--c-surface-2); border-color: var(--c-line-2);
  transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease), background var(--dur-1), border-color var(--dur-1), color var(--dur-1);
  user-select: none; position: relative; flex: none; max-width: 100%;
}
.pro-btn:hover { text-decoration: none; background: var(--c-surface-3); border-color: var(--c-field-line); }
.pro-btn:active { transform: translateY(1px); }
.pro-btn .pro-i { width: 17px; height: 17px; }
.pro-btn--primary { color: #fff; background: linear-gradient(135deg, var(--c-primary-2), var(--c-primary)); border-color: transparent; box-shadow: var(--sh-btn); }
.pro-btn--primary:hover { background: linear-gradient(135deg, var(--c-primary-2), var(--c-primary)); border-color: transparent; box-shadow: 0 8px 18px -4px rgba(37, 99, 235, .5); transform: translateY(-1px); }
.pro-btn--accent { color: var(--brand-accent); background: var(--brand-accent-soft); border-color: var(--brand-accent-line); }
.pro-btn--accent:hover { background: rgba(251, 191, 36, .2); border-color: var(--brand-accent); }
.pro-btn--ghost { background: transparent; border-color: transparent; color: var(--c-text-2); }
.pro-btn--ghost:hover { background: var(--c-surface-3); border-color: transparent; color: var(--c-text); }
.pro-btn--danger { color: var(--c-danger); background: var(--c-danger-soft); border-color: var(--c-danger-line); }
.pro-btn--danger:hover { background: rgba(248, 113, 113, .2); border-color: var(--c-danger); }
.pro-btn--link { height: auto; padding: 0; background: none; border: 0; color: var(--c-link); font-weight: var(--fw-medium); }
.pro-btn--link:hover { background: none; text-decoration: underline; }
.pro-btn--sm { --btn-h: var(--h-btn-sm); padding: 0 var(--s-3); font-size: var(--fs-13); border-radius: var(--r-md); }
.pro-btn--sm .pro-i { width: 15px; height: 15px; }
.pro-btn--lg { --btn-h: var(--h-btn-lg); padding: 0 var(--s-6); font-size: var(--fs-15); }
.pro-btn--block { display: flex; width: 100%; }
.pro-btn--icon { width: var(--btn-h); padding: 0; }
.pro-btn[disabled], .pro-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.pro-btn.is-loading { color: transparent !important; pointer-events: none; }
.pro-btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: pro-spin .7s linear infinite; }
.pro-btn:not(.pro-btn--primary).is-loading::after { border-color: rgba(170, 182, 203, .35); border-top-color: var(--c-text); }
.pro-btn__count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-full); background: var(--c-primary); color: #fff; font-size: var(--fs-11); font-weight: var(--fw-bold); display: inline-flex; align-items: center; justify-content: center; }
.pro-iconbtn { position: relative; width: 40px; height: 40px; border-radius: var(--r-md); display: inline-grid; place-items: center; color: var(--c-text-2); flex: none; transition: background var(--dur-1), color var(--dur-1); }
.pro-iconbtn:hover { background: var(--c-surface-3); color: var(--c-text); }
.pro-iconbtn .pro-btn__count { position: absolute; top: 3px; right: 1px; }
.pro-iconbtn--fav[aria-pressed="true"] { color: var(--brand-accent); }
.pro-iconbtn--fav[aria-pressed="true"] .pro-i { fill: currentColor; }
.pro-btns { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; }

/* =========================================================== 5. FORMULAIRES */
.pro-form { display: grid; gap: var(--s-4); }
.pro-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.pro-form__row--3 { grid-template-columns: 1.1fr 1fr 1.4fr; }
.pro-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.pro-label { font-size: var(--fs-13); font-weight: var(--fw-semibold); color: var(--c-text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pro-label__opt { font-weight: var(--fw-regular); color: var(--c-text-3); }
.pro-hint { font-size: var(--fs-12); color: var(--c-text-3); line-height: 1.45; }
.pro-error { font-size: var(--fs-13); color: var(--c-danger); display: flex; gap: 6px; align-items: flex-start; line-height: 1.4; }
.pro-error .pro-i { width: 15px; height: 15px; margin-top: 1px; }
/* 19/11/2026 (L.) : lien discret sous le champ du numéro, « Mon numéro n'est pas reconnu » (ouvre la fenêtre « Un problème ? ») */
.pro-numhelp { margin: -2px 0 0; line-height: 1.45; }
.pro-numhelp__btn { -webkit-appearance: none; appearance: none; background: none; border: 0; margin: 0; padding: 4px 0; font: inherit; font-size: var(--fs-12); color: var(--c-text-3); text-align: left; text-decoration: underline; text-decoration-color: rgba(138, 152, 176, .45); text-underline-offset: 3px; cursor: pointer; }
.pro-numhelp__btn:hover, .pro-numhelp__btn:focus-visible { color: var(--c-link); text-decoration-color: currentColor; }
.pro-input, .pro-select select, .pro-textarea {
  width: 100%; height: var(--h-field); padding: 0 var(--s-3); border-radius: var(--r-md);
  background: var(--c-field); border: 1px solid var(--c-field-line); color: var(--c-text); font-size: var(--fs-15);
  transition: border-color var(--dur-1), box-shadow var(--dur-1), background var(--dur-1);
}
.pro-input::placeholder, .pro-textarea::placeholder { color: var(--c-placeholder); opacity: 1; }
.pro-input:hover, .pro-select select:hover, .pro-textarea:hover { border-color: #6a7ca3; }
.pro-input:focus, .pro-select select:focus, .pro-textarea:focus { outline: none; border-color: var(--c-focus); box-shadow: 0 0 0 3px rgba(96, 165, 250, .25); }
.pro-input[aria-invalid="true"], .pro-select select[aria-invalid="true"], .pro-textarea[aria-invalid="true"] { border-color: var(--c-danger); box-shadow: 0 0 0 3px rgba(248, 113, 113, .16); }
.pro-input[readonly], .pro-input:disabled { background: transparent; border-style: dashed; border-color: var(--c-line-2); color: var(--c-text-2); }
.pro-textarea { height: auto; min-height: 104px; padding: var(--s-3); line-height: var(--lh); resize: vertical; }
.pro-select { position: relative; display: block; min-width: 0; }
.pro-select select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; text-overflow: ellipsis; }
.pro-select select option { background: var(--c-surface-2); color: var(--c-text); }
.pro-select > .pro-i { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--c-text-3); width: 16px; height: 16px; }
.pro-select--sm select { height: var(--h-btn-sm); font-size: var(--fs-13); border-radius: var(--r-md); padding-left: 10px; padding-right: 30px; }
.pro-select--sm > .pro-i { right: 9px; width: 14px; height: 14px; }
.pro-select--bare select { background: transparent; border-color: transparent; }
.pro-select--bare select:hover { border-color: var(--c-line-2); }
/* Champ avec icône ou suffixe */
.pro-inputgroup { position: relative; display: flex; align-items: center; min-width: 0; }
.pro-inputgroup > .pro-input { flex: 1; }
.pro-inputgroup__icon { position: absolute; left: 12px; color: var(--c-text-3); pointer-events: none; }
.pro-inputgroup__icon + .pro-input { padding-left: 38px; }
.pro-inputgroup__end { position: absolute; right: 6px; display: flex; align-items: center; gap: 4px; }
.pro-inputgroup--end > .pro-input { padding-right: 46px; }
.pro-inputgroup__end .pro-iconbtn { width: 34px; height: 34px; }
.pro-inputgroup__state { position: absolute; right: 12px; display: inline-flex; }
.pro-search .pro-input { height: 38px; border-radius: var(--r-full); font-size: var(--fs-14); background: var(--c-surface); border-color: var(--c-line-2); }
.pro-search .pro-input:focus { background: var(--c-field); }
.pro-kbd { font: var(--fw-semibold) 11px/1 var(--font); color: var(--c-text-3); border: 1px solid var(--c-line-2); border-radius: 5px; padding: 3px 5px; }
/* Cases et boutons radio (sans image : coche dessinée en CSS) */
.pro-check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-14); color: var(--c-text-2); cursor: pointer; line-height: 1.45; }
.pro-check input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 1px 0 0; border: 1.5px solid var(--c-field-line); border-radius: 5px; background: var(--c-field); display: grid; place-items: center; cursor: pointer; transition: background var(--dur-1), border-color var(--dur-1); }
.pro-check input[type="radio"] { border-radius: 50%; }
.pro-check input::before { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.pro-check input[type="radio"]::before { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.pro-check input:checked { background: var(--c-primary); border-color: var(--c-primary); }
.pro-check input:checked::before { opacity: 1; }
.pro-check input:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.pro-check input[aria-invalid="true"] { border-color: var(--c-danger); }
.pro-check a { font-weight: var(--fw-medium); }
.pro-check strong { color: var(--c-text); }
/* Interrupteur */
.pro-switch { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); cursor: pointer; }
.pro-switch__txt { display: grid; gap: 2px; min-width: 0; }
.pro-switch__title { font-size: var(--fs-14); font-weight: var(--fw-semibold); }
.pro-switch input { appearance: none; -webkit-appearance: none; flex: none; width: 40px; height: 24px; border-radius: var(--r-full); background: var(--c-line-2); position: relative; cursor: pointer; transition: background var(--dur-2); margin: 0; }
.pro-switch input::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); transition: transform var(--dur-2) var(--ease); }
.pro-switch input:checked { background: var(--c-primary); }
.pro-switch input:checked::before { transform: translateX(16px); }
/* Choix segmenté (filtres, type de structure, vue) */
.pro-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-lg); background: var(--c-field); border: 1px solid var(--c-line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pro-seg::-webkit-scrollbar { display: none; }
.pro-seg__opt { position: relative; flex: none; }
.pro-seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pro-seg__opt span, .pro-seg > button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 var(--s-3); border-radius: var(--r-md); font-size: var(--fs-13); font-weight: var(--fw-medium); color: var(--c-text-2); white-space: nowrap; transition: background var(--dur-1), color var(--dur-1); }
.pro-seg__opt input:checked + span, .pro-seg > button[aria-pressed="true"] { background: var(--c-surface-3); color: var(--c-text); box-shadow: var(--sh-1), var(--sh-inset); }
.pro-seg__opt input:focus-visible + span { outline: 2px solid var(--c-focus); outline-offset: 1px; }
.pro-seg__opt:hover span, .pro-seg > button:hover { color: var(--c-text); }
/* Cartes à choisir (type de structure, packs) */
.pro-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.pro-choice { position: relative; display: flex; align-items: center; gap: var(--s-3); min-height: 56px; padding: var(--s-3); border: 1px solid var(--c-field-line); border-radius: var(--r-lg); background: var(--c-field); cursor: pointer; transition: border-color var(--dur-1), background var(--dur-1); }
.pro-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pro-choice__ico { width: 32px; height: 32px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--c-surface-3); color: var(--c-text-2); flex: none; }
.pro-choice__txt { display: grid; gap: 1px; min-width: 0; font-size: var(--fs-14); font-weight: var(--fw-semibold); line-height: 1.3; }
.pro-choice__txt small { font-weight: var(--fw-regular); color: var(--c-text-3); }
.pro-choice:hover { border-color: #6a7ca3; }
.pro-choice:has(input:checked) { border-color: var(--c-primary-hi); background: var(--c-primary-soft); }
.pro-choice:has(input:checked) .pro-choice__ico { background: var(--c-primary); color: #fff; }
.pro-choice:has(input:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: 2px; }
/* Mot de passe : force */
.pro-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pro-strength i { height: 4px; border-radius: 2px; background: var(--c-line-2); }
.pro-strength[data-level="1"] i:nth-child(-n+1) { background: var(--c-danger); }
.pro-strength[data-level="2"] i:nth-child(-n+2) { background: var(--c-warning); }
.pro-strength[data-level="3"] i:nth-child(-n+3) { background: var(--brand-accent); }
.pro-strength[data-level="4"] i { background: var(--c-success); }
.pro-rules { display: grid; gap: 4px; font-size: var(--fs-12); color: var(--c-text-3); }
.pro-rules li { display: flex; align-items: center; gap: 6px; }
.pro-rules li .pro-i { width: 14px; height: 14px; }
.pro-rules li.is-ok { color: var(--c-success); }
/* Code à 6 chiffres */
.pro-otp { font: var(--fw-semibold) 26px/1 var(--font-mono); letter-spacing: .45em; text-align: center; height: 56px; padding: 0 0 0 .45em; }
/* Zone de dépôt (import CSV) */
.pro-drop { display: grid; place-items: center; gap: var(--s-2); text-align: center; padding: var(--s-8) var(--s-4); border: 1.5px dashed var(--c-field-line); border-radius: var(--r-xl); background: var(--c-field); color: var(--c-text-2); font-size: var(--fs-14); cursor: pointer; transition: border-color var(--dur-1), background var(--dur-1); }
.pro-drop:hover, .pro-drop.is-over { border-color: var(--c-primary-hi); background: var(--c-primary-soft); }
.pro-drop .pro-i { width: 28px; height: 28px; color: var(--c-link); }
.pro-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
/* Honeypot anti-robot : jamais visible, jamais lu par un lecteur d'écran */
.pro-hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Données vérifiées (VIES, SIRET) */
.pro-verified { display: grid; gap: var(--s-2); padding: var(--s-4); border: 1px solid var(--c-success-line); border-radius: var(--r-xl); background: var(--c-success-soft); }
.pro-verified__head { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-13); font-weight: var(--fw-semibold); color: var(--c-success); }
.pro-verified__name { font-size: var(--fs-16); font-weight: var(--fw-bold); }
.pro-verified__addr { font-size: var(--fs-14); color: var(--c-text-2); }

/* =========================================================== 6. CARTES */
.pro-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-2xl); padding: var(--s-5); min-width: 0; box-shadow: var(--sh-inset); }
.pro-card--flush { padding: 0; overflow: hidden; }
.pro-card--raised { background: var(--c-surface-2); border-color: var(--c-line-2); }
.pro-card--accent { border-color: var(--brand-accent-line); background: linear-gradient(180deg, rgba(251, 191, 36, .07), rgba(17, 26, 45, 0) 60%), var(--c-surface); }
.pro-card--glow { background: radial-gradient(420px 200px at 100% 0, rgba(59, 130, 246, .18), transparent 70%), var(--c-surface); }
.pro-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); min-width: 0; }
.pro-card__head--pad { margin: 0; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--c-line); }
.pro-card__title { font-size: var(--fs-15); font-weight: var(--fw-semibold); display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
.pro-card__title .pro-i { color: var(--c-text-3); }
.pro-card__foot { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--c-line); display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; }
.pro-card__body--pad { padding: var(--s-5); }
/* Indicateurs */
.pro-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.pro-kpi { display: grid; gap: 6px; align-content: start; padding: var(--s-4) var(--s-5); min-height: 116px; }
.pro-kpi__label { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-13); font-weight: var(--fw-medium); color: var(--c-text-2); }
.pro-kpi__label .pro-i { width: 16px; height: 16px; color: var(--c-text-3); }
.pro-kpi__value { font-size: var(--fs-24); font-weight: var(--fw-bold); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.15; }
.pro-kpi__meta { font-size: var(--fs-12); color: var(--c-text-3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pro-kpi__meta a { font-weight: var(--fw-medium); }
/* Liste de définitions */
.pro-dl { display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr); gap: var(--s-2) var(--s-4); font-size: var(--fs-14); }
.pro-dl dt { color: var(--c-text-2); }
.pro-dl dd { color: var(--c-text); min-width: 0; overflow-wrap: anywhere; }
/* Avatar */
.pro-avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: var(--fs-12); font-weight: var(--fw-bold); color: #fff; background: linear-gradient(135deg, var(--brand-tile-1), var(--brand-tile-2)); }
.pro-avatar--lg { width: 44px; height: 44px; font-size: var(--fs-15); }
/* Liste simple dans une carte */
.pro-list { display: grid; }
.pro-list > li, .pro-list__item { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); min-width: 0; }
.pro-list > li:last-child, .pro-list__item:last-child { border-bottom: 0; padding-bottom: 0; }
.pro-list > li:first-child, .pro-list__item:first-child { padding-top: 0; }
.pro-list__main { display: grid; gap: 2px; min-width: 0; flex: 1; }
.pro-list__title { font-size: var(--fs-14); font-weight: var(--fw-semibold); }
.pro-list__meta { font-size: var(--fs-12); color: var(--c-text-3); }

/* =========================================================== 7. CATALOGUE */
.pro-catbar { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.pro-catbar__search { flex: 1 1 220px; max-width: 320px; }
.pro-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.pro-product { position: relative; display: grid; gap: var(--s-3); align-content: start; padding: var(--s-4); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-2xl); min-width: 0; transition: border-color var(--dur-2), transform var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease); }
.pro-product:hover { border-color: var(--c-line-2); box-shadow: var(--sh-2); }
.pro-product.is-incart { border-color: rgba(59, 130, 246, .45); }
.pro-product__top { display: flex; gap: var(--s-3); align-items: flex-start; min-width: 0; }
.pro-product__visual { width: 48px; height: 48px; border-radius: var(--r-lg); flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--pv-1, #1e40af), var(--pv-2, #3b82f6)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.pro-product__visual .pro-i { width: 22px; height: 22px; stroke-width: 1.9; }
.pro-pv--windows { --pv-1: #1e40af; --pv-2: #3b82f6; }
.pro-pv--office { --pv-1: #b4380f; --pv-2: #f97316; }
.pro-pv--pack { --pv-1: #5b21b6; --pv-2: #a78bfa; }
.pro-pv--enterprise { --pv-1: #0f766e; --pv-2: #2dd4bf; }
.pro-pv--education { --pv-1: #15803d; --pv-2: #4ade80; }
.pro-pv--visio { --pv-1: #0e7490; --pv-2: #22d3ee; }
.pro-pv--server { --pv-1: #334155; --pv-2: #94a3b8; }
.pro-product__name { font-size: var(--fs-15); font-weight: var(--fw-semibold); line-height: 1.3; min-width: 0; }
.pro-product__sub { font-size: var(--fs-12); color: var(--c-text-2); line-height: 1.4; margin-top: 3px; }
.pro-product__titles { flex: 1; min-width: 0; }
.pro-product__fav { margin: -6px -6px 0 0; }
.pro-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; min-width: 0; }
.pro-price__value { font-size: var(--fs-22); font-weight: var(--fw-bold); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.1; }
.pro-price__unit { font-size: var(--fs-12); color: var(--c-text-2); white-space: nowrap; }
.pro-price__alt { font-size: var(--fs-12); color: var(--c-text-3); white-space: nowrap; }
.pro-price__was { font-size: var(--fs-12); color: var(--c-text-3); text-decoration: line-through; white-space: nowrap; }
.pro-product__meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 22px; }
.pro-product__buy { display: flex; gap: var(--s-2); align-items: center; }
.pro-product__buy .pro-btn { flex: 1; min-width: 0; }
.pro-product__hint { font-size: var(--fs-12); color: var(--c-text-2); display: flex; align-items: center; gap: 6px; min-height: 18px; }
.pro-product__hint .pro-i { width: 14px; height: 14px; color: var(--brand-accent); }
.pro-product__hint strong { color: var(--brand-accent); font-weight: var(--fw-semibold); }
/* Vue liste */
.pro-products.is-list { grid-template-columns: 1fr; gap: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-2xl); overflow: hidden; }
.pro-products.is-list .pro-product { grid-template-columns: minmax(0, 1fr) 180px 260px; align-items: center; gap: var(--s-4); border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; padding: var(--s-3) var(--s-4); box-shadow: none; }
.pro-products.is-list .pro-product:last-child { border-bottom: 0; }
.pro-products.is-list .pro-product__visual { width: 36px; height: 36px; border-radius: var(--r-md); }
.pro-products.is-list .pro-product__visual .pro-i { width: 18px; height: 18px; }
.pro-products.is-list .pro-product__top { align-items: center; }
.pro-products.is-list .pro-product__sub { display: none; }
.pro-products.is-list .pro-product__meta, .pro-products.is-list .pro-product__hint { display: none; }
.pro-products.is-list .pro-price__value { font-size: var(--fs-16); }
/* Sélecteur de quantité */
.pro-stepper { display: inline-flex; align-items: center; height: var(--h-btn); border: 1px solid var(--c-field-line); border-radius: var(--r-md); background: var(--c-field); flex: none; }
.pro-stepper button { width: 34px; height: 100%; display: grid; place-items: center; color: var(--c-text-2); border-radius: var(--r-md); transition: color var(--dur-1), background var(--dur-1); }
.pro-stepper button:hover { color: var(--c-text); background: var(--c-surface-3); }
.pro-stepper button:disabled { opacity: .35; cursor: not-allowed; background: none; }
.pro-stepper button .pro-i { width: 16px; height: 16px; stroke-width: 2.2; }
.pro-stepper input { width: 52px; height: 100%; border: 0; background: transparent; text-align: center; font-size: var(--fs-15); font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; color: var(--c-text); -moz-appearance: textfield; appearance: textfield; padding: 0; }
.pro-stepper input::-webkit-outer-spin-button, .pro-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pro-stepper input:focus { outline: none; }
.pro-stepper:focus-within { border-color: var(--c-focus); box-shadow: 0 0 0 3px rgba(96, 165, 250, .22); }
.pro-stepper--sm { height: var(--h-btn-sm); }
.pro-stepper--sm button { width: 28px; }
.pro-stepper--sm input { width: 44px; font-size: var(--fs-14); }

/* =========================================================== 8. BADGES ET PALIERS */
.pro-badge { --b: var(--c-neutral); --b-soft: var(--c-neutral-soft); --b-line: var(--c-neutral-line);
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: var(--r-sm); border: 1px solid var(--b-line); background: var(--b-soft); color: var(--b);
  font-size: var(--fs-12); font-weight: var(--fw-semibold); line-height: 1; white-space: nowrap; flex: none; }
.pro-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pro-badge--plain::before { display: none; }
.pro-badge .pro-i { width: 13px; height: 13px; }
.pro-badge--success { --b: var(--c-success); --b-soft: var(--c-success-soft); --b-line: var(--c-success-line); }
.pro-badge--warning { --b: var(--c-warning); --b-soft: var(--c-warning-soft); --b-line: var(--c-warning-line); }
.pro-badge--danger { --b: var(--c-danger); --b-soft: var(--c-danger-soft); --b-line: var(--c-danger-line); }
.pro-badge--info { --b: var(--c-info); --b-soft: var(--c-info-soft); --b-line: var(--c-info-line); }
.pro-badge--accent { --b: var(--brand-accent); --b-soft: var(--brand-accent-soft); --b-line: var(--brand-accent-line); }
.pro-badge--lg { height: 26px; padding: 0 10px; font-size: var(--fs-13); }
.pro-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-full); background: var(--c-surface-3); color: var(--c-text-2); font-size: var(--fs-12); font-weight: var(--fw-medium); white-space: nowrap; }
.pro-chip .pro-i { width: 14px; height: 14px; }
/* Palier */
.pro-tier { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--r-sm); background: var(--brand-accent-soft); border: 1px solid var(--brand-accent-line); color: var(--brand-accent); font-size: var(--fs-12); font-weight: var(--fw-semibold); white-space: nowrap; }
.pro-tier--base { background: var(--c-neutral-soft); border-color: var(--c-neutral-line); color: var(--c-text-2); }
.pro-tier .pro-i { width: 13px; height: 13px; }
/* Barre des paliers (catalogue, panier, paiement) */
.pro-tierbar { display: grid; gap: var(--s-3); padding: var(--s-4) var(--s-5); border: 1px solid var(--c-line); border-radius: var(--r-2xl); background: radial-gradient(500px 120px at 0 0, rgba(251, 191, 36, .08), transparent 70%), var(--c-surface); min-width: 0; }
.pro-tierbar__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.pro-tierbar__status { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; font-size: var(--fs-14); min-width: 0; }
.pro-tierbar__qty { font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.pro-tierbar__next { font-size: var(--fs-13); color: var(--c-text-2); }
.pro-tierbar__next strong { color: var(--brand-accent); }
.pro-tierbar__track { --fill: 0%; position: relative; height: 8px; border-radius: var(--r-full); background: var(--c-field); border: 1px solid var(--c-line); overflow: hidden; }
.pro-tierbar__fill { position: absolute; inset: 0 auto 0 0; width: var(--fill); border-radius: var(--r-full); background: linear-gradient(90deg, var(--c-primary), var(--brand-accent)); transition: width var(--dur-3) var(--ease); }
.pro-tierbar__track::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(25% - 1px), var(--c-bg) calc(25% - 1px), var(--c-bg) 25%, transparent 25%, transparent calc(50% - 1px), var(--c-bg) calc(50% - 1px), var(--c-bg) 50%, transparent 50%, transparent calc(75% - 1px), var(--c-bg) calc(75% - 1px), var(--c-bg) 75%, transparent 75%); }
.pro-tierbar__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: var(--fs-12); color: var(--c-text-3); }
.pro-tierbar__steps li { display: grid; gap: 1px; padding-right: 6px; min-width: 0; }
.pro-tierbar__steps li b { color: var(--c-text-2); font-weight: var(--fw-semibold); white-space: nowrap; }
.pro-tierbar__steps li.is-current b { color: var(--brand-accent); }
.pro-tierbar--compact { padding: var(--s-3) var(--s-4); border-radius: var(--r-xl); gap: var(--s-2); }
/* Progression simple */
.pro-progress { height: 6px; border-radius: var(--r-full); background: var(--c-field); overflow: hidden; }
.pro-progress > i { display: block; height: 100%; width: var(--fill, 0%); background: var(--c-primary-hi); border-radius: inherit; }

/* =========================================================== 9. TABLEAUX */
.pro-toolbar { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.pro-toolbar__search { flex: 1 1 220px; max-width: 320px; }
.pro-toolbar .pro-spacer { min-width: 0; }
.pro-table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-2xl); background: var(--c-surface); scrollbar-width: thin; scrollbar-color: var(--c-line-2) transparent; }
.pro-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-14); }
.pro-table th { text-align: left; font-size: var(--fs-12); font-weight: var(--fw-semibold); color: var(--c-text-2); padding: 11px var(--s-4); border-bottom: 1px solid var(--c-line); white-space: nowrap; background: rgba(13, 20, 36, .55); }
.pro-table th:first-child { border-top-left-radius: var(--r-2xl); }
.pro-table th:last-child { border-top-right-radius: var(--r-2xl); }
.pro-table td { padding: 12px var(--s-4); border-bottom: 1px solid var(--c-line); vertical-align: middle; color: var(--c-text); }
.pro-table tbody tr:last-child td { border-bottom: 0; }
.pro-table tbody tr { transition: background var(--dur-1); }
.pro-table tbody tr:hover { background: rgba(28, 41, 69, .45); }
.pro-table .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pro-table .is-end { text-align: right; }
.pro-table .is-nowrap { white-space: nowrap; }
.pro-table .is-strong { font-weight: var(--fw-semibold); }
.pro-table a.pro-table__ref { font-weight: var(--fw-semibold); color: var(--c-text); white-space: nowrap; flex: none; }
.pro-table--fixed { table-layout: fixed; }
.pro-table--dash col:nth-child(2) { width: 104px; } .pro-table--dash col:nth-child(3) { width: 84px; } .pro-table--dash col:nth-child(4) { width: 112px; }
.pro-table--dash col:nth-child(5) { width: 160px; } .pro-table--dash col:nth-child(6) { width: 56px; }
@media (min-width: 1024px) { .pro-only-sm { display: none !important; } }
@media (max-width: 1023px) { .pro-only-lg { display: none !important; } }
.pro-table--fixed td.is-primary { overflow: hidden; }
.pro-table a.pro-table__ref:hover { color: var(--c-link); }
.pro-table__sub { display: block; font-size: var(--fs-12); color: var(--c-text-3); margin-top: 2px; }
.pro-table__actions { display: inline-flex; gap: 2px; justify-content: flex-end; }
.pro-table__actions .pro-iconbtn { width: 32px; height: 32px; }
.pro-table__pos { color: var(--c-success); }
.pro-table__neg { color: var(--c-text); }
.pro-table-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; font-size: var(--fs-13); color: var(--c-text-3); padding: 0 var(--s-1); }
.pro-pager { display: inline-flex; gap: 4px; }

/* =========================================================== 10. MESSAGES */
.pro-alert { --a: var(--c-info); --a-soft: var(--c-info-soft); --a-line: var(--c-info-line);
  display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) var(--s-4); border-radius: var(--r-xl); border: 1px solid var(--a-line); background: var(--a-soft); min-width: 0; }
.pro-alert > .pro-i { color: var(--a); margin-top: 1px; }
.pro-alert__body { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: var(--fs-13); color: var(--c-text-2); line-height: 1.5; }
.pro-alert__title { font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--c-text); }
.pro-alert__actions { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; margin-top: var(--s-2); }
.pro-alert__close { margin: -6px -8px -6px 0; }
.pro-alert--success { --a: var(--c-success); --a-soft: var(--c-success-soft); --a-line: var(--c-success-line); }
.pro-alert--warning { --a: var(--c-warning); --a-soft: var(--c-warning-soft); --a-line: var(--c-warning-line); }
.pro-alert--danger { --a: var(--c-danger); --a-soft: var(--c-danger-soft); --a-line: var(--c-danger-line); }
.pro-alert--accent { --a: var(--brand-accent); --a-soft: var(--brand-accent-soft); --a-line: var(--brand-accent-line); }
.pro-alert--neutral { --a: var(--c-text-2); --a-soft: rgba(28, 41, 69, .5); --a-line: var(--c-line-2); }
.pro-toasts { position: fixed; right: var(--s-5); bottom: var(--s-5); z-index: var(--z-toast); display: grid; gap: var(--s-2); width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.pro-toast { pointer-events: auto; display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) var(--s-4); background: var(--c-surface-2); border: 1px solid var(--c-line-2); border-radius: var(--r-xl); box-shadow: var(--sh-3); font-size: var(--fs-14); animation: pro-rise var(--dur-3) var(--ease); }
.pro-toast > .pro-i { margin-top: 1px; color: var(--c-info); }
.pro-toast--success > .pro-i { color: var(--c-success); }
.pro-toast--danger > .pro-i { color: var(--c-danger); }
.pro-toast__txt { flex: 1; min-width: 0; }
.pro-toast__txt a { font-weight: var(--fw-semibold); }

/* =========================================================== 11. SUPERPOSITIONS (modale, tiroir, menu) */
dialog.pro-modal, dialog.pro-drawer { padding: 0; border: 0; color: var(--c-text); background: transparent; max-width: none; max-height: none; overflow: visible; }
dialog.pro-modal::backdrop, dialog.pro-drawer::backdrop { background: var(--c-overlay); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pro-modal__box { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--c-surface-2); border: 1px solid var(--c-line-2); border-radius: var(--r-2xl); box-shadow: var(--sh-3); overflow: hidden; }
.pro-modal--sm .pro-modal__box { width: min(440px, calc(100vw - 32px)); }
.pro-modal--lg .pro-modal__box { width: min(760px, calc(100vw - 32px)); }
.pro-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); padding: var(--s-5) var(--s-5) 0; }
.pro-modal__title { font-size: var(--fs-18); font-weight: var(--fw-bold); }
.pro-modal__sub { font-size: var(--fs-13); color: var(--c-text-2); margin-top: 4px; }
.pro-modal__body { padding: var(--s-5); overflow-y: auto; display: grid; gap: var(--s-4); }
.pro-modal__foot { display: flex; justify-content: flex-end; gap: var(--s-2); padding: var(--s-4) var(--s-5); border-top: 1px solid var(--c-line); background: rgba(13, 20, 36, .4); flex-wrap: wrap; }
dialog.pro-modal[open] .pro-modal__box { animation: pro-pop var(--dur-3) var(--ease); }
/* Tiroir (panier à droite, menu à gauche sur mobile) */
dialog.pro-drawer { position: fixed; inset: 0 0 0 auto; height: 100%; margin: 0; }
.pro-drawer__box { width: min(var(--drawer-w), 100vw); height: 100%; display: flex; flex-direction: column; background: var(--c-surface-2); border-left: 1px solid var(--c-line-2); box-shadow: var(--sh-3); }
dialog.pro-drawer[open] .pro-drawer__box { animation: pro-slide-l var(--dur-3) var(--ease); }
.pro-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--c-line); }
.pro-drawer__title { font-size: var(--fs-16); font-weight: var(--fw-bold); display: flex; align-items: center; gap: var(--s-2); }
.pro-drawer__body { flex: 1; overflow-y: auto; padding: var(--s-4) var(--s-5); display: grid; gap: var(--s-4); align-content: start; overscroll-behavior: contain; }
.pro-drawer__foot { padding: var(--s-4) var(--s-5) var(--s-5); border-top: 1px solid var(--c-line); display: grid; gap: var(--s-3); background: rgba(13, 20, 36, .5); }
/* Lignes du panier (tiroir et page de paiement) */
.pro-cartlines { display: grid; }
.pro-cartline { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: var(--s-2) var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
.pro-cartline:first-child { padding-top: 0; }
.pro-cartline:last-child { border-bottom: 0; }
.pro-cartline .pro-product__visual { width: 40px; height: 40px; border-radius: var(--r-md); }
.pro-cartline .pro-product__visual .pro-i { width: 18px; height: 18px; }
.pro-cartline__name { font-size: var(--fs-14); font-weight: var(--fw-semibold); line-height: 1.3; }
.pro-cartline__unit { font-size: var(--fs-12); color: var(--c-text-3); margin-top: 2px; }
.pro-cartline__total { font-size: var(--fs-14); font-weight: var(--fw-semibold); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pro-cartline__ctrl { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.pro-sumrows { display: grid; gap: 6px; font-size: var(--fs-14); }
.pro-sumrow { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); color: var(--c-text-2); }
.pro-sumrow > :last-child { color: var(--c-text); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.pro-sumrow--discount > :last-child { color: var(--c-success); }
.pro-sumrow--total { padding-top: var(--s-2); margin-top: 2px; border-top: 1px solid var(--c-line); color: var(--c-text); font-weight: var(--fw-semibold); }
.pro-sumrow--total > :last-child { font-size: var(--fs-20); font-weight: var(--fw-heavy); letter-spacing: -.02em; }
.pro-sumrow small { color: var(--c-text-3); font-weight: var(--fw-regular); }
/* Menu déroulant */
.pro-dropdown { position: relative; }
.pro-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: var(--z-dropdown); min-width: 220px; padding: 6px; background: var(--c-surface-2); border: 1px solid var(--c-line-2); border-radius: var(--r-xl); box-shadow: var(--sh-3); display: grid; gap: 1px; animation: pro-pop var(--dur-2) var(--ease); }
.pro-menu__item { display: flex; align-items: center; gap: var(--s-3); height: 36px; padding: 0 var(--s-3); border-radius: var(--r-sm); font-size: var(--fs-14); color: var(--c-text); text-align: left; white-space: nowrap; width: 100%; }
.pro-menu__item:hover { background: var(--c-surface-3); text-decoration: none; }
.pro-menu__item .pro-i { color: var(--c-text-3); }
.pro-menu__item--danger { color: var(--c-danger); }
.pro-menu__item--danger .pro-i { color: var(--c-danger); }
.pro-menu__sep { height: 1px; background: var(--c-line); margin: 4px 2px; }
.pro-menu__head { padding: var(--s-2) var(--s-3) var(--s-3); border-bottom: 1px solid var(--c-line); margin-bottom: 4px; display: grid; gap: 2px; min-width: 0; }
/* Résultats de recherche */
.pro-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: var(--z-dropdown); background: var(--c-surface-2); border: 1px solid var(--c-line-2); border-radius: var(--r-xl); box-shadow: var(--sh-3); padding: 6px; display: grid; gap: 1px; max-height: 420px; overflow-y: auto; }
.pro-results__group { font-size: var(--fs-11); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--c-text-3); padding: var(--s-2) var(--s-3) 4px; }
.pro-results__item { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); color: var(--c-text); font-size: var(--fs-14); min-width: 0; }
.pro-results__item:hover, .pro-results__item[aria-selected="true"] { background: var(--c-surface-3); text-decoration: none; }
.pro-results__item small { color: var(--c-text-3); margin-left: auto; white-space: nowrap; }
.pro-results__empty { padding: var(--s-4); text-align: center; color: var(--c-text-3); font-size: var(--fs-13); }

/* =========================================================== 12. NAVIGATION SECONDAIRE */
.pro-tabs { display: flex; gap: var(--s-1); border-bottom: 1px solid var(--c-line); overflow-x: auto; scrollbar-width: none; }
.pro-tabs::-webkit-scrollbar { display: none; }
.pro-tab { position: relative; flex: none; height: 42px; padding: 0 var(--s-3); font-size: var(--fs-14); font-weight: var(--fw-medium); color: var(--c-text-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.pro-tab:hover { color: var(--c-text); text-decoration: none; }
.pro-tab[aria-selected="true"], .pro-tab[aria-current="page"] { color: var(--c-text); }
.pro-tab[aria-selected="true"]::after, .pro-tab[aria-current="page"]::after { content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: -1px; height: 2px; border-radius: 2px; background: var(--c-primary-hi); }
.pro-tabpanel { padding-top: var(--s-5); }
/* Accordéon (FAQ) : <details class="pro-acc"> */
.pro-accs { display: grid; border: 1px solid var(--c-line); border-radius: var(--r-2xl); background: var(--c-surface); overflow: hidden; }
.pro-acc { border-bottom: 1px solid var(--c-line); }
.pro-acc:last-child { border-bottom: 0; }
.pro-acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-5); cursor: pointer; font-size: var(--fs-15); font-weight: var(--fw-semibold); }
.pro-acc summary::-webkit-details-marker { display: none; }
.pro-acc summary .pro-i { color: var(--c-text-3); transition: transform var(--dur-2) var(--ease); }
.pro-acc[open] summary .pro-i { transform: rotate(180deg); }
.pro-acc summary:hover { background: rgba(28, 41, 69, .35); }
.pro-acc__body { padding: 0 var(--s-5) var(--s-5); color: var(--c-text-2); font-size: var(--fs-14); line-height: 1.6; display: grid; gap: var(--s-2); }
/* Étapes de l'inscription */
.pro-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); counter-reset: st; }
.pro-steps li { display: grid; gap: var(--s-2); font-size: var(--fs-12); color: var(--c-text-3); font-weight: var(--fw-medium); min-width: 0; }
.pro-steps li::before { content: ""; height: 4px; border-radius: var(--r-full); background: var(--c-line-2); }
.pro-steps li.is-current { color: var(--c-text); }
.pro-steps li.is-current::before { background: var(--c-primary-hi); }
.pro-steps li.is-done { color: var(--c-text-2); }
.pro-steps li.is-done::before { background: var(--c-success); }
.pro-steps__n { font-variant-numeric: tabular-nums; color: var(--c-text-3); margin-right: 4px; }
/* 11/11/2026 : page Notices et telechargements */
.pro-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.pro-guide { display: flex; flex-direction: column; gap: var(--s-4); }
.pro-guide__head { display: flex; align-items: center; gap: var(--s-3); min-width: 0; }
.pro-guide__visual { width: 56px; height: 56px; flex: none; border-radius: var(--r-lg); background: #fff; padding: 4px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .1); }
.pro-guide__visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pro-guide__name { font-size: var(--fs-18); font-weight: var(--fw-bold); letter-spacing: -.01em; color: var(--c-text); margin: 0; }
.pro-guide__steps { margin: 0; padding: 0; list-style: none; counter-reset: gd; display: grid; gap: var(--s-3); }
.pro-guide__steps li { counter-increment: gd; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); align-items: start; font-size: var(--fs-14); color: var(--c-text-2); line-height: 1.5; }
.pro-guide__steps li::before { content: counter(gd); width: 24px; height: 24px; border-radius: var(--r-full); background: var(--c-surface-3); color: var(--c-text); font-size: var(--fs-12); font-weight: var(--fw-bold); display: grid; place-items: center; }
.pro-guide > .pro-btns { margin-top: auto; }
.pro-guide-aide { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.pro-guide-aide__txt { flex: 1 1 280px; min-width: 0; display: grid; gap: var(--s-1); }
@media (min-width: 1280px) { .pro-guides--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pro-guides, .pro-guides--3 { grid-template-columns: minmax(0, 1fr); } }
/* 11/11/2026 : bandeau explicatif (page Credits), pas une progression */
.pro-steps--info { margin: var(--s-2) 0 var(--s-4); }
.pro-steps--info li.is-current { color: var(--c-text-2); }
/* Frise (suivi de commande) */
.pro-timeline { display: grid; gap: 0; }
.pro-timeline li { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--s-3); padding-bottom: var(--s-4); }
.pro-timeline li:last-child { padding-bottom: 0; }
.pro-timeline li::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 2px; width: 2px; background: var(--c-line-2); border-radius: 2px; }
.pro-timeline li:last-child::before { display: none; }
.pro-timeline__dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface-3); border: 2px solid var(--c-line-2); color: var(--c-text-3); }
.pro-timeline__dot .pro-i { width: 11px; height: 11px; stroke-width: 3; }
.pro-timeline li.is-done .pro-timeline__dot { background: var(--c-success); border-color: var(--c-success); color: #062016; }
.pro-timeline li.is-current .pro-timeline__dot { border-color: var(--c-primary-hi); background: var(--c-primary-soft); }
.pro-timeline__txt { display: grid; gap: 1px; font-size: var(--fs-14); min-width: 0; }
.pro-timeline__txt small { color: var(--c-text-3); font-size: var(--fs-12); }

/* =========================================================== 13. ÉTATS VIDES, CHARGEMENT, ERREUR */
.pro-empty { display: grid; justify-items: center; gap: var(--s-2); text-align: center; padding: var(--s-10) var(--s-5); }
.pro-empty__ico { width: 52px; height: 52px; border-radius: var(--r-xl); display: grid; place-items: center; background: var(--c-surface-3); color: var(--c-text-2); margin-bottom: var(--s-2); }
.pro-empty__ico .pro-i { width: 24px; height: 24px; }
.pro-empty__title { font-size: var(--fs-16); font-weight: var(--fw-semibold); }
.pro-empty__txt { font-size: var(--fs-14); color: var(--c-text-2); max-width: 380px; }
.pro-empty .pro-btns { margin-top: var(--s-3); justify-content: center; }
.pro-skel { display: block; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--c-surface-2) 25%, var(--c-surface-3) 37%, var(--c-surface-2) 63%); background-size: 400% 100%; animation: pro-shimmer 1.4s ease infinite; min-height: 12px; }
.pro-skel--text { height: 12px; width: 70%; }
.pro-skel--title { height: 18px; width: 45%; }
.pro-skel--block { height: 88px; border-radius: var(--r-xl); }
.pro-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--c-line-2); border-top-color: var(--c-primary-hi); animation: pro-spin .8s linear infinite; flex: none; display: inline-block; }
.pro-spinner--lg { width: 40px; height: 40px; border-width: 3px; }
.pro-state { display: grid; justify-items: center; text-align: center; gap: var(--s-3); padding: var(--s-12) var(--s-5); max-width: 560px; margin: 0 auto; }
.pro-state__ico { width: 64px; height: 64px; border-radius: var(--r-2xl); display: grid; place-items: center; background: var(--c-surface-3); color: var(--c-text-2); }
.pro-state__ico .pro-i { width: 30px; height: 30px; }
.pro-state__ico--ok { background: var(--c-success-soft); color: var(--c-success); }
.pro-state__ico--warn { background: var(--c-warning-soft); color: var(--c-warning); }
.pro-state__ico--ko { background: var(--c-danger-soft); color: var(--c-danger); }
.pro-state__ico--info { background: var(--c-primary-soft); color: var(--c-link); }
.pro-state__code { font-size: var(--fs-13); font-weight: var(--fw-semibold); color: var(--c-text-3); letter-spacing: var(--tracking-caps); }
.pro-state__title { font-size: var(--fs-28); font-weight: var(--fw-bold); letter-spacing: var(--tracking-tight); line-height: 1.2; }
.pro-state__txt { font-size: var(--fs-15); color: var(--c-text-2); }
.pro-state .pro-btns { justify-content: center; margin-top: var(--s-2); }
.pro-state__card { width: 100%; text-align: left; }

/* =========================================================== 14. LICENCES ET CLÉS */
.pro-lic { display: grid; gap: var(--s-3); }
.pro-lic__head { display: flex; align-items: flex-start; gap: var(--s-3); min-width: 0; }
.pro-lic__titles { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pro-lic__name { font-size: var(--fs-15); font-weight: var(--fw-semibold); }
.pro-lic__meta { font-size: var(--fs-13); color: var(--c-text-2); }
.pro-keys { display: grid; gap: var(--s-2); }
.pro-key { display: flex; align-items: center; gap: var(--s-3); padding: 10px var(--s-3); border: 1px solid var(--c-line-2); border-radius: var(--r-lg); background: var(--c-field); min-width: 0; }
.pro-key__val { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: var(--fs-14); letter-spacing: .03em; color: var(--c-text); overflow-wrap: anywhere; }
.pro-key__val.is-masked { color: var(--c-text-2); }
.pro-key__postes { font-size: var(--fs-12); color: var(--c-text-3); white-space: nowrap; }
.pro-key__actions { display: flex; gap: 4px; flex: none; }
.pro-key.is-pending .pro-key__val { font-family: var(--font); color: var(--c-text-3); letter-spacing: 0; }
.pro-docs { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pro-copy { display: flex; align-items: center; gap: var(--s-2); padding: 6px 6px 6px var(--s-3); border: 1px solid var(--c-line-2); border-radius: var(--r-lg); background: var(--c-field); min-width: 0; }
.pro-copy__label { font-size: var(--fs-12); color: var(--c-text-3); white-space: nowrap; }
.pro-copy__val { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: var(--fs-14); overflow-wrap: anywhere; }
/* Packs de recharge */
.pro-packs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); }
.pro-pack { position: relative; display: grid; gap: 4px; align-content: start; padding: var(--s-4); border: 1px solid var(--c-field-line); border-radius: var(--r-xl); background: var(--c-field); cursor: pointer; min-width: 0; transition: border-color var(--dur-1), background var(--dur-1); }
.pro-pack input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pro-pack:hover { border-color: #6a7ca3; }
.pro-pack:has(input:checked) { border-color: var(--c-primary-hi); background: var(--c-primary-soft); }
.pro-pack:has(input:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.pro-pack__amount { font-size: var(--fs-20); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.02em; }
.pro-pack__bonus { justify-self: start; }
.pro-pack__get { font-size: var(--fs-12); color: var(--c-text-2); }
.pro-pack__get b { color: var(--c-text); font-weight: var(--fw-semibold); }
.pro-pack__flag { position: absolute; top: -9px; right: 10px; font-size: 10px; font-weight: var(--fw-heavy); letter-spacing: .06em; text-transform: uppercase; color: var(--brand-accent-ink); background: var(--brand-accent); border-radius: 5px; padding: 2px 6px; }
.pro-balance { display: grid; gap: var(--s-1); }
.pro-balance__value { font-size: var(--fs-40); font-weight: var(--fw-heavy); letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pro-balance__alt { font-size: var(--fs-13); color: var(--c-text-3); }

/* =========================================================== 15. PAIEMENT (reprend les composants esk-co-* du thème, en sombre) */
.pro-co { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s-6); align-items: start; }
.pro-co__main { display: grid; gap: var(--s-5); min-width: 0; }
.pro-co__side { position: sticky; top: calc(var(--topbar-h) + var(--s-5)); display: grid; gap: var(--s-4); min-width: 0; }
.pro-co-bloc { display: grid; gap: var(--s-4); }
.pro-co-bloc__title { font-size: var(--fs-18); font-weight: var(--fw-bold); display: flex; align-items: center; gap: var(--s-2); }
.pro-co-bloc__n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface-3); color: var(--c-text-2); font-size: var(--fs-12); font-weight: var(--fw-bold); flex: none; }
.pro-co-express { display: grid; gap: var(--s-3); }
.pro-co-express__title { text-align: center; font-size: var(--fs-13); color: var(--c-text-3); }
.pro-co-express__grid { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pro-co-express__grid > * { flex: 1 1 0; min-width: 140px; }
.pro-co-xbtn { height: 46px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--fs-15); font-weight: var(--fw-semibold); color: #fff; background: #000; border: 1px solid #3a3a3c; }
.pro-co-xbtn:hover { background: #111; }
.pro-co-xbtn img { height: 22px; width: auto; }
.pro-co-xbtn--bancontact { background: #004e91; border-color: #004e91; }
.pro-co-xbtn--bancontact:hover { background: #003d73; }
.pro-co-xbtn--bancontact img { background: #fff; border-radius: 4px; padding: 2px; height: 22px; }
.pro-co-ou { display: flex; align-items: center; gap: var(--s-3); color: var(--c-text-3); font-size: var(--fs-13); }
.pro-co-ou::before, .pro-co-ou::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.pro-co-acc { border: 1px solid var(--c-field-line); border-radius: var(--r-xl); overflow: hidden; background: var(--c-surface); }
.pro-co-meth + .pro-co-meth { border-top: 1px solid var(--c-line); }
.pro-co-meth__head { display: flex; align-items: center; gap: var(--s-3); min-height: 56px; padding: var(--s-3) var(--s-4); cursor: pointer; user-select: none; border: 1px solid transparent; }
.pro-co-meth__head:focus-visible { outline: 2px solid var(--c-focus); outline-offset: -2px; border-radius: 0; }
.pro-co-meth.is-open > .pro-co-meth__head { background: var(--c-primary-soft); border-color: var(--c-primary-hi); }
.pro-co-meth:first-child.is-open > .pro-co-meth__head { border-radius: var(--r-xl) var(--r-xl) 0 0; }
.pro-co-meth.is-disabled > .pro-co-meth__head { cursor: not-allowed; }
.pro-co-meth.is-disabled .pro-co-meth__name { color: var(--c-text-3); }
.pro-co-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--c-field-line); background: var(--c-field); flex: none; transition: border-width var(--dur-1), border-color var(--dur-1); }
.pro-co-meth.is-open .pro-co-radio { border: 6px solid var(--c-primary-hi); background: #fff; }
.pro-co-meth__name { flex: 1; min-width: 0; display: grid; gap: 1px; font-size: var(--fs-15); font-weight: var(--fw-semibold); line-height: 1.3; }
.pro-co-meth__name small { font-size: var(--fs-12); font-weight: var(--fw-regular); color: var(--c-text-3); }
.pro-co-meth__aside { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: var(--fs-13); color: var(--c-text-2); }
.pro-co-logos { display: inline-flex; gap: 5px; }
.pro-co-logos img, .pro-co-meth__logo { height: 22px; width: auto; border-radius: 4px; background: #fff; padding: 2px 3px; border: 1px solid rgba(255, 255, 255, .1); }
.pro-co-meth__body { display: none; padding: var(--s-4); background: var(--c-surface-2); border-top: 1px solid var(--c-line); }
.pro-co-meth.is-open > .pro-co-meth__body { display: grid; gap: var(--s-3); }
.pro-co-meth__body p { font-size: var(--fs-14); color: var(--c-text-2); }
/* Points de montage des champs carte Mollie (#card-number, #card-expiry, #card-cvv, #card-holder) */
.pro-co-mc { position: relative; height: 46px; padding: 13px 40px 13px 12px; border-radius: var(--r-md); background: var(--c-field); border: 1px solid var(--c-field-line); color: var(--c-placeholder); font-size: var(--fs-15); line-height: 20px; transition: border-color var(--dur-1), box-shadow var(--dur-1); overflow: hidden; white-space: nowrap; }
.pro-co-mc:focus-within { border-color: var(--c-focus); box-shadow: 0 0 0 3px rgba(96, 165, 250, .25); }
.pro-co-mc .pro-i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--c-text-3); width: 16px; height: 16px; }
.pro-co-mc-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.pro-co-3ds { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: var(--fs-12); color: var(--c-text-3); }
.pro-co-3ds .pro-i { width: 14px; height: 14px; color: var(--c-success); }
.pro-co-credit { display: grid; gap: var(--s-2); }
.pro-co-credit__bal { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-14); }
.pro-co-credit__bal b { font-size: var(--fs-18); font-variant-numeric: tabular-nums; }
.pro-co-currency { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-3) var(--s-4); border: 1px solid var(--c-line); border-radius: var(--r-xl); background: var(--c-surface); }
.pro-co-currency__txt { flex: 1; min-width: 180px; font-size: var(--fs-13); color: var(--c-text-2); display: grid; gap: 2px; }
.pro-co-currency__txt b { color: var(--c-text); font-size: var(--fs-14); }
/* Récapitulatif (colonne droite) */
.pro-co-summary { display: grid; gap: var(--s-4); }
.pro-co-sumlines { display: grid; gap: var(--s-3); }
.pro-co-sumline { display: flex; align-items: center; gap: var(--s-3); min-width: 0; }
.pro-co-thumb { position: relative; flex: none; }
.pro-co-thumb .pro-product__visual { width: 40px; height: 40px; border-radius: var(--r-md); }
.pro-co-thumb .pro-product__visual .pro-i { width: 18px; height: 18px; }
.pro-co-qty { position: absolute; top: -7px; right: -9px; min-width: 22px; height: 20px; padding: 0 5px; border-radius: var(--r-full); background: var(--c-text); color: var(--c-bg); font-size: var(--fs-11); font-weight: var(--fw-bold); display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.pro-co-sumline__txt { flex: 1; min-width: 0; font-size: var(--fs-13); font-weight: var(--fw-semibold); line-height: 1.3; }
.pro-co-sumline__txt small { display: block; font-weight: var(--fw-regular); color: var(--c-text-3); font-size: var(--fs-12); }
.pro-co-sumline__price { font-size: var(--fs-13); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pro-co-paybox { display: grid; gap: var(--s-3); }
.pro-co-payer { display: flex; width: 100%; height: 52px; align-items: center; justify-content: center; gap: var(--s-2); border: 0; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--c-primary-2), var(--c-primary)); color: #fff; font-size: var(--fs-16); font-weight: var(--fw-bold); box-shadow: 0 6px 18px -4px rgba(37, 99, 235, .5); position: relative; white-space: nowrap; padding: 0 var(--s-4); transition: transform var(--dur-1), box-shadow var(--dur-2); }
.pro-co-payer:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -6px rgba(37, 99, 235, .6); }
.pro-co-payer:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.pro-co-payer.is-loading { color: transparent; }
.pro-co-payer.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: pro-spin .7s linear infinite; }
.pro-co-accepte { font-size: var(--fs-12); color: var(--c-text-3); text-align: center; line-height: 1.5; }
.pro-co-confiance { display: grid; gap: var(--s-2); padding: var(--s-4); border: 1px solid var(--c-line); border-radius: var(--r-xl); background: rgba(13, 20, 36, .5); }
.pro-co-confiance li { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-13); color: var(--c-text-2); line-height: 1.35; }
.pro-co-confiance__ic { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-link); }
.pro-co-confiance__ic .pro-i { width: 14px; height: 14px; }
/* Superposition pendant le paiement */
.pro-co-overlay { position: fixed; inset: 0; z-index: var(--z-overlay); display: grid; place-items: center; padding: var(--s-4); background: var(--c-overlay); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.pro-co-overlay__box { width: min(400px, 100%); background: var(--c-surface-2); border: 1px solid var(--c-line-2); border-radius: var(--r-2xl); padding: var(--s-8) var(--s-6); text-align: center; display: grid; gap: var(--s-3); justify-items: center; box-shadow: var(--sh-3); }
.pro-co-overlay__box h2 { font-size: var(--fs-18); }
.pro-co-overlay__box p { font-size: var(--fs-14); color: var(--c-text-2); }
/* Téléphone : barre de paiement fixe (voir le bloc responsive) */
.pro-co-bar { display: none; }
.pro-co-mc__ph { pointer-events: none; }
.pro-co-mc.is-mounted .pro-co-mc__ph { display: none; }
.pro-co-xbtn--light { background: #fff; border-color: #fff; color: #111827; }
.pro-co-xbtn--light:hover { background: #f1f5f9; }

/* =========================================================== 16. LANDING (/pro/) */
.pro-lp { background: var(--c-bg); }
.pro-lp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.pro-lp-head { position: sticky; top: 0; z-index: var(--z-topbar); border-bottom: 1px solid transparent; transition: background var(--dur-2), border-color var(--dur-2); }
.pro-lp-head.is-scrolled, .pro-lp-head:focus-within { background: rgba(10, 15, 28, .86); border-bottom-color: var(--c-line); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); }
.pro-lp-head__in { display: flex; align-items: center; gap: var(--s-4); height: 64px; }
.pro-lp-nav { display: flex; gap: var(--s-1); margin-left: var(--s-4); }
.pro-lp-nav a { color: var(--c-text-2); font-size: var(--fs-14); font-weight: var(--fw-medium); padding: 8px 10px; border-radius: var(--r-sm); white-space: nowrap; }
.pro-lp-nav a:hover { color: var(--c-text); background: var(--c-surface-3); text-decoration: none; }
.pro-lp-head__end { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.pro-lp-head__menu { display: none; }
.pro-lp-sheet { display: grid; gap: var(--s-1); padding: var(--s-2) 0 var(--s-4); }
.pro-lp-sheet a:not(.pro-btn) { display: block; padding: 12px var(--s-2); color: var(--c-text); font-weight: var(--fw-medium); border-bottom: 1px solid var(--c-line); }
.pro-lp-sheet .pro-btns { margin-top: var(--s-3); }
.pro-lp-sheet .pro-btns .pro-btn { flex: 1; }
/* Héros */
.pro-lp-hero { position: relative; overflow: hidden; padding: var(--s-16) 0 var(--s-20); isolation: isolate; }
.pro-lp-hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 760px; z-index: -1; background: radial-gradient(560px 360px at 22% 30%, var(--brand-glow-1), transparent 70%), radial-gradient(520px 320px at 82% 18%, var(--brand-glow-2), transparent 70%); }
.pro-lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%); }
.pro-lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-12); align-items: center; }
.pro-lp-hero__txt { display: grid; gap: var(--s-5); justify-items: start; }
.pro-lp-pill { display: inline-flex; align-items: center; gap: var(--s-2); height: 30px; padding: 0 12px 0 6px; border-radius: var(--r-full); border: 1px solid var(--c-line-2); background: rgba(17, 26, 45, .7); font-size: var(--fs-13); color: var(--c-text-2); max-width: 100%; }
.pro-lp-pill b { height: 20px; display: inline-flex; align-items: center; padding: 0 7px; border-radius: var(--r-full); font-size: 10.5px; font-weight: var(--fw-heavy); letter-spacing: .06em; color: var(--brand-accent-ink); background: var(--brand-accent); flex: none; }
.pro-lp-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-lp-h1 { font-size: var(--fs-46); font-weight: var(--fw-heavy); letter-spacing: -.035em; line-height: 1.06; }
.pro-lp-h1 em { font-style: normal; background: linear-gradient(90deg, #93c5fd, #60a5fa 45%, var(--brand-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pro-lp-lead { font-size: var(--fs-18); color: var(--c-text-2); line-height: 1.55; max-width: 560px; }
.pro-lp-checks { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-14); color: var(--c-text-2); }
.pro-lp-checks li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pro-lp-checks .pro-i { width: 16px; height: 16px; color: var(--c-success); }
/* Aperçu de l'interface dans le héros */
.pro-lp-preview { position: relative; border: 1px solid var(--c-line-2); border-radius: var(--r-2xl); background: linear-gradient(180deg, rgba(22, 33, 58, .92), rgba(17, 26, 45, .92)); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset; padding: var(--s-5); display: grid; gap: var(--s-4); }
.pro-lp-preview__bar { display: flex; gap: 6px; }
.pro-lp-preview__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--c-line-2); }
.pro-lp-preview__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-width: 0; }
.pro-lp-preview__qty { display: grid; gap: var(--s-2); }
.pro-lp-preview__qty input[type="range"] { width: 100%; accent-color: var(--brand-accent); }
.pro-lp-preview__big { font-size: var(--fs-32); font-weight: var(--fw-heavy); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pro-lp-preview .pro-tierbar { background: var(--c-field); }
/* Sections */
.pro-lp-sec { padding: var(--s-20) 0; border-top: 1px solid rgba(34, 48, 77, .6); }
.pro-lp-sec--alt { background: linear-gradient(180deg, var(--c-bg-2), var(--c-bg)); }
.pro-lp-sec__head { display: grid; gap: var(--s-3); max-width: 720px; margin-bottom: var(--s-10); }
.pro-lp-sec__head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.pro-lp-h2 { font-size: var(--fs-32); font-weight: var(--fw-heavy); letter-spacing: -.03em; line-height: 1.12; }
.pro-lp-sub { font-size: var(--fs-16); color: var(--c-text-2); }
.pro-lp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.pro-lp-card { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6); border: 1px solid var(--c-line); border-radius: var(--r-2xl); background: var(--c-surface); min-width: 0; }
.pro-lp-card__ico { width: 44px; height: 44px; border-radius: var(--r-lg); display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-link); }
.pro-lp-card__ico .pro-i { width: 22px; height: 22px; }
.pro-lp-card h3 { font-size: var(--fs-16); }
.pro-lp-card p { font-size: var(--fs-14); color: var(--c-text-2); }
.pro-lp-card ul { display: grid; gap: 6px; font-size: var(--fs-13); color: var(--c-text-2); }
.pro-lp-card ul li { display: flex; gap: 8px; align-items: flex-start; }
.pro-lp-card ul .pro-i { width: 15px; height: 15px; color: var(--c-success); margin-top: 2px; }
.pro-lp-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-8); }
.pro-lp-feat { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-1) var(--s-4); align-items: start; }
.pro-lp-feat .pro-lp-card__ico { width: 40px; height: 40px; grid-row: span 2; }
.pro-lp-feat h3 { font-size: var(--fs-15); }
.pro-lp-feat p { font-size: var(--fs-14); color: var(--c-text-2); }
/* Paliers */
.pro-lp-tiers { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.pro-lp-tiertable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-14); }
.pro-lp-tiertable th, .pro-lp-tiertable td { padding: 14px var(--s-4); border-bottom: 1px solid var(--c-line); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pro-lp-tiertable th:first-child, .pro-lp-tiertable td:first-child { text-align: left; }
.pro-lp-tiertable thead th { font-size: var(--fs-12); color: var(--c-text-2); font-weight: var(--fw-semibold); }
.pro-lp-tiertable tbody tr:last-child td { border-bottom: 0; }
.pro-lp-tiertable td b { font-weight: var(--fw-semibold); }
.pro-lp-tiertable .pro-tier { vertical-align: middle; margin-left: 6px; }
.pro-lp-example { display: grid; gap: var(--s-4); }
.pro-lp-example__total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--c-line); }
.pro-lp-example__total b { font-size: var(--fs-24); font-weight: var(--fw-heavy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pro-lp-note { font-size: var(--fs-12); color: var(--c-text-3); }
/* Catalogue aperçu */
.pro-lp-cat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.pro-lp-prod { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); border: 1px solid var(--c-line); border-radius: var(--r-2xl); background: var(--c-surface); min-width: 0; }
.pro-lp-prod__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pro-lp-prod__name { font-size: var(--fs-15); font-weight: var(--fw-semibold); }
.pro-lp-prod__from { font-size: var(--fs-13); color: var(--c-text-2); }
.pro-lp-prod__from b { color: var(--c-text); font-variant-numeric: tabular-nums; }
/* Étapes */
.pro-lp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); counter-reset: lp; }
.pro-lp-step { display: grid; gap: var(--s-2); align-content: start; padding: var(--s-6); border-radius: var(--r-2xl); border: 1px solid var(--c-line); background: var(--c-surface); counter-increment: lp; min-width: 0; }
.pro-lp-step::before { content: counter(lp); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--c-primary-2), var(--c-primary)); color: #fff; font-weight: var(--fw-bold); font-size: var(--fs-14); margin-bottom: var(--s-2); }
.pro-lp-step h3 { font-size: var(--fs-16); }
.pro-lp-step p { font-size: var(--fs-14); color: var(--c-text-2); }
/* Paiement et facture */
.pro-lp-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.pro-lp-paylist { display: grid; gap: var(--s-3); }
.pro-lp-paylist li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px var(--s-3); align-items: start; }
.pro-lp-paylist .pro-lp-card__ico { width: 36px; height: 36px; grid-row: span 2; border-radius: var(--r-md); }
.pro-lp-paylist .pro-lp-card__ico .pro-i { width: 18px; height: 18px; }
.pro-lp-paylist b { font-size: var(--fs-14); }
.pro-lp-paylist span { font-size: var(--fs-13); color: var(--c-text-2); }
.pro-lp-bonus { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-2); }
.pro-lp-bonus li { display: grid; gap: 2px; justify-items: center; padding: var(--s-3) var(--s-2); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-field); text-align: center; min-width: 0; }
.pro-lp-bonus b { font-size: var(--fs-14); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pro-lp-bonus span { font-size: var(--fs-12); color: var(--brand-accent); font-weight: var(--fw-semibold); white-space: nowrap; }
/* Mandat administratif */
.pro-lp-mandat { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; padding: var(--s-8); border: 1px solid var(--c-line-2); border-radius: var(--r-2xl); background: radial-gradient(600px 240px at 0 0, rgba(59, 130, 246, .14), transparent 70%), var(--c-surface); }
.pro-lp-mandat ol { display: grid; gap: var(--s-3); counter-reset: md; }
.pro-lp-mandat ol li { counter-increment: md; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--s-3); font-size: var(--fs-14); color: var(--c-text-2); }
.pro-lp-mandat ol li::before { content: counter(md); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface-3); color: var(--c-text); font-size: var(--fs-13); font-weight: var(--fw-bold); }
.pro-lp-mandat ol b { color: var(--c-text); display: block; }
/* Appel final */
.pro-lp-cta { position: relative; overflow: hidden; display: grid; justify-items: center; text-align: center; gap: var(--s-4); padding: var(--s-14) var(--s-6); border-radius: 28px; border: 1px solid var(--c-line-2); background: radial-gradient(520px 260px at 50% 0, var(--brand-glow-1), transparent 75%), var(--c-surface); }
.pro-lp-cta .pro-lp-h2 { max-width: 640px; }
.pro-lp-foot { border-top: 1px solid var(--c-line); background: var(--c-bg-2); padding: var(--s-10) 0 var(--s-8); font-size: var(--fs-13); color: var(--c-text-3); }
.pro-lp-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
.pro-lp-foot h3 { font-size: var(--fs-13); color: var(--c-text); margin-bottom: var(--s-3); }
.pro-lp-foot ul { display: grid; gap: var(--s-2); }
.pro-lp-foot a { color: var(--c-text-2); }
.pro-lp-foot__legal { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--c-line); display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }

/* =========================================================== 17. IMPRESSION (pro forma, facture HTML) */
.pro-paper { width: 100%; max-width: 820px; margin: 0 auto; background: #fff; color: #111827; border-radius: var(--r-lg); padding: 48px 52px; font-size: 13px; line-height: 1.5; box-shadow: var(--sh-3); }
.pro-paper * { color: inherit; }
.pro-paper h1 { font-size: 22px; letter-spacing: -.01em; color: #111827; }
.pro-paper__head { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.pro-paper__brand { font-size: 18px; font-weight: 800; color: #1e40af; }
.pro-paper__muted { color: #4b5563; }
.pro-paper__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.pro-paper__box { border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px 14px; }
.pro-paper__box h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; margin-bottom: 6px; }
.pro-paper table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.pro-paper th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; border-bottom: 2px solid #e5e7eb; padding: 8px 6px; }
.pro-paper td { border-bottom: 1px solid #f1f5f9; padding: 8px 6px; }
.pro-paper .is-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pro-paper__totals { margin-left: auto; width: 300px; display: grid; gap: 4px; }
.pro-paper__totals div { display: flex; justify-content: space-between; }
.pro-paper__totals .is-total { font-weight: 800; font-size: 15px; border-top: 2px solid #111827; padding-top: 6px; margin-top: 4px; }
.pro-paper__mention { margin-top: 20px; font-size: 11.5px; color: #4b5563; border-top: 1px solid #e5e7eb; padding-top: 12px; display: grid; gap: 4px; }
.pro-paper__stamp { display: inline-block; border: 2px solid #b45309; color: #b45309; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; font-size: 12px; transform: rotate(-3deg); }
.pro-printbar { display: flex; justify-content: center; gap: var(--s-2); padding: var(--s-4); }
@media print {
  html.pro, .pro body, body.pro-body { background: #fff !important; }
  .pro-printbar, .pro-toasts, .pro-skip { display: none !important; }
  .pro-paper { box-shadow: none; border-radius: 0; padding: 0; max-width: none; }
  @page { size: A4; margin: 16mm 14mm; }
}

/* =========================================================== 18. UTILITAIRES */
.pro-only-mobile { display: none !important; }
.pro-mt-0 { margin-top: 0; }
.pro-center { text-align: center; }
.pro-end { justify-self: end; }
.pro-full { width: 100%; }
.pro-divider { height: 1px; background: var(--c-line); border: 0; margin: 0; }


/* =========================================================== 19. COMPLÉMENTS v2 (gabarits alignés sur le CONTRAT) */
.pro-qr { width: 168px; height: 168px; flex: none; padding: 10px; border-radius: var(--r-lg); background: #fff; display: grid; place-items: center; }
.pro-qr svg { width: 100%; height: 100%; }
.pro-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.pro-codes .pro-copy { justify-content: center; padding: 8px var(--s-3); font-size: var(--fs-14); }
.pro-quote-line { display: grid; grid-template-columns: minmax(0, 1fr) 120px 40px; gap: var(--s-2); align-items: center; }
.pro-quote-line .pro-iconbtn[hidden] { display: inline-grid !important; visibility: hidden; }
.pro-product.is-devis .pro-product__price { opacity: .85; }
.pro-product.is-devis .pro-product__buy .pro-btn { flex: 1; }
.pro-lp-prod__price { font-size: var(--fs-13); font-weight: var(--fw-semibold); color: var(--c-text); margin-top: 4px; }
.pro-lp-prod__from { font-size: var(--fs-13); color: var(--c-text-2); }
.pro-lp-prod { align-items: flex-start; }
.pro-lp-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }
.pro-lp-trust li { display: inline-flex; align-items: center; gap: var(--s-2); padding: 10px var(--s-4); border: 1px solid var(--c-line); border-radius: var(--r-full); background: var(--c-surface); font-size: var(--fs-14); color: var(--c-text-2); }
.pro-lp-trust .pro-i { color: var(--brand-accent); width: 16px; height: 16px; }
.pro-lp-faq { max-width: 860px; }
.pro-lp-example h3 { font-size: var(--fs-18); }
.pro-acct .pro-badge { height: 20px; font-size: 11px; padding: 0 6px; }
/* Pro forma : tableaux (compatibles Html2Pdf) */
.pro-paper table { width: 100%; border-collapse: collapse; }
.pro-paper__grid td { vertical-align: top; padding: 0; }
.pro-paper__grid { margin-bottom: 22px; }
.pro-paper__parties td { width: 50%; }
.pro-paper__parties td + td { padding-left: 16px; }
.pro-paper__box { border: 1px solid #e5e7eb !important; border-radius: 8px; padding: 12px 14px !important; }
.pro-paper__lines { margin: 8px 0 16px; }
.pro-paper__lines th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; border-bottom: 2px solid #e5e7eb; padding: 8px 6px; }
.pro-paper__lines td { border-bottom: 1px solid #f1f5f9; padding: 8px 6px; }
.pro-paper__lines .is-num, .pro-paper__grid .is-num { text-align: right; }
.pro-paper__totals { width: 320px !important; margin-left: auto; }
.pro-paper__totals td { padding: 3px 0; }
.pro-paper__totals .is-num { text-align: right; white-space: nowrap; }
.pro-paper__totals .is-total td { font-weight: 800; font-size: 15px; border-top: 2px solid #111827; padding-top: 6px; }
.pro-paper__stamp { margin: 6px 0 8px; }
body.pro-print-page { background: var(--c-bg); padding: var(--s-4) var(--gutter) var(--s-12); }
@media (max-width: 640px) {
  .pro-codes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pro-quote-line { grid-template-columns: minmax(0, 1fr) 96px 40px; }
  .pro-lp-trust li { width: 100%; border-radius: var(--r-xl); }
  .pro-paper__grid td { display: block; width: 100% !important; padding: 0 0 12px !important; }
  .pro-paper__grid .is-num { text-align: left; }
  .pro-paper__totals { width: 100% !important; }
}

/* =========================================================== ANIMATIONS */
@keyframes pro-spin { to { transform: rotate(360deg); } }
@keyframes pro-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@keyframes pro-pop { from { opacity: 0; transform: translateY(6px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes pro-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pro-slide-l { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes pro-slide-r { from { transform: translateX(-24px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .pro *, .pro *::before, .pro *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* =========================================================== RESPONSIVE */
@media (max-width: 1279px) {
  .pro-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-products.is-list .pro-product { grid-template-columns: minmax(0, 1fr) 150px 240px; }
  .pro-packs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pro-co { grid-template-columns: minmax(0, 1fr) 340px; }
  .pro-grid--main-side { grid-template-columns: minmax(0, 1fr) 320px; }
  .pro-lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-lp-h1 { font-size: var(--fs-40); }
}
@media (min-width: 1280px) {
  .pro-products.is-list .pro-product { grid-template-columns: minmax(0, 1fr) 190px 270px; }
}
@media (max-width: 1023px) {
  .pro-app { grid-template-columns: minmax(0, 1fr); }
  .pro-sidebar { position: fixed; inset: 0 auto 0 0; z-index: var(--z-sidebar); width: min(300px, 86vw); height: 100%; transform: translateX(-100%); transition: transform var(--dur-3) var(--ease); box-shadow: var(--sh-3); visibility: hidden; }
  .pro-sidebar.is-open { transform: none; visibility: visible; }
  .pro-sidebar .pro-sidebar__close { display: inline-grid; }
  .pro-scrim { position: fixed; inset: 0; z-index: calc(var(--z-sidebar) - 1); background: var(--c-overlay); }
  .pro-topbar .pro-topbar__menu { display: inline-grid; margin-left: -8px; }
  .pro-topbar .pro-topbar__brand { display: inline-flex; }
  .pro-topbar__search { display: none; }
  .pro-topbar__quick { display: none; }
  .pro-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-grid--main-side { grid-template-columns: minmax(0, 1fr); }
  .pro-co { grid-template-columns: minmax(0, 1fr); }
  .pro-co__side { position: static; }
  .pro-signup { grid-template-columns: minmax(0, 1fr); max-width: 600px; }
  .pro-signup__aside { display: none; }
  .pro-products.is-list .pro-product { grid-template-columns: minmax(0, 1fr) auto; }
  .pro-products.is-list .pro-product__price { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .pro-products.is-list .pro-product__buy { grid-column: 1 / -1; }
  .pro-lp-nav { display: none; }
  .pro-lp-head__menu { display: inline-grid; }
  .pro-lp-head__login { display: none; }
  .pro-lp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-10); }
  .pro-lp-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-lp-tiers, .pro-lp-mandat { grid-template-columns: minmax(0, 1fr); }
  .pro-lp-cat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-lp-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  /* Tableaux empilés en cartes : chaque cellule porte data-label */
  .pro-table--stack thead { display: none; }
  .pro-table--stack, .pro-table--stack tbody, .pro-table--stack tr, .pro-table--stack td { display: block; width: 100%; }
  .pro-table--stack tr { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--c-line); }
  .pro-table--stack tbody tr:last-child { border-bottom: 0; }
  .pro-table--stack td { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 4px 0; border: 0; text-align: right; min-width: 0; }
  .pro-table--stack td::before { content: attr(data-label); font-size: var(--fs-12); color: var(--c-text-3); text-align: left; flex: none; }
  .pro-table--stack td.is-primary { padding-bottom: var(--s-2); text-align: left; display: grid; justify-content: stretch; gap: 2px; }
  .pro-table--stack col { width: auto !important; }
  .pro-table--stack td.is-primary::before { display: none; }
  .pro-table--stack td.is-hide-sm { display: none; }
  .pro-table--stack td.is-num, .pro-table--stack td.is-end { text-align: right; }
  .pro-table--stack td > * { min-width: 0; }
  .pro-table--stack tbody tr:hover { background: none; }
  .pro-table-wrap:has(.pro-table--stack) { overflow: visible; }
}
@media (max-width: 640px) {
  .pro body, body.pro-body { font-size: var(--fs-15); }
  .pro-only-mobile { display: revert !important; }
  .pro-hide-mobile { display: none !important; }
  .pro-content { padding-top: var(--s-5); gap: var(--s-5); }
  .pro-h1 { font-size: var(--fs-22); }
  .pro-card { padding: var(--s-4); border-radius: var(--r-xl); }
  .pro-card__head--pad { padding: var(--s-3) var(--s-4); }
  .pro-card__body--pad { padding: var(--s-4); }
  .pro-table-wrap { border-radius: var(--r-xl); }
  .pro-table th:first-child { border-top-left-radius: var(--r-xl); }
  .pro-table th:last-child { border-top-right-radius: var(--r-xl); }
  .pro-input, .pro-select select, .pro-textarea, .pro-stepper input { font-size: var(--fs-16); }
  .pro-kpis { gap: var(--s-3); }
  .pro-kpi { padding: var(--s-3) var(--s-4); min-height: 100px; }
  .pro-kpi__value { font-size: var(--fs-20); }
  .pro-grid--2, .pro-grid--3, .pro-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .pro-form__row, .pro-form__row--3 { grid-template-columns: minmax(0, 1fr); }
  .pro-choices { grid-template-columns: minmax(0, 1fr); }
  .pro-products { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .pro-catbar__search, .pro-toolbar__search { max-width: none; flex-basis: 100%; }
  .pro-toolbar > .pro-select, .pro-toolbar > .pro-seg { flex: 1 1 auto; }
  .pro-page-head { align-items: flex-start; }
  .pro-page-head__actions { width: 100%; }
  .pro-page-head__actions > .pro-btn { flex: 1 1 0; min-width: 0; }
  .pro-auth__card { padding: var(--s-6) var(--s-5); border-radius: var(--r-xl); }
  .pro-auth__body { padding-top: var(--s-2); }
  .pro-modal__box { width: 100vw; max-height: 92vh; border-radius: var(--r-2xl) var(--r-2xl) 0 0; border-bottom: 0; }
  dialog.pro-modal { margin: auto 0 0; }
  dialog.pro-modal[open] .pro-modal__box { animation: pro-rise var(--dur-3) var(--ease); }
  .pro-modal__foot { flex-direction: column-reverse; }
  .pro-modal__foot > .pro-btn { width: 100%; }
  .pro-drawer__box { width: 100vw; border-left: 0; }
  .pro-toasts { right: 16px; left: 16px; bottom: 16px; width: auto; }
  .pro-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .pro-dl dd { margin-bottom: var(--s-2); }
  .pro-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-pack:last-child { grid-column: 1 / -1; }
  .pro-balance__value { font-size: var(--fs-32); }
  .pro-key { flex-wrap: wrap; row-gap: var(--s-2); }
  .pro-key__val { flex-basis: 100%; }
  .pro-key__postes { flex: 1; }
  .pro-tierbar { padding: var(--s-3) var(--s-4); }
  .pro-steps li { font-size: 11.5px; }
  /* Paiement sur téléphone : récapitulatif et bouton après le formulaire, barre fixe tant que le bouton n'est pas visible */
  .pro-co-bar.is-away { display: none; }
  .pro-co-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-3); position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom)); background: rgba(13, 20, 36, .96); border-top: 1px solid var(--c-line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .pro-co-bar__total { display: grid; gap: 0; min-width: 0; }
  .pro-co-bar__total small { font-size: var(--fs-12); color: var(--c-text-3); white-space: nowrap; }
  .pro-co-bar__total b { font-size: var(--fs-18); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .pro-co-bar .pro-co-payer { height: 48px; width: auto; min-width: 150px; font-size: var(--fs-15); }
  .pro-co-page { padding-bottom: 96px; }
  .pro-co-express__grid > * { min-width: 120px; }
  /* Landing sur téléphone */
  .pro-lp-hero { padding: var(--s-8) 0 var(--s-12); }
  .pro-lp-h1 { font-size: 30px; letter-spacing: -.03em; }
  .pro-lp-lead { font-size: var(--fs-16); }
  .pro-lp-hero__txt .pro-btns { width: 100%; }
  .pro-lp-hero__txt .pro-btns .pro-btn { flex: 1 1 100%; }
  .pro-lp-checks li { white-space: normal; }
  .pro-lp-sec { padding: var(--s-14) 0; }
  .pro-lp-sec__head { margin-bottom: var(--s-6); }
  .pro-lp-h2 { font-size: var(--fs-24); }
  .pro-lp-cards, .pro-lp-feats, .pro-lp-cat, .pro-lp-steps, .pro-lp-split { grid-template-columns: minmax(0, 1fr); }
  .pro-lp-card, .pro-lp-step { padding: var(--s-5); }
  .pro-lp-bonus { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pro-lp-mandat { padding: var(--s-5); gap: var(--s-6); }
  .pro-lp-cta { padding: var(--s-10) var(--s-5); border-radius: var(--r-2xl); }
  .pro-lp-tiertable th, .pro-lp-tiertable td { padding: 12px 10px; }
  .pro-lp-foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); }
  .pro-lp-foot__grid > :first-child { grid-column: 1 / -1; }
  .pro-lp-head__signup { display: none; }
  .pro-paper { padding: 24px 18px; }
  .pro-paper__head, .pro-paper__parties { grid-template-columns: minmax(0, 1fr); display: grid; }
  .pro-paper__totals { width: 100%; }
}
@media (max-width: 380px) {
  .pro-lp-h1 { font-size: 28px; }
  .pro-kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pro-kpi__value { font-size: var(--fs-18); }
  .pro-btn { padding: 0 var(--s-3); }
  .pro-product__buy .pro-btn .pro-btn__label-long { display: none; }
  .pro-lp-bonus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-lp-bonus li:last-child { grid-column: 1 / -1; }
}

/* =========================================================== 20. CORRECTIFS APRÈS CAPTURES (10/11) */
@media (max-width: 640px) {
  .pro-products.is-list .pro-product { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
  .pro-products.is-list .pro-product__price { grid-column: 1; grid-row: auto; justify-content: flex-start; }
}
/* Titre de carte posé directement dans la carte (sans en-tête) : même respiration qu'un pro-card__head */
.pro-card:not(.pro-form):not(.pro-stack) > .pro-card__title { margin-bottom: var(--s-4); }
.pro-form { align-content: start; }
/* Badge dans une liste de définitions ou une cellule étroite : le libellé peut passer à la ligne */
.pro-dl dd .pro-badge, .pro-badge--wrap { white-space: normal; height: auto; min-height: 22px; padding-top: 3px; padding-bottom: 3px; line-height: 1.3; text-align: left; }
.pro-dl dd .pro-badge::before { align-self: flex-start; margin-top: 4px; }
/* Les éléments positionnés (texte pour lecteurs d'écran) restent dans leur zone défilante */
.pro-table-wrap { position: relative; }
.pro-toolbar__search { flex: 1 1 260px; max-width: 380px; }
/* Tableau des commandes : largeurs fixes, la colonne Commande prend le reste (résumé tronqué) */
.pro-table--orders col:nth-child(2) { width: 104px; } .pro-table--orders col:nth-child(3) { width: 84px; }
.pro-table--orders col:nth-child(4) { width: 108px; } .pro-table--orders col:nth-child(5) { width: 112px; }
.pro-table--orders col:nth-child(6) { width: 176px; } .pro-table--orders col:nth-child(7) { width: 150px; } .pro-table--orders col:nth-child(8) { width: 92px; }
/* Pro forma : barre d'actions qui passe à la ligne, en-têtes de colonnes qui peuvent se couper */
.pro-printbar { flex-wrap: wrap; }
.pro-paper__lines th.is-num { white-space: normal; }
@media (max-width: 720px) {
  .pro-table--stack .pro-nowrap { white-space: normal; }
  .pro-table--stack .pro-table__sub { overflow-wrap: anywhere; }
}
/* Grilles à une colonne : piste bornée (minmax(0, 1fr)), un contenu large défile ou passe à la ligne au lieu d'élargir la page */
.pro-form, .pro-field, .pro-modal__body, .pro-drawer__body, .pro-drawer__foot, .pro-co__main, .pro-co__side, .pro-co-bloc, .pro-co-express,
.pro-lic, .pro-keys, .pro-acc__body, .pro-list, .pro-cartlines, .pro-sumrows, .pro-tierbar, .pro-balance, .pro-verified, .pro-signup__aside,
.pro-kpi, .pro-pack, .pro-page-head__txt, .pro-nav, .pro-sidebar__foot, .pro-timeline, .pro-auth__body { grid-template-columns: minmax(0, 1fr); }
.pro-co-meth__name small.pro-co-why { color: var(--c-warning); }
/* Récapitulatif et panier : le nom du produit passe à la ligne (2 lignes au plus) au lieu de chevaucher le prix */
.pro-co-sumline__txt > .pro-ellipsis { display: block; white-space: normal; overflow: visible; }
.pro-cartline > .pro-ellipsis { overflow: visible; white-space: normal; }
.pro-cartline__name.pro-ellipsis { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* En-tête de carte : le lien d'action passe sous le titre quand la place manque, le titre reste sur une ligne */
.pro-card__head { flex-wrap: wrap; row-gap: var(--s-2); }
.pro-co-bloc__title { white-space: nowrap; }
/* Packs de recharge : autant de colonnes que la place le permet (montants « 5 000,00 € » sur une ligne) */
.pro-packs { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.pro-pack__amount { font-size: var(--fs-18); }
@media (max-width: 400px) {
  .pro-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-pack__amount { font-size: var(--fs-16); }
  .pro-co-meth__aside .pro-i { display: none; }
  .pro-co-meth__head { gap: var(--s-2); }
}
/* Landing : liste des moyens (la règle « .pro-lp-card ul li » ne s'applique pas à elle), grille des paliers pleine largeur,
   titres et respirations plus compacts */
.pro-lp-card .pro-lp-paylist li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px var(--s-3); align-items: start; }
.pro-lp-card .pro-lp-paylist li > b, .pro-lp-card .pro-lp-paylist li > span:not(.pro-lp-card__ico) { grid-column: 2; }
.pro-lp-tiers { grid-template-columns: minmax(0, 1fr); }
.pro-lp-tiertable th, .pro-lp-tiertable td { padding: 12px var(--s-4); }
.pro-lp-h1 { font-size: 42px; }
.pro-lp-sec { padding: var(--s-16) 0; }
@media (max-width: 1279px) { .pro-lp-h1 { font-size: 38px; } }
@media (max-width: 640px) { .pro-lp-sec { padding: var(--s-12) 0; } .pro-lp-h1 { font-size: 30px; } }
@media (max-width: 380px) { .pro-lp-h1 { font-size: 28px; } }
/* Message avec bouton : sur téléphone le bouton passe sous le texte (aligné sur lui) au lieu de l'écraser */
@media (max-width: 640px) {
  .pro-alert { flex-wrap: wrap; }
  .pro-alert__body { flex: 1 1 200px; }
  .pro-alert > .pro-btn { margin-left: calc(18px + var(--s-3)); }
}
/* Listes de définitions : colonne des libellés bornée (une carte large ne repousse plus les valeurs au milieu) */
.pro-dl { grid-template-columns: minmax(110px, min(38%, 210px)) minmax(0, 1fr); }
/* En-tête de page sur téléphone : les boutons d'action occupent la ligne et passent à la ligne entiers, jamais rognés */
.pro-page-head__actions > .pro-btn { flex: 0 0 auto; }
@media (max-width: 640px) {
  .pro-page-head__actions { width: 100%; }
  .pro-page-head__actions > .pro-btn { flex: 1 1 auto; }
}
@media (max-width: 400px) {
  .pro-seg__opt span, .pro-seg > button { padding: 0 var(--s-2); }
}
/* Crédits : les cinq packs sur une ligne quand la carte est assez large, liste séparée de la liste de définitions */
@media (min-width: 1280px) {
  .pro-packs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-2); }
  .pro-packs .pro-pack { padding: var(--s-3); }
  .pro-packs .pro-pack__amount { font-size: var(--fs-16); }
}
.pro-dl + .pro-list { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--c-line); }
.pro-badge:has(> .pro-i)::before { display: none; }
/* Pastille d'icône dans une rangée : taille fixe, jamais écrasée ; badge dans une pile : à sa largeur */
.pro-row > .pro-state__ico { flex: none; width: 44px; height: 44px; border-radius: var(--r-lg); }
.pro-row > .pro-state__ico .pro-i { width: 22px; height: 22px; }
.pro-stack > .pro-badge, .pro-stack > .pro-chip, .pro-stack > .pro-tier { justify-self: start; }
/* Initiales sur fond toujours assez foncé (blanc à 5:1 au moins sur les deux marques) */
.pro-avatar { background: linear-gradient(135deg, var(--brand-tile-1), var(--c-primary)); }
/* Groupe de badges dans une cellule (statut + 2FA) : un seul bloc, aligné à droite en vue cartes */
.pro-badges { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
/* Légende d'un groupe de champs : même écart sous le libellé qu'un champ simple */
legend.pro-label { margin-bottom: 6px; }
/* Respirations entre blocs consécutifs d'une même carte */
.pro-dl + .pro-btns, .pro-dl + .pro-btns[hidden] + .pro-btns { margin-top: var(--s-4); }
.pro-list ~ .pro-alert, .pro-list ~ .pro-rules { margin-top: var(--s-4); }
.pro-verified > .pro-btn { justify-self: start; }
@media (max-width: 720px) {
  .pro-table--stack td.is-primary > * { justify-self: start; max-width: 100%; }
}
/* Pro forma : les blocs « parties » et « totaux » sont des tableaux (lisibles par Html2Pdf) ; ils gardent la mise en page de tableau */
table.pro-paper__parties, table.pro-paper__totals { display: table; gap: 0; }
@media (max-width: 640px) { table.pro-paper__parties { display: table; } }
.pro-paper table.pro-paper__totals { margin-left: auto; margin-right: 0; }

/* 18/11/2026 : écran final de la demande d'ouverture de compte, centré une fois le formulaire et la colonne masqués */
.pro-signup > [data-js="signup-done"] { grid-column: 1 / -1; width: 100%; max-width: 640px; justify-self: center; }
/* 18/11/2026 : un titre qui reçoit le focus par le script (changement d'étape, écran final) ne montre pas de cadre ; le focus sert au lecteur d'écran */
.pro :is(h1, h2, h3)[tabindex="-1"]:focus, .pro :is(h1, h2, h3)[tabindex="-1"]:focus-visible { outline: none; }

/* 18/11/2026 (L.) : produits recherchés du formulaire de demande, cases à cocher classées par famille */
.pro-products { border: 0; padding: 0; margin: 0; min-width: 0; }
.pro-products .pro-hint { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pro-products__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); margin-top: var(--s-3); padding: var(--s-4); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); }
.pro-products__group { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.pro-products__title { font-size: var(--fs-12); font-weight: var(--fw-semibold); letter-spacing: .05em; text-transform: uppercase; color: var(--c-text-3); }
.pro-products .pro-check span { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .pro-products__cols { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* 19/11/2026 (L.) : carte bancaire enregistree (panier, credits, profil) et message d'accueil du tableau de bord */
.pro-ce-choix { display: grid; gap: var(--s-2); }
.pro-ce-opt { display: flex; align-items: center; gap: var(--s-3); min-height: 56px; padding: var(--s-3) var(--s-4); border: 1px solid var(--c-field-line); border-radius: var(--r-lg); background: var(--c-surface); cursor: pointer; transition: border-color var(--dur-1), background-color var(--dur-1); }
.pro-ce-opt:has(input:checked) { border-color: var(--c-primary-hi); background: var(--c-primary-soft); }
.pro-ce-opt:has(input:disabled) { cursor: not-allowed; opacity: .6; }
.pro-ce-opt input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border-radius: 50%; border: 1.5px solid var(--c-field-line); background: var(--c-field); transition: border-width var(--dur-1), border-color var(--dur-1); cursor: inherit; }
.pro-ce-opt input:checked { border: 6px solid var(--c-primary-hi); background: #fff; }
.pro-ce-opt input:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.pro-ce-opt__ico { flex: none; width: 36px; height: 36px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--c-surface-3); color: var(--c-text-2); }
.pro-ce-opt__ico .pro-i { width: 18px; height: 18px; }
.pro-ce-opt__txt { flex: 1; min-width: 0; display: grid; gap: 1px; line-height: 1.3; }
.pro-ce-opt__txt b { font-size: var(--fs-15); font-weight: var(--fw-semibold); color: var(--c-text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pro-ce-opt__txt small { font-size: var(--fs-12); color: var(--c-text-3); }
.pro-ce-opt .pro-badge { flex: none; }
.pro-ce-saisie { display: grid; gap: var(--s-3); }
.pro-ce-garder > span { display: grid; gap: 2px; }
.pro-ce-garder small { font-size: var(--fs-12); color: var(--c-text-3); line-height: 1.45; }
.pro-ce-fiche { display: grid; gap: var(--s-3); }
.pro-ce-fiche__nom { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-16); font-variant-numeric: tabular-nums; }
.pro-ce-fiche__nom b { font-weight: var(--fw-semibold); }
.pro-empty--accueil { padding: var(--s-8) var(--s-5) var(--s-10); border-top: 1px solid var(--c-line); }
@media (max-width: 520px) {
  .pro-ce-opt { flex-wrap: wrap; row-gap: 6px; }
  .pro-ce-opt .pro-badge { margin-left: calc(18px + 36px + 2 * var(--s-3)); }
}
