/* ---------- Feature page: benefit rows (zigzag) ---------- */
  .benefits{display:flex;flex-direction:column;gap:clamp(48px,7vw,88px);}
  .benefit-row{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,64px);align-items:center;}
  .benefit-row.rev{direction:rtl;}
  .benefit-row.rev > *{direction:ltr;}
  @media (max-width:860px){
    .benefit-row, .benefit-row.rev{direction:ltr;grid-template-columns:1fr;}
  }
  .benefit-text .icon-chip{margin-bottom:18px;}
  .benefit-text h3{font-size:1.35rem;font-weight:800;letter-spacing:-.01em;margin-bottom:14px;}
  body.elementor-kit-486 .benefit-text p{color:var(--muted);font-size:1rem;line-height:1.7;margin-bottom:12px;}
  .benefit-media img{width:100%;display:block;border-radius:var(--radius-lg);border:1px solid var(--line);box-shadow:var(--shadow);}
  .benefit-text ul{margin:0 0 12px;padding:0 0 0 20px;color:var(--muted);font-size:1rem;line-height:1.7;}
  .benefit-text ul li{margin-bottom:6px;font-size:1rem;}
  .benefit-text ul strong{color:var(--ink);}

  /* ---------- Author page ---------- */
  .author-hero{display:flex;align-items:center;gap:32px;flex-wrap:wrap;}
  .author-avatar{width:120px !important;height:120px !important;border-radius:50%;object-fit:cover;border:3px solid var(--paper-raised);box-shadow:var(--shadow);flex-shrink:0;}
  @media (max-width:600px){.author-hero{flex-direction:column;text-align:center;}}

  /* ---------- Integrations: partner grid ---------- */
  .partner-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
  @media (max-width:980px){.partner-grid{grid-template-columns:repeat(2,1fr);}}
  @media (max-width:560px){.partner-grid{grid-template-columns:1fr;}}
  .partner-card{
    background:var(--paper-raised);border:1px solid var(--line);border-radius:var(--radius-md);
    padding:22px;display:flex;flex-direction:column;gap:12px;
  }
  .partner-logo{height:38px;display:flex;align-items:center;}
  .partner-logo img{max-height:100%;max-width:150px;object-fit:contain;}
  .partner-card h3{font-size:.98rem;font-weight:700;}
  .partner-card p{color:var(--muted);font-size:.88rem;line-height:1.55;}
  /* Variante "client" du meme partner-grid (page Nos Clients) : logo + nom seuls,
     centres, sans description fictive -- reprend l'habillage carte de la page
     Integrations sans inventer un texte par client. */
  .client-card{align-items:center;text-align:center;}
  .client-card .partner-logo{justify-content:center;height:44px;}
  .client-card h3{font-size:.9rem;font-weight:600;color:var(--muted);}

  /* ---------- Base de connaissances : accueil (recherche + grille de sections) ---------- */
  .kb-search-form{display:flex;max-width:560px;margin:0 auto;border-radius:14px;overflow:hidden;box-shadow:var(--shadow);}
  .kb-search-form input{flex:1;padding:16px 20px;border:none;font-size:1rem;font-family:'Inter',sans-serif;outline:none;color:var(--ink);}
  .kb-search-form button{display:flex;align-items:center;justify-content:center;padding:0 22px;background:var(--teal);border:none;cursor:pointer;color:#fff;}
  .kb-search-form button svg{width:20px;height:20px;}
  .kb-search-form button:hover{background:var(--teal-deep);}
  .kb-section-card{text-decoration:none;color:inherit;transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;}
  .kb-section-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-sm);border-color:transparent;}

  /* ---------- Contact page ---------- */
  .contact-layout{display:grid;grid-template-columns:280px 1fr;gap:32px;align-items:start;}
  .contact-layout.single{grid-template-columns:1fr;max-width:440px;margin:0 auto;}
  @media (max-width:820px){.contact-layout{grid-template-columns:1fr;}}
  .contact-info{display:flex;flex-direction:column;gap:14px;}
  .contact-info-item{
    display:flex;gap:14px;align-items:center;
    background:var(--paper-raised);border:1px solid var(--line);border-radius:var(--radius-md);
    padding:16px 18px;
  }
  .contact-info-item .icon-chip{flex-shrink:0;}
  .contact-info-text{display:flex;flex-direction:column;gap:2px;}
  .contact-info-text .label{display:block;font-size:.74rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted-2);}
  .contact-info-text a, .contact-info-text span{color:var(--ink);font-size:.94rem;line-height:1.45;}
  .contact-info-text a{text-decoration:none;font-weight:600;}
  .contact-info-text a:hover{color:var(--blue);}
  .contact-form-card{
    background:var(--paper-raised);border:1px solid var(--line);border-radius:var(--radius-lg);
    padding:clamp(26px,4vw,44px);box-shadow:var(--shadow-sm);
  }
  .contact-form-card h3{font-family:'Plus Jakarta Sans','Inter',system-ui,sans-serif;font-size:1.25rem;font-weight:800;margin-bottom:8px;}
  .contact-form-card .frm_description{color:var(--muted);font-size:.94rem;line-height:1.5;margin-bottom:22px;}
  .contact-form-card .frm_form_field{margin-bottom:18px;}
  .contact-form-card label{display:block;font-weight:600;font-size:.86rem;margin-bottom:6px;color:var(--ink);}
  .contact-form-card input[type="text"], .contact-form-card input[type="email"], .contact-form-card input[type="tel"],
  .contact-form-card input[type="url"], .contact-form-card textarea, .contact-form-card select{
    width:100%;padding:11px 14px;border:1px solid var(--line);border-radius:10px;
    font-family:'Inter',sans-serif;font-size:.95rem;color:var(--ink);background:var(--paper);
    transition:border-color .15s ease;
  }
  .contact-form-card input:focus, .contact-form-card textarea:focus, .contact-form-card select:focus{
    outline:none;border-color:var(--blue);
  }
  .contact-form-card textarea{min-height:130px;resize:vertical;}
  .contact-form-card button[type="submit"], .contact-form-card input[type="submit"]{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:.98rem;
    padding:13px 28px;border-radius:12px;border:none;cursor:pointer;
    background:var(--teal);color:#fff;transition:background .15s ease,transform .15s ease;
  }
  .contact-form-card button[type="submit"]:hover, .contact-form-card input[type="submit"]:hover{
    background:var(--teal-deep);transform:translateY(-1px);
  }

  /* ---------- Pricing ---------- */
  .pricing-hero{padding:clamp(56px,8vw,96px) 0 8px;text-align:center;}
  .pricing-hero h1{font-size:clamp(2.1rem,3vw + 1rem,3rem);font-weight:800;letter-spacing:-.02em;}
  .pricing-hero p{margin-top:16px;color:var(--muted);font-size:1.1rem;max-width:640px;margin-left:auto;margin-right:auto;}
  .pricing-hero .note{margin-top:10px;font-size:.85rem;color:var(--muted-2);}

  .pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:stretch;}
  @media (max-width:1080px){.pricing-grid{grid-template-columns:repeat(2,1fr);}}
  @media (max-width:600px){.pricing-grid{grid-template-columns:1fr;}}
  .price-card{
    background:var(--paper-raised);border:1px solid var(--line);border-radius:var(--radius-lg);
    padding:26px 22px;display:flex;flex-direction:column;gap:16px;position:relative;
  }
  .price-card.popular{border-color:var(--blue);box-shadow:0 0 0 3px color-mix(in srgb, var(--blue) 14%, transparent);}
  .price-badge{
    position:absolute;top:-13px;left:22px;background:var(--blue);color:#fff;font-size:.72rem;font-weight:800;
    letter-spacing:.04em;text-transform:uppercase;padding:5px 12px;border-radius:999px;
  }
  .price-card h3{font-size:1.1rem;font-weight:800;}
  .price-card .plan-tagline{color:var(--muted);font-size:.85rem;line-height:1.5;min-height:2.6em;}
  .price-amount{display:flex;align-items:baseline;gap:4px;margin-top:4px;}
  .price-amount .cur{font-size:1.1rem;font-weight:700;color:var(--muted);}
  .price-amount .num{font-size:2.1rem;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.02em;}
  .price-card .price-detail{color:var(--muted);font-size:.82rem;line-height:1.5;}
  .price-card .price-strike{color:var(--muted-2);text-decoration:line-through;font-size:.95rem;margin-right:6px;}
  .price-feats{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;flex:1;}
  .price-feats li{display:flex;align-items:flex-start;gap:9px;font-size:.86rem;line-height:1.45;color:var(--ink);}
  .price-feats li svg{width:16px;height:16px;flex-shrink:0;margin-top:2px;color:var(--teal-ink);}
  .price-feats li.excl{color:var(--muted-2);}
  .price-feats li.excl svg{color:var(--muted-2);}
  .price-card .btn{margin-top:4px;justify-content:center;width:100%;}

  .pricing-why{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
  @media (max-width:820px){.pricing-why{grid-template-columns:1fr;}}
  .pricing-why h3{font-size:1.05rem;font-weight:800;margin-bottom:8px;}
  .pricing-why p{color:var(--muted);font-size:.92rem;line-height:1.6;}

  .pricing-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius-lg);}
  table.pricing-table{width:100%;border-collapse:collapse;min-width:760px;font-size:.88rem;}
  table.pricing-table th, table.pricing-table td{padding:13px 16px;text-align:center;border:none;border-bottom:1px solid var(--line);line-height:1.45;}
  table.pricing-table th:first-child, table.pricing-table td:first-child{text-align:left;color:var(--ink);font-weight:600;}
  table.pricing-table thead th{background:var(--paper);font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;color:var(--ink);}
  table.pricing-table tbody tr:last-child td{border-bottom:none;}
  table.pricing-table td svg{width:16px;height:16px;color:var(--teal-ink);}
  table.pricing-table td.dash{color:var(--muted-2);}

  /* ---------- Blog: article cards (home) ---------- */
  .blog-hero{padding:clamp(48px,7vw,80px) 0 8px;text-align:center;}
  .blog-hero h1{font-size:clamp(2.1rem,3vw + 1rem,3rem);font-weight:800;letter-spacing:-.02em;}
  .blog-hero p{margin-top:14px;color:var(--muted);font-size:1.08rem;max-width:600px;margin-left:auto;margin-right:auto;}
  .article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
  @media (max-width:980px){.article-grid{grid-template-columns:repeat(2,1fr);}}
  @media (max-width:640px){.article-grid{grid-template-columns:1fr;}}
  .article-grid.cols-4{grid-template-columns:repeat(4,1fr);}
  @media (max-width:1100px){.article-grid.cols-4{grid-template-columns:repeat(2,1fr);}}
  @media (max-width:640px){.article-grid.cols-4{grid-template-columns:1fr;}}
  .article-card{
    background:var(--paper-raised);border:1px solid var(--line);border-radius:var(--radius-md);
    overflow:hidden;display:flex;flex-direction:column;text-decoration:none;color:var(--ink);
    transition:transform .16s ease, box-shadow .16s ease;
  }
  .article-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-sm);}
  .article-card .thumb{aspect-ratio:16/10;background:var(--blue-tint);overflow:hidden;}
  .article-card .thumb img{width:100%;height:100%;object-fit:cover;display:block;}
  .article-card .body{padding:20px 20px 22px;display:flex;flex-direction:column;gap:10px;flex:1;}
  .article-card .meta{font-size:.76rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--blue);}
  .article-card h3{font-size:1.05rem;font-weight:700;line-height:1.35;}
  .article-card p{color:var(--muted);font-size:.88rem;line-height:1.55;flex:1;}
  .article-card .date{font-size:.78rem;color:var(--muted-2);}
  /* Pastilles de categories (home du blog) : rangee defilable horizontalement, memes
     codes visuels que les autres puces du site (pilule, bordure, hover bleu). */
  .cat-pills-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
  .cat-pills-wrap::-webkit-scrollbar{display:none;}
  .cat-pills{display:flex;gap:10px;width:max-content;padding-bottom:2px;}
  .cat-pill{
    display:inline-flex;align-items:center;white-space:nowrap;padding:9px 18px;border-radius:999px;
    border:1px solid var(--line);background:var(--paper-raised);color:var(--ink);
    font-size:.88rem;font-weight:600;text-decoration:none;
    transition:background .15s ease,border-color .15s ease,color .15s ease;
  }
  .cat-pill:hover{border-color:var(--blue);background:var(--blue-tint);color:var(--blue);}
  .cat-pill.is-active{border-color:var(--blue);background:var(--blue);color:#fff;}
  .pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:44px;}
  .pager a, .pager span{
    display:flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 8px;
    border-radius:9px;border:1px solid var(--line);font-size:.88rem;font-weight:600;text-decoration:none;color:var(--ink);
  }
  .pager a:hover{border-color:var(--blue);color:var(--blue);}
  .pager .current{background:var(--blue);border-color:var(--blue);color:#fff;}

  /* ---------- Blog: single article ---------- */
  .article-hero{padding:clamp(44px,6vw,72px) 0 0;}
  .article-hero .tag{
    display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
    color:var(--blue);background:var(--blue-tint);padding:6px 12px;border-radius:999px;margin-bottom:16px;
  }
  .article-hero h1{
    font-size:clamp(1.9rem,3vw + 1rem,2.7rem);font-weight:800;letter-spacing:-.02em;line-height:1.15;
    max-width:840px;
  }
  .article-hero .meta-row{display:flex;gap:16px;align-items:center;margin-top:18px;color:var(--muted);font-size:.9rem;}
  .article-hero .meta-row span{display:flex;align-items:center;gap:6px;}
  .article-hero .meta-row svg{width:15px;height:15px;}
  .article-cover{margin-top:32px;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);}
  .article-cover img{width:100%;display:block;}

  .article-body{max-width:740px;margin:0 auto;font-size:1.05rem;line-height:1.8;color:var(--ink);}
  .article-body h2{font-size:1.5rem;font-weight:800;letter-spacing:-.01em;margin-top:2.2em;margin-bottom:.7em;}
  .article-body h2:first-child{margin-top:0;}
  .article-body h3{font-size:1.2rem;font-weight:700;margin-top:1.8em;margin-bottom:.6em;}
  .article-body p{margin:0 0 1.2em;color:var(--ink);}
  .article-body strong{font-weight:700;}
  .article-body a{color:var(--blue);text-decoration:underline;text-decoration-color:color-mix(in srgb, var(--blue) 40%, transparent);text-underline-offset:2px;}
  .article-body a:hover{text-decoration-color:var(--blue);}
  .article-body ul, .article-body ol{margin:0 0 1.2em;padding-left:1.3em;color:var(--ink);}
  .article-body li{margin-bottom:.5em;line-height:1.7;}
  .article-body blockquote{
    margin:1.6em 0;padding:4px 0 4px 20px;border-left:3px solid var(--blue);color:var(--muted);font-style:italic;
  }
  .article-body figure{margin:1.8em 0;}
  .article-body figure img{width:100%;border-radius:var(--radius-md);border:1px solid var(--line);display:block;}
  .article-body figcaption{margin-top:8px;font-size:.85rem;color:var(--muted-2);text-align:center;}
  .article-body table{
    width:100%;border-collapse:separate;border-spacing:0;margin:1.8em 0;font-size:.92rem;
    border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;
  }
  .article-body table th, .article-body table td{padding:14px 18px;border:none;text-align:left;}
  .article-body table thead th{
    background:var(--blue-tint);color:var(--blue);font-family:'Plus Jakarta Sans',sans-serif;
    font-weight:700;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;
  }
  .article-body table tbody tr:nth-child(even){background:var(--paper);}
  .article-body table tbody tr:hover{background:var(--blue-tint);}
  .article-body table tbody tr{transition:background .12s ease;}
  .article-body figure.wp-block-table{overflow-x:auto;}

  /* Vieux contenu legal issu d'Elementor (Mentions Legales, CGV, Charte) : neutralise
     sections/colonnes/spacers decoratifs (fonds colores, min-height fige, --spacer-size)
     qui creaient de grands blocs vides ; le texte reel garde la typographie .article-body. */
  .legal-body .elementor-element{background:transparent !important;min-height:0 !important;--spacer-size:0 !important;}
  .legal-body .elementor-spacer, .legal-body .elementor-widget-spacer{display:none !important;}
  .legal-body .elementor-container{max-width:none !important;padding:0 !important;min-height:0 !important;}
  .legal-body .elementor-section{min-height:0 !important;}
  .legal-body .elementor-widget-wrap:not(:has(*)){display:none !important;}
  .legal-body .elementor-column:not(:has(> .elementor-widget-wrap > *)){display:none !important;}
  .legal-body .elementor-section:not(:has(.elementor-widget-wrap > *)){display:none !important;}
  .legal-body .elementor-column{width:100% !important;}
  .legal-body .elementor-widget-wrap{padding:0 !important;}
  .article-share{margin:40px 0 0;padding-top:24px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
  .article-share span{color:var(--muted);font-size:.9rem;}

  /* ---------- Article: breadcrumb ---------- */
  .breadcrumb{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:.85rem;color:var(--muted);margin-bottom:18px;}
  .breadcrumb a{color:var(--muted);text-decoration:none;}
  .breadcrumb a:hover{color:var(--blue);}
  .breadcrumb .sep{color:var(--muted-2);}
  .breadcrumb .current{color:var(--ink);font-weight:600;}

  /* ---------- Article: compact cover ---------- */
  .article-cover{margin-top:22px;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);max-height:300px;}
  .article-cover img{width:100%;height:300px;object-fit:cover;display:block;}

  /* ---------- Article: two-column layout + sticky sidebar ---------- */
  .article-layout{display:grid;grid-template-columns:1fr 300px;gap:56px;align-items:start;margin-top:36px;}
  @media (max-width:980px){
    .article-layout{grid-template-columns:1fr;}
    .article-sidebar{display:none;}
  }
  .article-sidebar{position:sticky;top:92px;display:flex;flex-direction:column;gap:18px;}
  .sidebar-card{background:var(--paper-raised);border:1px solid var(--line);border-radius:var(--radius-md);padding:20px;}
  .sidebar-toc h4{font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:12px;}
  .sidebar-toc ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;counter-reset:toc;}
  .sidebar-toc li{counter-increment:toc;}
  .sidebar-toc a{
    display:flex;gap:8px;text-decoration:none;color:var(--muted);font-size:.86rem;line-height:1.4;
    padding:7px 8px;border-radius:7px;transition:background .12s ease,color .12s ease;
  }
  .sidebar-toc a::before{content:counter(toc);color:var(--blue);font-weight:700;flex-shrink:0;}
  .sidebar-toc a:hover{background:var(--blue-tint);color:var(--ink);}
  .sidebar-cta{background:var(--blue-tint);border-color:transparent;}
  .sidebar-cta h4{font-size:1rem;font-weight:800;color:var(--ink);margin-bottom:8px;line-height:1.3;}
  .sidebar-cta p{font-size:.86rem;color:var(--muted);line-height:1.5;margin-bottom:14px;}
  .sidebar-cta .btn{width:100%;justify-content:center;}

  /* ---------- Article: normalise la typo des blocs CTA/a-retenir/FAQ injectes
     (contenu existant avec styles inline non modifiables sans !important) ---------- */
  .article-body .wp-block-group{margin:1.8em 0;}
  .article-body div[style*="background-color:#1F0C7B"] p:first-child span{font-size:1.15em !important;}
  .article-body div[style*="background-color:#1F0C7B"] p{font-size:1em !important;line-height:1.6 !important;}
  .article-body div[style*="background-color:#1F0C7B"] a{font-size:.92em !important;}

  /* ---------- Article: maillage structurel (bas de page) ---------- */
  .mesh-section{margin-top:8px;}
  .mesh-section h2{font-size:1.3rem;font-weight:800;margin-bottom:20px;}
  /* Le bloc maillage "Sur le meme sujet" utilise un <p> plutot qu'un vrai h2 (choix
     volontaire), restyle pour reprendre exactement l'allure d'un h2 de section. */
  .mesh-block .mesh-title{
    font-family:'Plus Jakarta Sans','Inter',system-ui,sans-serif;
    font-size:1.3rem;font-weight:800;color:var(--ink);margin:0 0 20px;
  }
  .mesh-block + .mesh-block{margin-top:44px;}


/* Le dernier item de nav avant le bouton CTA doit s'aligner a droite pour ne pas
   deborder de l'ecran, quel que soit l'item qui se trouve la (menu genere dynamiquement). */
nav.primary > .nav-item:last-of-type .dropdown-sm{left:auto;right:0;}
