/* Evoluweb : ce que le kit (assets/system.css) n'a pas, avec ses seuls jetons (couleurs, espaces, rayons, polices).
   1. le titre d'une app avec son icône, la ligne de store ; 2. les faits de la méthode ;
   3. le blog (liste, article en mode lecture, cartes produit, fil d'Ariane). */

/* ---------------------------------------------------------------- 1. les apps */
/* l'icône réelle de l'app au-dessus de son nom, pour que le nom parte de la ligne de gauche */
.card > .app-icon { display: block; width: 40px; height: 40px; flex: none; margin-bottom: var(--s-3); border-radius: 10px;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 10%, transparent); }
.card > h3.app-title a { color: inherit; text-decoration: none; }
.card > h3.app-title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.card > p.app-store { display: flex; align-items: flex-start; gap: var(--s-2); margin-top: var(--s-3); min-height: 0;
  font-size: var(--t-small); line-height: 20px; color: var(--muted); }
.app-store img { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* le titre d'une carte liée porte le lien de toute la carte (une cible tactile pleine) */
.card > h3 > a::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; }
/* sous les cartes : les apps en préparation, avec l'icône réelle d'Android */
.apps__note { display: flex; gap: var(--s-3); align-items: flex-start; margin-top: var(--s-6); max-width: 72ch; }
.apps__note img { width: 20px; height: 20px; flex: none; margin-top: 3px; }

/* ---------------------------------------------------------------- 2. la méthode */
.methode__text > * + * { margin-top: var(--s-5); }
.methode__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.methode__facts li { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.methode__facts li:last-child { border-bottom: 1px solid var(--line); }
.methode__facts img { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* une adresse e-mail longue se coupe dans une colonne étroite du pied de page */
.footer__col a[href^="mailto:"] { overflow-wrap: anywhere; }

/* le nom en très grand de la fermeture : un interligne qui laisse passer les hampes de Funnel Display (le kit le règle à .86) */
.close__word { line-height: 1.04; }

/* ---------------------------------------------------------------- 3. le blog : en-tête de page et liste */
.page-blog { padding-top: calc(var(--nav) + var(--s-8)); padding-bottom: var(--s-9); }
.page-blog__head { display: grid; gap: var(--s-4); max-width: 760px; }
.page-blog__head h1 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--t-h1); line-height: 1.04; }
.page-blog__head p { font-size: var(--t-lead); line-height: 1.5; max-width: 60ch; }
.page-blog__vide { margin-top: var(--s-8); padding: var(--s-7) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: var(--s-4); max-width: 760px; }
.page-blog__vide h2 { font-size: var(--t-h3, 28px); line-height: 1.2; }
.liste-articles { list-style: none; margin: var(--s-8) 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.liste-articles > li { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--s-2) var(--gutter, 24px); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.liste-articles time { font-size: var(--t-small); color: var(--muted); padding-top: 6px; }
.liste-articles :is(h2, h3) { font-size: var(--t-h3, 28px); line-height: 1.2; }
.liste-articles :is(h2, h3) a { color: inherit; text-decoration: none; }
.liste-articles :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; }
.liste-articles :is(h2, h3) a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.liste-articles p { margin-top: var(--s-2); max-width: 62ch; }
.liste-articles .tags { margin-top: var(--s-3); }
@media (max-width: 639px) { .liste-articles > li { grid-template-columns: minmax(0, 1fr); } .liste-articles time { padding-top: 0; } }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.tags li { font-size: var(--t-label, 13px); font-weight: 500; line-height: 1; padding: 6px 10px; border-radius: 99px;
  background: color-mix(in oklab, var(--ink) 6%, transparent); color: var(--ink); }

/* ---------------------------------------------------------------- 3. le blog : l'article (mode lecture) */
.ariane { font-size: var(--t-small); color: var(--muted); }
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ariane li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line-strong); }
.ariane a { color: var(--muted); text-decoration: none; }
.ariane a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.article { padding-top: calc(var(--nav) + var(--s-7)); padding-bottom: var(--s-9); }
.article__head { display: grid; gap: var(--s-5); max-width: 760px; }
.article__head h1 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking);
  font-size: clamp(34px, 2.2vw + 26px, 56px); line-height: 1.06; text-wrap: balance; }
.article__chapo { font-size: var(--t-lead); line-height: 1.55; max-width: 60ch; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); font-size: var(--t-small); color: var(--muted); }
.prose { max-width: 68ch; margin-top: var(--s-8); font-size: 18px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking);
  font-size: clamp(26px, .9vw + 22px, 34px); line-height: 1.15; margin-top: 2em; }
.prose h3 { font-family: var(--font-text); font-weight: 500; font-size: 21px; line-height: 1.3; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
/* un lien dans une liste ou un tableau prend le même trait que les liens des paragraphes (assets/motion/motion.css) */
.prose :is(li, td, th) a:not([class]) {
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(color-mix(in oklab, currentColor 45%, transparent), color-mix(in oklab, currentColor 45%, transparent));
  background-repeat: no-repeat; background-size: 0% 1px, 100% 1px; background-position: right 0 bottom 0, 0 100%;
  transition: background-size 120ms var(--ease), color 120ms var(--ease); padding-bottom: 2px;
}
.prose :is(li, td, th) a:not([class]):is(:hover, :focus-visible) { background-size: 100% 1px, 100% 1px; background-position: left 0 bottom 0, 0 100%; transition-duration: 150ms; }
.prose strong { font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--muted); }
.prose blockquote { margin-inline: 0; padding-left: var(--s-5); border-left: 2px solid var(--line-strong); font-style: italic; }
.prose code { font-family: var(--font-mono); font-size: .86em; padding: .1em .35em; border-radius: 6px; background: color-mix(in oklab, var(--ink) 6%, transparent); }
.prose pre { overflow-x: auto; padding: var(--s-5); border-radius: var(--r-md, 12px); background: var(--p-inv-bg, #0b0c0e); color: var(--p-inv-ink, #eef0f3); font-size: 15px; line-height: 1.6; }
.prose pre code { padding: 0; background: none; font-size: inherit; }
.prose figure { margin-inline: 0; }
.prose figure img, .prose > p > img { display: block; max-width: 100%; height: auto; border-radius: var(--r-md, 12px); box-shadow: 0 0 0 1px var(--line); }
.prose figure.prose__ecran img { max-width: 320px; }
.prose .tableau { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }

/* les cartes produit en fin d'article : l'icône réelle de l'app, une phrase, son lien */
.produits { margin-top: var(--s-9); padding-top: var(--s-7); border-top: 1px solid var(--line); max-width: 960px; }
.produits h2 { font-size: var(--t-h3, 28px); line-height: 1.2; }
.produits__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-6); }
@media (max-width: 639px) { .produits__grille { grid-template-columns: minmax(0, 1fr); } }
.produit { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-2) var(--s-4); align-items: start; padding: var(--s-5);
  border-radius: var(--r-lg, 20px); background: var(--card, #fff); border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent); position: relative; }
.produit img { width: 56px; height: 56px; border-radius: 14px; grid-column: 1; grid-row: 1 / span 4; box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 10%, transparent); }
.produit > :not(img) { grid-column: 2; }
.produit > .link { justify-self: start; }
.produit h3 { font: 500 var(--t-card, 20px)/1.3 var(--font-text); }
.produit p { font-size: 16px; line-height: 1.5; }
.produit .link { font-size: 15px; }
.produit .link::before { content: ""; position: absolute; inset: 0; }
.produit__etat { font-size: var(--t-small); color: var(--muted); }
