/* Corrections d'affichage propres au nouveau site (chargées après les CSS d'origine sur toutes les pages).
   Ajouté par mirror/build-pages.js. */

/* Cartes de prix de l'onglet SIV (Royal Addons "Pricing Table", modèle Elementor 6028) --------- */
.elementor-6028 .elementor-widget-wpr-pricing-table .wpr-pricing-table { position: relative; }
/* ruban "La plus vendue" (offre PREMIUM) */
.elementor-6028 .ck-ribbon {
  position: absolute; top: -6px; right: -6px; width: 104px; height: 104px;
  overflow: hidden; pointer-events: none; z-index: 2;
}
.elementor-6028 .ck-ribbon span {
  position: absolute; top: 24px; right: -34px; width: 150px; transform: rotate(45deg);
  background: linear-gradient(180deg, #e3262d 0%, #b3141b 100%); color: #fff;
  font-family: Poppins, sans-serif; font-size: 12px; font-weight: 700; line-height: 1; text-align: center;
  padding: 7px 0; box-shadow: 0 3px 6px rgba(0, 0, 0, .25);
}
/* prix mis en avant (ENTREPRISE, cartes grises et WW) */
.elementor-6028 .ck-hot .wpr-pricing-table-main-price { color: #c9423a !important; }
/* unité ("HT/DA-DC )") jamais coupée */
.elementor-6028 .ck-unit { white-space: nowrap; }
/* desktop : la rangée de 5 offres DA/DC occupe toute la largeur */
@media (min-width: 1025px) {
  .elementor-6028 .e-con-inner:has(> .e-con:nth-child(5) > .e-con-inner > .elementor-widget-wpr-pricing-table) > .e-con {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0;
    --padding-left: 6px; --padding-right: 6px;
    padding-left: 6px !important; padding-right: 6px !important;
  }
  .elementor-6028 .e-con-inner:has(> .e-con:nth-child(5) > .e-con-inner > .elementor-widget-wpr-pricing-table) .wpr-pricing-table-feature-text {
    font-size: 13.5px !important;
  }
}
/* "Durée de validité" : Elementor la règle à 0.7vmax (≈ 6 px sur mobile) */
.elementor-6028 .ck-validity { font-size: 11px; line-height: 1.4; color: #9a9a9a; }
/* bouton "Quelques infos >" : garde ses couleurs au survol (Elementor le passait en blanc),
   seule l'animation "shrink" reste */
html body .elementor-6028 .elementor-element.elementor-element-9a807e5 .elementor-button:is(:hover, :focus) {
  background-color: #34548C; color: #FFFFFF;
}

/* tablette et mobile : chaque groupe d'offres devient une rangée à faire défiler horizontalement,
   la carte suivante reste visible pour signaler les autres offres */
@media (max-width: 1024px) {
  .elementor-6028 .e-con-inner:has(> .e-con > .e-con-inner > .elementor-widget-wpr-pricing-table) {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px !important;
    padding: 8px 4px 18px !important;
    scrollbar-width: thin;
  }
  .elementor-6028 .e-con-inner:has(> .e-con > .e-con-inner > .elementor-widget-wpr-pricing-table) > .e-con {
    flex: 0 0 42% !important;
    width: 42% !important;
    max-width: none !important;
    scroll-snap-align: start;
    --padding-left: 0px; --padding-right: 0px;
    padding-left: 0 !important; padding-right: 0 !important;
    margin: 0 !important;
  }
}
@media (max-width: 767px) {
  .elementor-6028 .e-con-inner:has(> .e-con > .e-con-inner > .elementor-widget-wpr-pricing-table) > .e-con {
    flex: 0 0 78% !important;
    width: 78% !important;
  }
}

/* Tableaux de prix (Royal Addons "Data Table", page Tarifs) — sur tablette et mobile, Elementor règle
   les coches/croix à 100 % de la cellule (icônes géantes) et impose une largeur minimale de 600 px
   (colonnes hors écran sans indication de défilement). Les tableaux d'en-tête (offres, prix) et de
   fonctionnalités reçoivent les mêmes largeurs de colonnes pour rester alignés. */
@media (max-width: 1024px) {
  html body .wpr-data-table.wpr-data-table.wpr-data-table.wpr-data-table img.wpr-data-table-th-img,
  html body .wpr-data-table.wpr-data-table.wpr-data-table.wpr-data-table td img {
    width: 22px !important;
    height: auto !important;
    display: inline-block;
  }
  html body .wpr-table-container .wpr-data-table.wpr-data-table.wpr-data-table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: fixed;
  }
  /* colonne des fonctionnalités plus large, 3 colonnes d'offres égales */
  html body .wpr-table-container .wpr-data-table.wpr-data-table.wpr-data-table tr > *:first-child { width: 40%; }
  html body .wpr-table-container .wpr-data-table.wpr-data-table.wpr-data-table tr > *:not(:first-child) { width: 20%; }
  /* noms d'offres (GOLD, INFINITE, PLATINUM) : jamais coupés */
  html body .wpr-table-container .wpr-data-table.wpr-data-table.wpr-data-table th {
    font-size: 17px !important;
    white-space: nowrap;
    overflow-wrap: normal;
    hyphens: none;
  }
}
@media (max-width: 767px) {
  html body .wpr-table-container .wpr-data-table.wpr-data-table.wpr-data-table th,
  html body .wpr-table-container .wpr-data-table.wpr-data-table.wpr-data-table td {
    padding: 8px 4px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    overflow-wrap: break-word;
  }
  /* noms d'offres (GOLD, INFINITE, PLATINUM) : jamais coupés */
  html body .wpr-table-container .wpr-data-table.wpr-data-table.wpr-data-table th {
    font-size: 11px !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal;
    hyphens: none;
    white-space: nowrap;
  }
}

/* Correctifs SEO (mirror/patches-seo.js) : balises de titres corrigées, affichage inchangé ---------
   ck-h  ancien titre devenu paragraphe : garde l'interligne des titres (1.3em) ;
   ck-hm idem, avec la marge basse des titres (blocs image + titre de la page Facturation) ;
   ck-h4 h4 devenu h3 : garde l'interligne du h4 (1.2em) ;
   ck-p  paragraphe devenu titre : garde l'apparence du paragraphe. */
p.ck-h { line-height: 1.3em; }
.entry-content p.ck-hm { margin-bottom: 20px; }
.elementor-widget-heading .elementor-heading-title.ck-h4 { line-height: 1.2em; }
.elementor-widget-heading .elementor-heading-title.ck-p { line-height: 1; }
.elementor :is(h1, h2, h3, h4, h5, h6).ck-p:not(.elementor-heading-title) {
  font-family: inherit; font-size: inherit; font-weight: inherit; font-style: inherit; line-height: inherit;
  color: inherit; letter-spacing: inherit; text-transform: inherit; clear: none; margin: 0 0 1.6em;
}
/* source des chiffres marqués d'un astérisque (accueil, Facturation électronique, Pack diamant) */
.elementor .ck-footnote {
  flex-basis: 100%; width: 100%; margin: 12px 0 0; padding: 0 20px;
  font-size: 12px; line-height: 1.4; color: #7a7a7a; text-align: center;
}
/* FAQ ajoutée sur la page Facturation électronique : présentation de la FAQ de l'accueil */
.elementor .ck-faq {
  --display: flex; --flex-direction: column; --container-widget-width: 100%; --flex-wrap-mobile: wrap;
  --margin-top: 60px; --padding-top: 10px; --padding-bottom: 20px;
}
.elementor .ck-faq .elementor-widget-heading { margin-bottom: 30px; }
.elementor .ck-faq .blocQuestion-Reponse p { margin-bottom: 26px; }

/* Mobile : les titres animés (Royal Addons « Advanced Text ») passent à la ligne au lieu de sortir de
   l'écran, et rien ne crée de défilement horizontal (image décalée de My Secretary, galerie de Poids
   lourds). */
@media (max-width: 767px) {
  .wpr-anim-text, .wpr-anim-text-inner { max-width: 100%; }
  .wpr-anim-text-inner b { white-space: normal; }
  #page { overflow-x: clip; }
}

/* Bouton "retour en haut" (Astra) : le conteneur du widget "Me rappeler ?" (Ultimate Floating Widgets,
   45 × 45 px, z-index 999999) est posé dessus et prenait les clics. Seuls le bouton du widget et sa
   fenêtre restent cliquables. */
.ufw_wrap { pointer-events: none; }
.ufw_wrap > .ufw_btn_wrap, .ufw_wrap > .ufw_wb { pointer-events: auto; }

/* Captcha Cloudflare du widget "Me rappeler ?" : Turnstile a une largeur fixe de 300 px, la fenêtre n'en
   offre que 256 sur ordinateur (moins sur petit mobile) et il dépassait à droite. Quand il ne tient pas,
   il est réduit à l'échelle et centré ; la marge basse rattrape la hauteur gagnée (74 px à l'origine). */
.ufw_wb .cf-turnstile { container-type: inline-size; }
.ufw_wb .cf-turnstile > div {
  --ck-ts: 1;
  width: 300px; margin-left: calc((100% - 300px) / 2);
  transform: scale(var(--ck-ts)); transform-origin: 50% 0;
  margin-bottom: calc(-74px * (1 - var(--ck-ts)));
}
@container (max-width: 299px) { .ufw_wb .cf-turnstile > div { --ck-ts: .85; } }
@container (max-width: 254px) { .ufw_wb .cf-turnstile > div { --ck-ts: .8; } }
@container (max-width: 239px) { .ufw_wb .cf-turnstile > div { --ck-ts: .6; } }

/* Blocs de mise en valeur de Seven (mirror/patches-ck7.js) : retour sur investissement (Tarifs, Pack
   diamant), agents IA (accueil), niveaux eIDAS et gains de la signature électronique (Sign 7). Même
   typographie et mêmes boutons que les blocs Elementor voisins : Poppins, titres 28 px en capitales,
   texte gris 14/28 px, dégradé bleu de la marque (orange sur la page Sign 7). */
.ck7 {
  --ck7-a: #303F9F; --ck7-grad: linear-gradient(40deg, #303F9F 0%, #29B6F2BD 100%); --ck7-soft: #eef1fb;
  --ck7-shadow: rgba(48, 63, 159, .12);
  box-sizing: border-box; width: 100%; max-width: 1200px; margin: 100px auto 0; padding: 0 10px;
  display: flex; align-items: center; gap: 60px;
  font-family: Poppins, sans-serif; font-size: 14px; line-height: 28px; color: #7a7a7a;
  scroll-margin-top: 110px;
}
.ck7 *, .ck7 *::before, .ck7 *::after { box-sizing: border-box; }
.ck7-orange { --ck7-a: #E97F39; --ck7-grad: linear-gradient(40deg, #E97F39 0%, #F7A433 100%); --ck7-soft: #fdf2e9; --ck7-shadow: rgba(233, 127, 57, .14); }
.ck7-col { flex: 1 1 0; min-width: 0; }
.ck7 p { margin: 0 0 16px; }
.ck7-kicker { font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--ck7-a); }
.ck7 p.ck7-kicker { margin-bottom: 8px; }
.ck7 .ck7-title {
  margin: 0 0 20px; font-family: Poppins, sans-serif; font-size: 28px; font-weight: 600; line-height: 1.3;
  text-transform: uppercase; color: #000;
}
.ck7 .ck7-title span { color: var(--ck7-a); }
/* page Sign 7 : trait sous les titres, comme « Valeur juridique et légale » */
.ck7-orange .ck7-title::after { content: ""; display: block; width: 87px; margin-top: 22px; border-top: 2px solid #000; }
.ck7-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ck7 .ck7-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 15px 20px; border-radius: 30px;
  background-image: var(--ck7-grad); color: #fff; font-size: 15px; font-weight: 500; line-height: 1;
  text-decoration: none; transition: transform .3s;
}
.ck7 .ck7-btn:is(:hover, :focus-visible) { color: #fff; transform: scale(.9); }
.ck7 .ck7-btn-wa { background-image: linear-gradient(40deg, #03AC00 0%, #5CDA3DBD 100%); }
.ck7-orange .ck7-btn-wa, .ck7-orange .ck7-btn-wa:is(:hover, :focus-visible) { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #000; }
.ck7-checks { list-style: none; margin: 0; padding: 0; }
.ck7-checks li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; line-height: 1.6; color: #54595f; }
.ck7-checks svg { flex: none; margin-top: 2px; color: var(--ck7-a); }
.ck7-checks strong { color: #000; font-weight: 600; }
.ck7-anchor { display: inline-block; margin-top: 10px; font-weight: 600; color: #303F9F; }
.ck7-anchor:hover { color: #29B6F2; }

/* calculateurs */
.ck7-card {
  padding: 32px; border: 1px solid #e8ebf3; border-radius: 20px; background: #fff;
  box-shadow: 0 20px 50px var(--ck7-shadow);
}
.ck7-roi .ck7-card { flex-grow: 1.4; }
.ck7-fields { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 16px; }
.ck7-fields.ck7-fields-1 { grid-template-columns: minmax(0, 1fr); }
.ck7-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 500; line-height: 1.35; color: #54595f; }
.ck7-field > span { display: flex; align-items: flex-end; min-height: 2.7em; }
.ck7-fields-1 .ck7-field > span { min-height: 0; }
.ck7 .ck7-field :is(input, select), .ck7 .ck7-fixed {
  display: block; width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 1px solid #dfe3ee; border-radius: 10px;
  background-color: #f6f7fb; box-shadow: none; font: 600 16px/46px Poppins, sans-serif; color: #000;
}
.ck7 .ck7-fixed { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck7 .ck7-field select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; font-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23303F9F' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.ck7 .ck7-field :is(input, select):focus { border-color: var(--ck7-a); outline: 2px solid var(--ck7-soft); background-color: #fff; }
.ck7-result { margin-top: 24px; padding: 24px 28px; border-radius: 16px; background-image: var(--ck7-grad); color: #fff; }
.ck7 .ck7-result p { margin: 0; }
.ck7 .ck7-eq { font-size: 14px; line-height: 1.5; opacity: .92; }
.ck7 .ck7-big { margin-top: 6px; font-size: 17px; font-weight: 500; line-height: 1.3; }
.ck7-big strong { display: block; font-size: 44px; font-weight: 800; line-height: 1.15; }
.ck7 .ck7-sub { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .4); font-size: 14px; line-height: 1.5; }
.ck7-negative .ck7-result { background-image: linear-gradient(40deg, #54595f 0%, #9a9a9a 100%); }
.ck7 .ck7-note { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: #9a9a9a; }

/* agents IA (accueil) */
.ck7-feature .ck7-col:first-child p { text-align: justify; }
.ck7 p.ck7-badge {
  display: inline-block; margin-bottom: 14px; padding: 7px 14px; border-radius: 30px; background-image: var(--ck7-grad);
  font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: #fff;
}
.ck7-media { text-align: center; }
.ck7-media img { width: 100%; max-width: 520px; height: auto; }

/* organismes de financement (accueil, bloc « Dynamiser vos ventes avec des offres de financement ») */
.ck7-logos { margin: 6px 0 26px; font-family: Poppins, sans-serif; }
.ck7-logos .ck7-logos-title { margin: 0 0 10px; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: #303F9F; }
.ck7-logos ul { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ck7-logos li {
  display: flex; flex: 0 1 150px; min-width: 96px; height: 72px; margin: 0; padding: 8px 14px;
  flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid #e8ebf3; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(48, 63, 159, .08);
}
.ck7-logos img { display: block; width: auto; max-width: 100%; height: auto; object-fit: contain; }
.ck7-logos .ck7-lenbox img { max-height: 46px; }
.ck7-logos .ck7-cetelem img { max-height: 26px; }
.ck7-logos .ck7-meia img { max-height: 42px; margin-top: -4px; }
.ck7-logos li span { margin-top: -4px; font-size: 10px; line-height: 1; color: #9a9a9a; }

/* pied de page : mention RGPD sous le copyright (toutes les pages) */
.ast-footer-copyright p.ck7-rgpd { margin-top: 2px; font-size: 12px; line-height: 1.5; opacity: .85; }

/* niveaux eIDAS (Sign 7) */
.ck7.ck7-legal { display: block; }
.ck7-head { max-width: 760px; }
.ck7-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 34px 0 0; padding: 0; list-style: none; }
.ck7-level {
  position: relative; margin: 0; padding: 30px 24px 24px; overflow: hidden;
  border: 1px solid #efe6de; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}
/* barre du haut de plus en plus marquée : du niveau le plus simple au plus exigeant */
.ck7-level::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background-image: var(--ck7-grad); opacity: .35; }
.ck7-level:nth-child(2)::before { opacity: .65; }
.ck7-level:nth-child(3)::before { opacity: 1; }
.ck7-step {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ck7-soft); color: var(--ck7-a); font-weight: 700; line-height: 1;
}
.ck7 .ck7-level h3 { margin: 14px 0 8px; font-family: Poppins, sans-serif; font-size: 20px; font-weight: 600; line-height: 1.3; text-transform: uppercase; color: #000; }
.ck7 .ck7-level p { margin: 0; line-height: 1.7; }
.ck7-level.ck7-current { border-color: var(--ck7-a); box-shadow: 0 16px 40px var(--ck7-shadow); }
.ck7-tag {
  position: absolute; top: 30px; right: 20px; padding: 6px 10px; border-radius: 30px; background-image: var(--ck7-grad);
  font-size: 11px; font-weight: 600; line-height: 1; color: #fff;
}
.ck7-refs { margin-top: 24px; padding: 22px 26px; border-radius: 16px; background: var(--ck7-soft); }
.ck7 .ck7-refs-title { margin-bottom: 8px; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: #000; }
.ck7-refs ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ck7-refs li { position: relative; margin: 0; padding-left: 22px; line-height: 1.6; }
.ck7-refs li::before { content: "§"; position: absolute; left: 0; font-weight: 700; color: var(--ck7-a); }
.ck7-refs strong { font-weight: 600; color: #333; }

@media (max-width: 1024px) {
  .ck7 { flex-direction: column; align-items: stretch; gap: 36px; margin-top: 70px; padding: 0 20px; }
  .ck7-roi .ck7-card { flex-grow: 1; }
}
@media (max-width: 767px) {
  .ck7 .ck7-title { font-size: 22px; }
  .ck7-card { padding: 22px 18px; }
  .ck7-fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ck7-field > span { min-height: 0; }
  .ck7-result { padding: 20px; }
  .ck7-big strong { font-size: 34px; }
  .ck7-media img { max-width: 300px; }
  .ck7-logos .ck7-logos-title { text-align: center; }
  .ck7-logos ul { flex-wrap: nowrap; gap: 8px; }
  .ck7-logos li { flex: 1 1 0; min-width: 0; height: 60px; padding: 6px 8px; }
  .ck7-logos .ck7-lenbox img { max-height: 36px; }
  .ck7-logos .ck7-cetelem img { max-height: 20px; }
  .ck7-logos .ck7-meia img { max-height: 32px; }
  .ck7-levels { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ck7-refs { padding: 18px; }
}
