/* 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)}
/* Le fond clair est posé sur <main> : une section qui n'est pas .light n'a pas de fond à elle et en héritait.
   La bande d'appel de fin d'article (et la newsletter de /blog) paraissait donc sur fond clair, et le pied de
   page sombre arrivait par une cassure. Les sections sombres prennent leur fond : le pied s'enchaîne après
   une section sombre (Simon, 13/10/2026 ; règle tenue par scripts/v10-gabarit.mjs). */
.v-article > .v-sec:not(.light){background:var(--fond);color:var(--tx)}
.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(56px,10vh,120px)) 0 clamp(150px,16vw,220px)} /* haut aligné sur .v-hero : le fil d'Ariane tombe au même endroit */
.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:0;text-decoration:none} /* sous le fil d'Ariane : ses 22 px suffisent (en bloc en ligne, les deux marges s'additionnaient : 44 px) */
/* Les rubriques du blog : une couleur par catégorie, celle de ses couvertures (hub, src/lib/blogCover.ts,
   14/10/2026) — Santé et IA bleu, Actualités marine, Ressources violet. Les teintes sont celles des
   pastilles des couvertures, foncées juste ce qu'il faut pour qu'un texte blanc s'y lise (4,5:1).
   Une seule logique, partout : la COULEUR dit la rubrique, le REMPLISSAGE dit l'état. Pleine, la pastille
   est la rubrique de l'article ou le filtre choisi ; au repos, un filtre est blanc, avec le point de sa
   couleur. data-rubrique est posé par js/v10-blog.js sur la catégorie d'un article et des cartes (le hub
   n'écrit que le libellé), et dans le HTML sur les filtres. Décision : ADR WB-0001 (hub).
   Pleine, la pastille n'est pas un aplat : un léger dégradé de --rub-haut à --rub-bas, autour de --rub,
   et un reflet en haut. Le bout clair du dégradé garde le texte lisible (4,5:1 ou plus). */
[data-rubrique]{--rub:var(--fond);--rub-haut:var(--ink-3);--rub-bas:var(--fond);--rub-tx:#fff;--rub-bord:var(--rub)}
[data-rubrique="sante"]{--rub:#2470d6;--rub-haut:#2470d6;--rub-bas:#1b5bbf}
[data-rubrique="actu"]{--rub:#17224a;--rub-haut:#24326a;--rub-bas:#121a3a;--rub-tx:#c9e0ff;--rub-bord:rgba(140,194,255,.5)}
[data-rubrique="ressources"]{--rub:#6e4cf0;--rub-haut:#7558f5;--rub-bas:#5a3ae0}
.tag-text-copy{display:inline-block;padding:6px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);color:var(--tx);
  font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.tag-text-copy[data-rubrique],.v-blog-filtre.is-on{background:linear-gradient(135deg,var(--rub-haut),var(--rub-bas));color:var(--rub-tx);border-color:var(--rub-bord);box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
.v-article__hero 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)}
/* Dans les cartes des listes (fond clair), la date reprend le gris de l'auteur : la règle ci-dessus est
   celle de l'en-tête sombre d'un article, et sur le blanc son --dim était presque invisible (13/10/2026). */
.v-article .blog-three-main-item .blog-one-item-date{color:inherit}
/* 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:linear-gradient(170deg,#fff 0%,#eef4fc 100%);color:#0a0c18;border:1px solid rgba(71,154,243,.22);border-radius:20px;padding:18px;box-shadow:0 18px 44px rgba(10,12,24,.1)}
.v-guide-lie__couv{--w:120px;width:120px;height:168px;margin:0 auto 14px}
.v-guide-lie .eyebrow{color:#2f7fe6}
.v-guide-lie h3{margin:6px 0 4px;font-size:16.5px;line-height:1.3;color:#0a0c18}
.v-guide-lie p{margin:0 0 12px;font-size:13px;color:var(--ink-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(10,12,24,.16);background:#fff;color:#0a0c18;font:inherit;font-size:14px}
.v-guide-lie input::placeholder{color:rgba(10,12,24,.4)}
.v-guide-lie input:focus{outline:none;border-color:#2f7fe6;box-shadow:0 0 0 3px rgba(47,127,230,.14)}
.v-guide-lie .btn{height:42px;justify-content:center}
.v-guide-lie .btn--solid{background:#0a0c18;color:#fff}
.v-guide-lie .btn--solid:hover{background:#17306b}
.v-guide-lie__msg{font-size:12.5px;color:#c4303b;min-height:0;margin:0}
.v-guide-lie__ok{font-size:14px}
.v-guide-lie__ok a{color:#2f7fe6;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-liste{padding:clamp(40px,5vw,64px) 0 clamp(64px,8vw,100px)}
/* La recherche d'abord, en grand (call du 16/10/2026) ; dessous, les catégories et le nombre d'articles affichés. */
.v-blog-outils{display:flex;flex-direction:column;gap:18px;margin-bottom:28px}
.v-blog-recherche{position:relative;max-width:720px}
.v-blog-recherche__loupe{position:absolute;left:20px;top:50%;width:22px;height:22px;transform:translateY(-50%);color:rgba(10,12,24,.5);pointer-events:none}
.v-blog-recherche input{width:100%;height:58px;padding:0 20px 0 54px;border-radius:999px;border:1.5px solid rgba(10,12,24,.16);background:#fff;font:inherit;font-size:17px;color:#0a0c18;
  box-shadow:0 10px 30px rgba(10,12,24,.06);transition:border-color .2s,box-shadow .2s;-webkit-appearance:none;appearance:none}
.v-blog-recherche input::placeholder{color:rgba(10,12,24,.5)}
.v-blog-recherche input:hover{border-color:rgba(10,12,24,.28)}
.v-blog-recherche input:focus{outline:none;border-color:var(--blue-d);box-shadow:0 0 0 4px rgba(71,154,243,.22),0 10px 30px rgba(10,12,24,.06)}
.v-blog-recherche input[aria-expanded="true"]{border-radius:29px 29px 0 0;border-bottom-color:transparent}
.v-blog-suggestions{position:absolute;z-index:20;left:0;right:0;top:100%;margin:0;padding:6px;list-style:none;max-height:min(60vh,380px);overflow-y:auto;
  background:#fff;border:1.5px solid var(--blue-d);border-top:1px solid var(--line-l);border-radius:0 0 22px 22px;box-shadow:0 0 0 4px rgba(71,154,243,.22),0 24px 50px rgba(10,12,24,.16);clip-path:inset(0 -8px -80px -8px)}
.v-blog-suggestion{display:flex;align-items:baseline;gap:10px;padding:11px 14px;border-radius:14px;font-size:15.5px;line-height:1.35;color:#0a0c18;cursor:pointer}
.v-blog-suggestion::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--rub,rgba(10,12,24,.3));transform:translateY(-2px)}
.v-blog-suggestion[aria-selected="true"]{background:var(--paper)}
.v-blog-suggestion mark{background:none;color:inherit;font-weight:700}
.v-blog-barre{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between}
.v-blog-filtres{display:flex;flex-wrap:wrap;gap:8px}
.v-blog-filtre{display:inline-flex;align-items:center;gap:8px;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;transition:background .2s,border-color .2s,color .2s}
.v-blog-filtre:not(.is-on):hover{border-color:rgba(10,12,24,.25)}
.v-blog-filtre::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--rub);box-shadow:0 0 0 1px var(--rub-bord)}
.v-blog-filtre.is-on::before{background:currentColor;box-shadow:none}
.v-blog-compte{margin:0;font-size:14px;font-weight:600;color:var(--ink-dim);font-variant-numeric:tabular-nums}
@media (max-width:600px){.v-blog-recherche input{height:52px;font-size:16px;padding-left:48px}.v-blog-recherche__loupe{left:17px;width:20px;height:20px}
  .v-blog-recherche input[aria-expanded="true"]{border-radius:26px 26px 0 0}}
.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{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--blue-d)}
.blog-three-main-item .chnage-gredient[data-rubrique]{color:var(--rub)}
.blog-three-main-item .chnage-gredient[data-rubrique]::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--rub);box-shadow:0 0 0 1px var(--rub-bord)}
.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:start} /* le texte part du haut de la photo : sous le fil, le même écart sur chaque fiche, quelle que soit la longueur de la bio */
.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;font-size:clamp(40px,5.6vw,80px);letter-spacing:-.045em;line-height:.96} /* un nom court : le titre des pages intérieures (.v-hero h1, v10.css), pas celui des articles */
.v-fiche__bio p{margin:0}
.v-fiche__grille--sans-photo{grid-template-columns:minmax(0,1fr)} /* fiche sans photo (Simon Gaspar, 19/10/2026) : le texte prend la largeur */
@media (max-width:760px){.v-fiche__grille{grid-template-columns:1fr}.v-fiche .team-details-hero-image{max-width:200px;order:2}} /* mobile : le nom sous le fil, la photo après le texte — même rythme qu'ailleurs */

/* ── Les vidéos YouTube des fiches équipe (scripts/team-details-youtube.py) : les cartes des articles,
   avec le bouton de lecture des vignettes vidéo du site (.v-video::after, v10.css) — pas `.v-video`
   lui-même, qui impose sa propre boîte. Sous la liste d'articles, la section ne rajoute pas son
   propre espace haut : les deux listes se lisent comme une seule. ── */
.v-blog-liste+.v-fiche-videos{padding-top:0}
.v-fiche-video .blog-three-item-image{position:relative}
.v-fiche-video__lecture{position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;pointer-events:none;
  background:rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23161d31'/%3E%3C/svg%3E") center/22px no-repeat;box-shadow:0 10px 30px rgba(0,0,0,.35);transition:transform .3s}
.v-fiche-video .blog-three-main-item:hover .v-fiche-video__lecture{transform:scale(1.08)}

/* ── Les passages médias en grand (« grand » dans scripts/team-details-youtube.json, BFMTV de Loïc,
   28/10/2026) : sous l'en-tête de la fiche, une carte pleine largeur, deux côte à côte s'il y en a
   deux. Mêmes cartes que les vidéos du bas, en plus gros. ── */
.v-fiche-medias__liste{display:grid;gap:28px;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr))}
.v-fiche-video--grand .blog-three-main-item{border-radius:28px}
.v-fiche-video--grand .blog-three-main-item-text{padding:24px 28px 26px;gap:12px}
.v-fiche-video--grand .heading-four-7{font-size:clamp(22px,2.6vw,34px);line-height:1.15;letter-spacing:-.03em}
.v-fiche-video--grand .v-fiche-video__lecture{width:96px;height:96px;margin:-48px 0 0 -48px;background-size:40px}
@media (max-width:760px){.v-fiche-video--grand .v-fiche-video__lecture{width:64px;height:64px;margin:-32px 0 0 -32px;background-size:28px}}
