/*
 * Espace Pro : ajustements de l'INTEGRATION (10/11/2026), charges apres pro.css (genere depuis le FRONT) et marques.css.
 * Seulement ce que les captures des pages REELLES (textes des 11 langues, donnees du serveur) ont montre.
 */

/* Landing, appel final : la colonne de la grille ne s'elargit plus sur un libelle long (allemand « Mein
   Geschaftskundenkonto eroffnen » a 360 px) ; sur petit ecran, bouton en 14 px sans fleche, et retour a la ligne
   seulement en dernier recours (jamais un texte coupe). */
.pro-lp-cta { grid-template-columns: minmax(0, 1fr); }
.pro-lp-cta > * { max-width: 100%; min-width: 0; }
@media (max-width: 420px) {
  .pro-lp-cta .pro-btns { width: 100%; justify-content: center; }
  .pro-lp-cta .pro-btn--lg { max-width: 100%; font-size: var(--fs-14); padding-left: 12px; padding-right: 12px; white-space: normal; height: auto;
    min-height: var(--h-btn-lg); line-height: 1.25; text-align: center; }
  .pro-lp-cta .pro-btn--lg .pro-i { display: none; }
}

/* Cles d'un pack Windows + Office : nom du logiciel en legende au-dessus de la cle (ligne entiere, toutes largeurs). */
.pro-key { flex-wrap: wrap; row-gap: 2px; } /* sans effet sur une cle sans legende : la valeur (flex 1, base 0) se reduit avant tout retour */
.pro-key__logiciel { order: -1; flex: 0 0 100%; font-size: var(--fs-12); font-weight: 600; color: var(--c-text-2); line-height: 1.3; }
.pro-key__logiciel[hidden] { display: none; }
/* Date et heure du retrait (premier affichage de la cle), sur une ligne a part sous la cle. */
.pro-key__date { order: 10; flex: 0 0 100%; font-size: var(--fs-12); color: var(--c-text-3); line-height: 1.35; }
.pro-key__date[hidden] { display: none; }

/* Visuels des produits (L. 10/11) : image de la fiche de la boutique sur une tuile claire, proportions gardees ; le
   pictogramme du FRONT reste le repli (classe has-img posee par pro.js seulement quand l'image existe et se charge). */
.pro-product__visual.has-img { background: #fff; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .1); padding: 3px; overflow: hidden; }
.pro-product__visual.has-img > .pro-i { display: none; }
.pro-product__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pro-product .pro-product__top > .pro-product__visual.has-img { width: 64px; height: 64px; padding: 4px; border-radius: var(--r-lg); }
.pro-products.is-list .pro-product__top > .pro-product__visual.has-img { width: 40px; height: 40px; padding: 2px; }
.pro-lic__head > .pro-product__visual.has-img, .pro-lic-group__head > .pro-product__visual.has-img { width: 56px; height: 56px; }

/* Tableau de bord : visuel du premier produit de chaque commande recente, vignettes du panier en cours. */
.pro-dash-vis { float: left; width: 36px; height: 36px; margin: 1px 10px 0 0; border-radius: var(--r-md); }
.pro-dash-vis .pro-i { width: 16px; height: 16px; }
.pro-dash-thumbs { display: flex; flex-wrap: wrap; gap: 14px 14px; list-style: none; margin: 14px 0 4px; padding: 6px 8px 0 0; }
.pro-dash-thumbs[hidden] { display: none; }

/* Office 2024 : mention « cle unique » sous la ligne du panier, pastille du minimum sur la carte du catalogue. */
.pro-cartline__mention { white-space: normal; font-size: var(--fs-12); color: var(--c-text-3); line-height: 1.35; margin-top: 2px; }
.pro-cartline__mention[hidden] { display: none; }
.pro-product__min { white-space: nowrap; }

/* Fenetre d'avertissement avant d'afficher une cle (regle de L.) : carte opaque bien contrastee, sans fondu (jamais
   transparente, meme pendant l'ouverture), bordure or de la marque, case a cocher dans un cadre net, deux boutons. */
dialog.pro-key-warn[open] .pro-modal__box { animation: none; }
.pro-key-warn .pro-modal__box { background: var(--c-surface-2); border: 1px solid var(--c-line-2); border-top: 3px solid var(--brand-accent, #fbbf24); }
.pro-key-warn__head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pro-key-warn__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(251, 191, 36, .14); color: var(--brand-accent, #fbbf24); }
.pro-key-warn__ico .pro-i { width: 20px; height: 20px; }
.pro-key-warn__txt { color: var(--c-text); font-size: var(--fs-14); line-height: 1.55; }
.pro-key-warn__check { padding: 12px 14px; border: 1px solid var(--c-line-2); border-radius: var(--r-lg); background: var(--c-field); color: var(--c-text); }
.pro-key-warn__check:has(input:checked) { border-color: var(--c-primary); }
.pro-key-warn .pro-modal__foot { background: transparent; }
.pro-key-warn .pro-btn--primary:disabled { opacity: .5; cursor: not-allowed; }

/* 18/11/2026 (L.) : fenetre de retrait, deuxieme case obligatoire en petit (renonciation au droit de retractation) ;
   mention de la renonciation sous la cle, a cote de la date du retrait */
.pro-key-warn__check + .pro-key-warn__check { margin-top: 0; } /* l'ecart du corps de la fenetre suffit : memes ecarts entre le texte et les deux cases */
.pro-key-warn__check--legal { font-size: var(--fs-12); line-height: 1.5; color: var(--c-text-2); background: transparent; }
.pro-key__renonce { order: 11; flex: 0 0 100%; font-size: var(--fs-12); color: var(--c-text-3); line-height: 1.35; }
.pro-key__renonce[hidden] { display: none; }
.pro-key__actions [data-js="key-page"][hidden] { display: none; }

/* 18/11/2026 (L.) : la cle n'est attribuee qu'au retrait. Dans chaque produit : une rangee par cle deja demandee (en cours,
   retiree) puis UNE rangee « n cles a retirer » avec son bouton. */
.pro-lic-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.pro-lic-actions [hidden] { display: none; }
.pro-lic-info { margin: 0 0 var(--s-4); }
.pro-lic-info[hidden] { display: none; }
.pro-lic__retraits { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--c-line-2); color: var(--c-text-2); }
.pro-lic__retraits[hidden] { display: none; }
.pro-key__val[hidden], .pro-key__reste[hidden] { display: none; }
.pro-key__reste { flex: 1; min-width: 0; font-size: var(--fs-14); font-weight: 600; color: var(--c-text); }
.pro-key[data-etat="a_retirer"] { background: transparent; border-style: dashed; }
.pro-key__etat { flex: none; font-size: var(--fs-12); line-height: 1.3; white-space: nowrap; padding: 3px 9px; border: 1px solid currentColor; border-radius: 999px; color: var(--brand-accent, #fbbf24); }
.pro-key__etat[hidden] { display: none; }
.pro-key__etat.is-long { order: 12; flex: 0 0 100%; white-space: normal; padding: 0; border: 0; border-radius: 0; color: var(--c-text-2); }
.pro-key__actions .pro-key__take[hidden], .pro-key__actions .pro-iconbtn[hidden] { display: none; }
.pro-key__take { white-space: nowrap; }
@media (max-width: 640px) {
  .pro-lic-actions { justify-content: flex-start; width: 100%; }
  .pro-lic-actions > .pro-btn { flex: 1 1 auto; justify-content: center; }
  .pro-lic__retraits { display: block; margin-left: 0; padding-left: 0; border-left: 0; }
  /* rangee « n cles a retirer » : le nombre sur sa ligne, le bouton sur toute la largeur en dessous */
  .pro-key[data-etat="a_retirer"] .pro-key__reste { flex: 0 0 100%; }
  .pro-key[data-etat="a_retirer"] .pro-key__actions { flex: 1 1 100%; }
  .pro-key[data-etat="a_retirer"] .pro-key__take { flex: 1 1 auto; justify-content: center; }
}

/* 18/11/2026 (L.) : forfaits « Support Pro ». Trois offres cote a cote, celle du milieu mise en avant ; carte « Mon forfait » ;
   encart des autres pages ; page « Activateur » (identifiant, code en 8 cases A a H). */
.pro-plans__head { display: grid; gap: 4px; }
/* sous-grille : le nom, le prix, le quota, le prix par activation, la liste et le bouton des trois offres sont sur les memes
   lignes, meme quand une phrase passe sur deux lignes dans une langue (chaque ligne prend la hauteur de la plus haute) */
.pro-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s-4); row-gap: 0; align-items: stretch; }
.pro-plan { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: var(--s-3); align-content: start; padding: var(--s-5); min-width: 0; }
.pro-plan.is-reco { border-color: var(--c-primary-hi); background: radial-gradient(420px 220px at 50% 0, rgba(59, 130, 246, .16), transparent 70%), var(--c-surface); }
.pro-plan.is-current { border-color: var(--c-success-line, #1f8a5b); }
.pro-plan__flag { position: absolute; top: -10px; left: var(--s-5); font-size: 11px; font-weight: var(--fw-heavy); letter-spacing: .06em; text-transform: uppercase; color: var(--brand-accent-ink); background: var(--brand-accent); border-radius: 6px; padding: 3px 9px; line-height: 1.3; }
.pro-plan__flag[hidden] { display: none; }
.pro-plan__flag.is-mine { color: #052e1c; background: var(--c-success, #34d399); }
.pro-sp-periode { white-space: nowrap; }
.pro-table a.pro-sp-pdf { display: inline-flex; align-items: center; gap: 6px; }
.pro-table a.pro-sp-pdf .pro-i { width: 15px; height: 15px; flex: none; }
.pro-ac-solde .pro-balance__value { margin-top: -4px; }
.pro-ac-solde__lignes { display: grid; margin: 0; padding: 0; list-style: none; font-size: var(--fs-14); }
.pro-ac-solde__lignes li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); padding: 9px 0; border-top: 1px solid var(--c-line); color: var(--c-text-2); }
.pro-ac-solde__lignes li:last-child { border-bottom: 1px solid var(--c-line); }
.pro-ac-solde__lignes b { color: var(--c-text); font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pro-ac-solde__actions { display: grid; gap: var(--s-2); }
.pro-ac-solde__actions .pro-btn { width: 100%; justify-content: center; }
.pro-ac-solde__actions .pro-btn[hidden] { display: none; }
.pro-plan__name { font-size: var(--fs-18); font-weight: var(--fw-bold); letter-spacing: -.01em; }
.pro-plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; color: var(--c-text-2); font-size: var(--fs-13); }
.pro-plan__price b { font-size: 34px; line-height: 1.05; font-weight: var(--fw-heavy); letter-spacing: -.03em; color: var(--c-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pro-plan__quota { display: flex; align-items: center; gap: 8px; font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--c-text); }
.pro-plan__quota .pro-i { width: 16px; height: 16px; color: var(--brand-accent, #fbbf24); flex: none; }
.pro-plan__par { margin-top: -6px; padding-left: 24px; font-size: var(--fs-12); color: var(--c-text-3); }
.pro-plan__list { display: grid; gap: 8px; margin: 0; padding: var(--s-3) 0 0; list-style: none; border-top: 1px solid var(--c-line); font-size: var(--fs-13); color: var(--c-text-2); flex: 1; align-content: start; }
.pro-plan__list li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.pro-plan__list .pro-i { width: 15px; height: 15px; margin-top: 2px; color: var(--c-success, #34d399); flex: none; }
.pro-plan__cta { width: 100%; justify-content: center; margin-top: var(--s-2); }
.pro-plan__cta:disabled { opacity: .6; cursor: default; }
.pro-plans__notes { display: flex; flex-wrap: wrap; gap: 8px var(--s-5); margin: 0; padding: 0; list-style: none; font-size: var(--fs-12); color: var(--c-text-3); }
.pro-plans__notes li { display: flex; align-items: center; gap: 6px; }
.pro-plans__notes .pro-i { width: 14px; height: 14px; flex: none; }
.pro-plan-recap { margin: 0; }
.pro-plan-mine { display: grid; gap: var(--s-4); }
.pro-plan-mine .pro-card__head { margin-bottom: 0; }
.pro-plan-mine__top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.pro-plan-mine__name { font-size: var(--fs-24); font-weight: var(--fw-heavy); letter-spacing: -.02em; line-height: 1.15; }
.pro-plan-mine__price { color: var(--c-text-2); font-size: var(--fs-13); white-space: nowrap; }
.pro-plan-mine__price b { color: var(--c-text); font-size: var(--fs-18); font-variant-numeric: tabular-nums; }
.pro-plan-mine .pro-alert .pro-btn { flex: none; align-self: center; }
.pro-plan-mine__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.pro-plan-mine__kpi { display: grid; gap: 6px; align-content: start; padding: var(--s-4); border: 1px solid var(--c-line-2); border-radius: var(--r-lg); background: var(--c-field); min-width: 0; }
.pro-plan-mine__kpi .pro-kpi__value { font-size: var(--fs-20); white-space: normal; }
.pro-plan-mine__sur { color: var(--c-text-3); font-weight: var(--fw-medium); font-size: var(--fs-14); }
.pro-plan-mine__mail { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px dashed var(--c-line-2); border-radius: var(--r-lg); min-width: 0; }
.pro-plan-mine__mailico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary-hi); }
.pro-plan-mine__mailico .pro-i { width: 18px; height: 18px; }
.pro-plan-mine__mailtxt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pro-plan-mine__mailadr { font-size: var(--fs-15); font-weight: var(--fw-semibold); overflow-wrap: anywhere; }
.pro-plan-mine__foot { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.pro-plan-mine__foot [hidden] { display: none; }
.pro-sp-promo { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); background: radial-gradient(360px 160px at 0 0, rgba(59, 130, 246, .14), transparent 70%), var(--c-surface); }
.pro-sp-promo[hidden] { display: none; }
.pro-sp-promo__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary-hi); }
.pro-sp-promo__ico .pro-i { width: 20px; height: 20px; }
.pro-sp-promo__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pro-sp-promo__titre { font-size: var(--fs-15); font-weight: var(--fw-semibold); }
.pro-sp-promo .pro-btn { flex: none; }
.pro-co__side .pro-sp-promo, .pro-sp-promo--etroit { flex-wrap: wrap; }
.pro-co__side .pro-sp-promo .pro-btn, .pro-sp-promo--etroit .pro-btn { width: 100%; justify-content: center; }
.pro-co__side .pro-sp-promo .pro-sp-promo__txt, .pro-sp-promo--etroit .pro-sp-promo__txt { flex-basis: 0; min-width: 160px; }
.pro-ac-id { min-height: 96px; font-size: var(--fs-15); letter-spacing: .04em; line-height: 1.7; resize: vertical; }
.pro-ac-idfoot { display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.pro-ac-compte { font-variant-numeric: tabular-nums; }
.pro-ac-compte.is-ok { color: var(--c-success, #34d399); }
.pro-ac-resultat { display: grid; gap: var(--s-3); margin-top: var(--s-4); padding: var(--s-4); border: 1px solid var(--c-success-line, #1f8a5b); border-radius: var(--r-xl); background: var(--c-success-soft, rgba(52, 211, 153, .08)); }
.pro-ac-resultat[hidden] { display: none; }
.pro-ac-resultat__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.pro-ac-resultat__titre { display: flex; align-items: center; gap: 8px; font-weight: var(--fw-semibold); font-size: var(--fs-15); }
.pro-ac-resultat__titre .pro-i { width: 18px; height: 18px; color: var(--c-success, #34d399); }
.pro-ac-code { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
.pro-ac-case { display: grid; gap: 2px; justify-items: center; padding: 10px 6px; border: 1px solid var(--c-line-2); border-radius: var(--r-lg); background: var(--c-surface); min-width: 0; }
.pro-ac-case__lettre { font-size: 11px; font-weight: var(--fw-heavy); letter-spacing: .08em; color: var(--c-text-3); }
.pro-ac-case__val { font-size: var(--fs-18); font-weight: var(--fw-semibold); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.pro-ac-aide { margin-top: var(--s-4); border-top: 1px solid var(--c-line); padding-top: var(--s-3); }
.pro-ac-aide summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: var(--fs-13); font-weight: var(--fw-medium); color: var(--c-text-2); list-style: none; }
.pro-ac-aide summary::-webkit-details-marker { display: none; }
.pro-ac-aide summary .pro-i { width: 16px; height: 16px; }
.pro-ac-aide__corps { padding-top: var(--s-3); }
.pro-ac-aide__corps[hidden] { display: none; }
.pro-ac-etapes { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: var(--fs-13); color: var(--c-text-2); line-height: 1.5; }
.pro-table-foot a.is-disabled { opacity: .45; pointer-events: none; }
@media (max-width: 900px) {
  .pro-plans { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-4); }
  .pro-plan { display: flex; flex-direction: column; gap: var(--s-3); grid-row: auto; }
  .pro-plan-mine__kpis { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pro-sp-promo { flex-wrap: wrap; }
  .pro-sp-promo .pro-btn { width: 100%; justify-content: center; }
  .pro-plan-mine__mail { flex-wrap: wrap; }
  .pro-plan-mine__foot .pro-btn--primary { width: 100%; justify-content: center; }
  .pro-plan-mine .pro-alert { flex-wrap: wrap; }
  .pro-plan-mine .pro-alert .pro-btn { width: 100%; justify-content: center; }
  .pro-ac-code { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-ac-resultat__head .pro-btn { width: 100%; justify-content: center; }
}


/* 19/11/2026 (L.) : plusieurs cles retirees d'un coup (selecteur de quantite dans la rangee « n cles a retirer »), note libre
   sous une cle retiree (texte, puis « Ajouter une note » ou « Modifier la note » ; le champ s'ouvre dans la rangee). */
.pro-key__qte[hidden] { display: none; }
.pro-key__note { order: 13; flex: 0 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; font-size: var(--fs-12); line-height: 1.4; color: var(--c-text-2); }
.pro-key__note[hidden] { display: none; }
.pro-key__note-txt { min-width: 0; overflow-wrap: anywhere; color: var(--c-text); }
.pro-key__note-txt:empty { display: none; }
.pro-key__note-btn { display: inline-flex; align-items: center; gap: 5px; padding: 2px 0; font-size: var(--fs-12); color: var(--c-text-2); text-decoration: underline; text-underline-offset: 2px; }
.pro-key__note-btn:hover, .pro-key__note-btn:focus-visible { color: var(--c-text); }
.pro-key__note-btn .pro-i { width: 14px; height: 14px; }
.pro-key__note-mod, .pro-key__note.has-note .pro-key__note-add { display: none; }
.pro-key__note.has-note .pro-key__note-mod { display: inline; }
.pro-key__note.is-editing .pro-key__note-txt, .pro-key__note.is-editing .pro-key__note-btn { display: none; }
.pro-key__note-form { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; gap: 8px; }
.pro-key__note-input { flex: 1 1 220px; min-width: 0; height: var(--h-btn-sm); font-size: var(--fs-14); }
@media (max-width: 640px) {
  .pro-key[data-etat="a_retirer"] .pro-key__qte { flex: none; }
  .pro-key__note-form > .pro-btn { flex: 1 1 auto; justify-content: center; }
}
