/* Les articles du blog au gabarit V10 (scripts/blog-v10.py). Les classes héritées de Webflow qui restent
   (.tag-text-copy, .auteur-picture, .auteur-information, .blog-one-item-date, .blog-meta, .rte) sont des
   REPÈRES : le hub (blogPage.ts), blog-seo.mjs et build-blog-index.py les lisent. On les habille ici ;
   on ne les renomme pas. */
.v-article{background:var(--paper)}
.v-article__hero{background:radial-gradient(70% 90% at 80% 0%,rgba(71,154,243,.16),transparent 60%),var(--fond);color:var(--tx);
  padding:calc(var(--nav-h) + clamp(40px,6vw,80px)) 0 clamp(150px,16vw,220px)}
.v-article__hero .wrap>*{max-width:860px}
.v-article__hero .v-ariane li[aria-current]{max-width:42ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v-article__cat{display:inline-block;margin-top:22px;text-decoration:none}
.tag-text-copy{display:inline-block;padding:6px 14px;border-radius:999px;border:1px solid rgba(90,209,230,.5);background:rgba(90,209,230,.12);color:#bff1fa;
  font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.v-article h1{margin:18px 0 0;font-size:clamp(32px,4.2vw,54px);line-height:1.08;letter-spacing:-.035em}
.v-article__chapo{margin:20px 0 0;font-size:clamp(17px,1.5vw,20px);line-height:1.55;color:var(--dim)}
.v-article__meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-top:30px}
.v-article .blog-one-name{display:flex;align-items:center;gap:12px}
.v-article .auteur-picture{width:46px;height:46px;border-radius:50%;background-color:var(--ink-3);background-size:cover;background-position:center;border:2px solid rgba(255,255,255,.15)}
.v-article .auteur-information{display:flex;flex-direction:column;gap:2px}
.v-article .auteur-information a{text-decoration:none;color:var(--tx);font-weight:600;font-size:15px}
.v-article .auteur-information a.blog-meta{font-weight:500;color:var(--dim);font-size:13.5px}
.v-article .blog-one-item-date{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:13.5px;color:var(--dim)}
.v-article .blog-one-item-date>*{white-space:nowrap}
.v-article .blog-one-item-date a{color:var(--blue-l)}
/* la couverture, à cheval sur l'en-tête */
.v-article__couv{max-width:1100px;margin:calc(clamp(150px,16vw,220px) * -1 + 40px) auto 0;padding:0 32px;position:relative}
.v-article__couv img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:22px;box-shadow:0 40px 90px rgba(10,12,24,.35)}
/* la lecture : sommaire | article | guide associé */
.v-article__lecture{padding:clamp(48px,6vw,80px) 32px clamp(64px,8vw,110px)}
.v-article__grille{display:grid;grid-template-columns:230px minmax(0,720px) 280px;gap:48px;justify-content:center;align-items:start;max-width:1440px;margin:0 auto}
.toc{position:sticky;top:calc(var(--nav-h) + 24px);font-size:14px}
.toc_heading{margin:0 0 12px;font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--blue-d)}
.toc_list{display:grid;gap:2px;max-height:calc(100vh - 220px);overflow:auto;scrollbar-width:none}
.toc_link{display:block;padding:7px 0 7px 14px;border-left:2px solid var(--line-l);color:var(--ink-dim);text-decoration:none;line-height:1.35;transition:color .2s,border-color .2s}
.toc_link:hover{color:#0a0c18}
.toc_link.active{color:#0a0c18;border-color:var(--blue-d);font-weight:600}
.v-article__guide{position:sticky;top:max(110px,calc(50vh - 220px))}
@media (max-width:1199px){.v-article__grille{grid-template-columns:220px minmax(0,720px)}.v-article__guide{position:static;grid-column:2}}
@media (max-width:991px){.v-article__grille{grid-template-columns:minmax(0,720px)}.toc{display:none}.v-article__guide{grid-column:1}}
@media (max-width:560px){.v-article__couv,.v-article__lecture{padding-left:16px;padding-right:16px}}
/* le corps : ce que le hub écrit (titres, paragraphes, listes, tableaux, citations, vidéos) */
.rte{color:#1a1f2e;font-size:18px;line-height:1.75;min-width:0}
.rte>*:first-child{margin-top:0}
.rte h2{margin:2em 0 .6em;font-size:clamp(24px,2.3vw,30px);line-height:1.2;letter-spacing:-.025em;color:#0a0c18;scroll-margin-top:calc(var(--nav-h) + 24px)}
.rte h3{margin:1.6em 0 .5em;font-size:clamp(19px,1.6vw,22px);line-height:1.3;letter-spacing:-.015em;color:#0a0c18;scroll-margin-top:calc(var(--nav-h) + 24px)}
.rte h4{margin:1.4em 0 .4em;font-size:18px;color:#0a0c18}
.rte p,.rte ul,.rte ol{margin:0 0 1.15em}
.rte ul,.rte ol{padding-left:1.3em}
.rte li{margin:.4em 0}
.rte li::marker{color:var(--blue-d)}
.rte a{color:var(--blue-d);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(47,127,220,.35)}
.rte a:hover{text-decoration-color:currentColor}
.rte strong{font-weight:700;color:#0a0c18}
.rte blockquote{margin:1.6em 0;padding:4px 0 4px 22px;border-left:3px solid var(--blue);font-size:1.08em;color:#0a0c18;font-style:normal}
.rte figure{margin:1.8em 0}
.rte img{max-width:100%;height:auto;border-radius:14px}
.rte figcaption{margin-top:8px;font-size:13.5px;color:var(--ink-dim)}
.rte hr{border:0;border-top:1px solid var(--line-l);margin:2.2em 0}
.rte table{width:100%;border-collapse:collapse;margin:1.6em 0;font-size:15px;line-height:1.5;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 0 0 1px var(--line-l)}
.rte th,.rte td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line-l)}
.rte thead th,.rte tr:first-child th{background:var(--paper-2);font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-dim)}
.rte tr:last-child td{border-bottom:0}
.rte .w-embed,.rte [data-rt-embed-type]{max-width:100%}
.rte iframe{max-width:100%;border:0;border-radius:14px}
@media (max-width:640px){.rte{font-size:17px}.rte table{display:block;overflow-x:auto}}
/* le guide associé (js/v10-blog.js) : la couverture à plat, le téléchargement sur place */
.v-guide-lie{display:block;background:var(--fond);color:var(--tx);border-radius:20px;padding:18px;box-shadow:0 30px 70px rgba(10,12,24,.25)}
.v-guide-lie__couv{--w:120px;width:120px;height:168px;margin:0 auto 14px}
.v-guide-lie .eyebrow{color:var(--blue-l)}
.v-guide-lie h3{margin:6px 0 4px;font-size:16.5px;line-height:1.3;color:#fff}
.v-guide-lie p{margin:0 0 12px;font-size:13px;color:var(--dim);line-height:1.5}
.v-guide-lie form{display:grid;gap:8px}
.v-guide-lie input{height:42px;padding:0 12px;border-radius:10px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);color:#fff;font:inherit;font-size:14px}
.v-guide-lie input::placeholder{color:rgba(255,255,255,.45)}
.v-guide-lie .btn{height:42px;justify-content:center}
.v-guide-lie__msg{font-size:12.5px;color:#ff9f9f;min-height:0;margin:0}
.v-guide-lie__ok{font-size:14px}
.v-guide-lie__ok a{color:var(--blue-l);font-weight:600}
@media (max-width:1199px){.v-guide-lie{max-width:420px;margin-top:8px}}
/* Les tableaux que le hub écrit dans le corps portent leur propre <style>, pensé pour l'ancien fond sombre :
   ses couleurs passent par des variables posées sur :root. On les redéfinit pour le corps, en clair,
   sans toucher à son HTML (que le hub réécrit à chaque publication). */
.v-article .rte{--text-white:#0a0c18;--text-grey:rgba(10,12,24,.68);--header-text:#fff;--galeon-blue:#2f7fdc;--galeon-border:rgba(10,12,24,.12);
  --border-subtle:rgba(10,12,24,.08);--bg-dark:#fff;--card-bg:#fff}
.v-article .rte [class*="galeon-wrapper"]{margin:1.8em 0;border-radius:14px;box-shadow:0 0 0 1px var(--line-l);overflow-x:auto}
.v-article .rte [class*="comparison-table"]{margin:0;box-shadow:none;font-size:15px}

/* ── Les listes du blog : les cartes gardent leur balisage (modèle du hub et de build-blog-index.py) ── */
.v-blog-hero{padding-bottom:clamp(60px,7vw,90px)}
.v-blog-liste{padding:clamp(40px,5vw,64px) 0 clamp(64px,8vw,100px)}
.v-blog-outils{display:flex;flex-wrap:wrap;gap:14px 20px;align-items:center;justify-content:space-between;margin-bottom:28px}
.v-blog-filtres{display:flex;flex-wrap:wrap;gap:8px}
.v-blog-filtre{height:38px;padding:0 16px;border-radius:999px;border:1px solid var(--line-l);background:#fff;color:#0a0c18;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.v-blog-filtre.is-on{background:var(--fond);color:#fff;border-color:var(--fond)}
.v-blog-recherche input{height:40px;width:min(320px,100%);padding:0 14px;border-radius:999px;border:1px solid var(--line-l);background:#fff;font:inherit;font-size:14px;color:#0a0c18}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.blog-three-main-wrapper{display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}
.blog-three-main-wrapper .collection-item[hidden]{display:none}
.blog-three-main-item{display:flex;flex-direction:column;height:100%;border-radius:20px;overflow:hidden;background:#fff;border:1px solid var(--line-l);color:#0a0c18;text-decoration:none;transition:box-shadow .3s,transform .3s}
.blog-three-main-item:hover{box-shadow:0 24px 60px rgba(10,12,24,.12);transform:translateY(-2px)}
.blog-three-item-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.blog-three-main-item-text{display:flex;flex-direction:column;gap:10px;padding:18px 20px 20px;flex:1}
.blog-three-main-item .chnage-gredient{font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--blue-d)}
.blog-three-main-item .heading-four-7{margin:0;font-size:18px;line-height:1.3;letter-spacing:-.015em}
.blog-three-item-line{height:1px;background:var(--line-l);margin-top:auto}
.blog-one-name-wrapper-2{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--ink-dim)}
.blog-one-name-wrapper-2 .blog-one-item-date:empty,.blog-one-name-wrapper-2 .button-font-19:empty{display:none}
.v-blog-vide{text-align:center;color:var(--ink-dim);margin-top:28px}

/* ── Les fiches auteur (team-details) ── */
.v-fiche{padding-bottom:clamp(60px,7vw,90px)}
.v-fiche__grille{display:grid;grid-template-columns:minmax(0,280px) minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:center}
.v-fiche .team-details-hero-image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:24px;box-shadow:0 30px 70px rgba(0,0,0,.35)}
.v-fiche .team-details-hero-image img.is-generique{opacity:.5}
.v-fiche .team-details-hero-name h1{margin-top:10px}
.v-fiche__bio p{margin:0}
@media (max-width:760px){.v-fiche__grille{grid-template-columns:1fr}.v-fiche .team-details-hero-image{max-width:200px}}
