/* Format « tutoriel » des articles (19/10/2026) : sommaire latéral suivi, étapes, terminaux copiables, encadrés,
   fausses captures et micro-animations (5 s max, lancées à l'écran, coupées si « réduire les animations »).
   Règles fermes de Simon : boutons texte blanc sans icône ni ombre de texte ; pas d'encadré blanc ombré sur fond blanc. */

.hero--tuto { padding-bottom: 106px; } /* Simon 18/10 : +10 px en bas du héros d'article */
.hero--tuto .hero__titre { max-width: 900px; }
.tuto-infos { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 24px; }
.tuto-infos li { padding: 5px 12px; border-radius: 500px; background: rgba(255, 255, 255, .12); font-size: 13px; font-weight: 400; color: #fff; }
.tuto-infos b { font-weight: 600; color: #fff; }

/* Mise en page : sommaire collant à gauche, texte à droite (pleine largeur du conteneur, comme l'en-tête) */
.tuto { padding: 64px 0 40px; }
.tuto__grille { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
.tuto__corps { font-size: 15.5px; line-height: 1.78; color: var(--texte); }
.tuto__corps > * + * { margin-top: 1.1em; }
.tuto__corps .chapo { font-size: 17.5px; line-height: 1.7; font-weight: 500; color: var(--marine); }
.tuto__corps h2 { margin-top: 2.4em; font-size: 28px; font-weight: 700; line-height: 1.28; color: var(--marine); scroll-margin-top: 28px; }
.tuto__corps h2 .etape-kicker { display: block; width: max-content; margin-bottom: 10px; padding: 4px 11px; border-radius: 5px; background: rgba(24, 40, 117, .1); font-size: 13px; font-weight: 600; letter-spacing: .3px; color: var(--bleu); }
.tuto__corps h3 { margin-top: 1.8em; font-size: 19px; font-weight: 600; color: var(--marine); }
.tuto__corps code { padding: 1px 6px; border-radius: 4px; background: rgba(24, 40, 117, .08); font-family: "Cascadia Code", Consolas, "SF Mono", Menlo, monospace; font-size: .86em; color: var(--marine); }
.tuto__corps a { color: var(--bleu-fort); text-decoration: underline; text-decoration-color: rgba(11, 70, 165, .35); text-underline-offset: 3px; }

/* Sommaire : pastilles blanches, numéros bleus (Simon 18/10), section en cours mise en avant */
.tuto-sommaire { position: sticky; top: 24px; }
.tuto-sommaire__titre { font-size: 13px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--marine); }
.tuto-sommaire ol { margin-top: 12px; counter-reset: s; display: grid; gap: 6px; border-left: 2px solid var(--filet); }
.tuto-sommaire li { counter-increment: s; }
.tuto-sommaire a { display: flex; gap: 10px; align-items: flex-start; margin-left: -2px; padding: 11px 14px 11px 18px; border-radius: 0 10px 10px 0; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.45; color: var(--texte-doux); transition: color .2s, border-color .2s, background .2s; }
.tuto-sommaire a::before { content: counter(s); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(36, 56, 145, .35); font-size: 11.5px; font-weight: 700; color: var(--bleu); }
.tuto-sommaire a:hover { color: var(--marine); }
.tuto-sommaire a.est-actif { border-left-color: var(--bleu); color: var(--marine); font-weight: 600; background: rgba(24, 40, 117, .05); }
.tuto-sommaire a.est-actif::before { box-shadow: inset 0 0 0 1.5px var(--bleu); }
.tuto-progression { height: 3px; margin-top: 18px; border-radius: 3px; background: var(--filet); overflow: hidden; }
.tuto-progression span { display: block; height: 100%; width: 0; background: var(--degrade); transition: width .2s; }

/* Terminal (vraies commandes, copiables) */
.terminal { margin: 1.4em 0; border-radius: 12px; overflow: hidden; background: #0d1336; color: #dfe6ff; box-shadow: 0 10px 30px rgba(4, 18, 71, .18); }
.terminal__barre { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px 0 14px; background: #161e4a; }
.terminal__barre i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.terminal__barre i:nth-child(2) { background: #febc2e; } .terminal__barre i:nth-child(3) { background: #28c840; }
.terminal__titre { margin-left: 8px; font-size: 12.5px; color: rgba(223, 230, 255, .7); }
.terminal__copier { margin-left: auto; padding: 4px 12px; border: 0; border-radius: 500px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s; }
.terminal__copier:hover { background: rgba(255, 255, 255, .22); }
.terminal__copier.est-copie { background: #2f7d1e; }
.terminal pre { margin: 0; padding: 16px 18px 18px; overflow-x: auto; font-family: "Cascadia Code", Consolas, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 1.7; white-space: pre; }
.terminal .c { color: #8c97c9; } /* commentaire */
.terminal .p { color: #f6b543; user-select: none; } /* invite $ */
.terminal .o { color: #a7f3b6; } /* sortie */

/* Encadrés (pas de carte blanche ombrée : fonds teintés, Simon 18/10) */
.encadre { display: grid; grid-template-columns: 28px 1fr; gap: 12px; margin: 1.5em 0; padding: 18px 20px; border-radius: 14px; font-size: 15px; line-height: 1.65; }
.encadre svg { width: 24px; height: 24px; margin-top: 1px; }
.encadre b { display: block; margin-bottom: 2px; color: var(--marine); }
.encadre--retenir { background: rgba(24, 40, 117, .07); } .encadre--retenir svg { color: var(--bleu); }
.encadre--attention { background: #fff4e3; } .encadre--attention svg { color: #d97706; }
.encadre--vecu { background: linear-gradient(135deg, rgba(24, 40, 117, .07), rgba(237, 107, 21, .08)); } .encadre--vecu svg { color: #ed6b15; }

/* Animations (figures) */
.anim { margin: 1.6em 0; padding: 22px 18px 16px; border-radius: 16px; background: linear-gradient(180deg, #0b1650 0%, #1b1060 100%); color: #fff; }
.anim svg { display: block; width: 100%; height: auto; }
.anim figcaption { margin-top: 10px; font-size: 13px; text-align: center; color: rgba(255, 255, 255, .78); }
.anim text { font-family: Poppins, sans-serif; fill: #fff; }
.anim .paquet { opacity: 0; transform-box: view-box; }
.anim.joue .paquet { animation: glisse 4s linear infinite; }
.anim.joue .paquet:nth-of-type(2) { animation-delay: 1.33s; } .anim.joue .paquet:nth-of-type(3) { animation-delay: 2.66s; }
@keyframes glisse { 0% { transform: translateX(0); opacity: 0; } 8%, 88% { opacity: 1; } 100% { transform: translateX(var(--d, 400px)); opacity: 0; } }
.anim.joue .cadenas-anse { animation: cadenas 4s ease-in-out infinite; transform-box: fill-box; transform-origin: 80% 100%; }
@keyframes cadenas { 0%, 30% { transform: translateY(-5px); } 40%, 85% { transform: translateY(0); } 100% { transform: translateY(-5px); } }
.anim.joue .aiguille { animation: aiguille 5s ease-in-out infinite; transform-box: view-box; }
@keyframes aiguille { 0% { transform: rotate(0deg); } 55%, 100% { transform: rotate(180deg); } }
.anim.joue .lance { animation: lance 5s ease-in-out infinite; }
@keyframes lance { 0%, 55% { opacity: 0; transform: translateY(6px); } 65%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.anim.joue .retour { animation-name: glisse-retour; }
@keyframes glisse-retour { 0% { transform: translateX(0); opacity: 0; } 8%, 88% { opacity: 1; } 100% { transform: translateX(var(--d, -400px)); opacity: 0; } }
.anim.joue .bloc-site { animation: bloc 4s ease-out infinite; }
@keyframes bloc { 0%, 20% { opacity: .15; } 60%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .anim .paquet { opacity: 1; } .anim * { animation: none !important; } }

/* Fausse capture Google Drive (texte exact du dépôt restic) */
.capture-drive { margin: 1.5em 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--filet); background: #fff; font-family: Roboto, Arial, sans-serif; }
.capture-drive__barre { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--filet); font-size: 14px; color: #3c4043; }
.capture-drive__barre span { color: #5f6368; }
.capture-drive table { width: 100%; border-collapse: collapse; font-size: 13.5px; color: #3c4043; }
.capture-drive th { padding: 9px 16px; text-align: left; font-weight: 500; color: #5f6368; border-bottom: 1px solid var(--filet); }
.capture-drive td { padding: 9px 16px; border-bottom: 1px solid #f1f3f4; }
.capture-drive td:first-child { display: flex; align-items: center; gap: 10px; }
.capture-drive .dossier { width: 20px; height: 16px; border-radius: 2px; background: #5f6368; clip-path: polygon(0 0, 40% 0, 50% 18%, 100% 18%, 100% 100%, 0 100%); }
.capture-drive .fichier { width: 16px; height: 20px; border-radius: 2px; background: #4285f4; }
.capture-legende { margin-top: -0.6em; font-size: 13px; color: var(--texte-doux); text-align: center; }

/* Étapes numérotées dans le texte */
.liste-etapes { counter-reset: e; display: grid; gap: 10px; }
.liste-etapes li { counter-increment: e; display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.liste-etapes li::before { content: counter(e); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(36, 56, 145, .35); font-size: 12.5px; font-weight: 700; color: var(--bleu); }

/* FAQ en encadrés animés (Simon 18/10 : animation à l'ouverture, encadrés) */
.faq-boites { display: grid; gap: 12px; margin-top: 1.2em; }
.faq-boites details { border-radius: 14px; background: rgba(24, 40, 117, .06); overflow: hidden; }
.faq-boites summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 17px 20px; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--marine); cursor: pointer; list-style: none; }
.faq-boites summary::-webkit-details-marker { display: none; }
.faq-boites summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--bleu); border-bottom: 2px solid var(--bleu); transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s; }
.faq-boites details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-boites .faq-boites__rep { padding: 0 20px 18px; font-size: 15px; line-height: 1.7; }

/* Encart de fin pleine largeur (Simon 18/10 : lu partout en France, pas d'Anjou, ce que fait Space Studio) */
.encart-pleine { position: relative; overflow: hidden; margin: 70px 0 0; padding: 72px 0; background-color: var(--nuit); background-image: linear-gradient(110deg, rgba(0, 16, 74, .92) 35%, rgba(0, 16, 74, .6) 100%), url(../img/fond-espace-etoile-agence-web.webp); background-size: cover; background-position: 50% 30%; color: #fff; }
.encart-pleine__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.encart-pleine__simon { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.encart-pleine__simon img { width: 58px; height: 58px; border-radius: 0; flex: none; }
.encart-pleine__simon p { font-size: 14px; color: rgba(255, 255, 255, .85); }
.encart-pleine h2 { font-size: 30px; font-weight: 700; line-height: 1.28; color: #fff; }
.encart-pleine__texte { margin-top: 12px; font-size: 15px; font-weight: 300; line-height: 1.7; color: rgba(255, 255, 255, .9); }
.encart-pleine .bouton { margin-top: 22px; color: #fff; text-shadow: none; }
.encart-pleine__offres { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.encart-pleine__offres a { display: block; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .08); transition: background .25s, transform .25s; }
.encart-pleine__offres a:hover { background: rgba(255, 255, 255, .15); transform: translateY(-2px); }
.encart-pleine__offres b { display: block; font-size: 15px; font-weight: 600; color: #fff; }
.encart-pleine__offres span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .75); }

/* Bouton orange : texte blanc, sans icône, sans ombre (règle ferme) */
.bouton--orange { color: #fff !important; text-shadow: none !important; }
.bouton--orange svg { display: none; }

@media (max-width: 980px) {
  .tuto__grille { grid-template-columns: 1fr; gap: 28px; }
  .tuto-sommaire { position: static; padding: 16px 18px; border-radius: 14px; background: rgba(24, 40, 117, .06); }
  .tuto-sommaire ol { border-left: 0; }
  .tuto-progression { display: none; }
  .encart-pleine__grille { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 767px) {
  .hero--tuto { padding-bottom: 84px; }
  .tuto { padding: 40px 0 24px; }
  .tuto__corps { font-size: 15px; }
  .tuto__corps h2 { font-size: 22px; }
  .terminal pre { font-size: 12px; padding: 14px; }
  .encart-pleine h2 { font-size: 24px; }
  .encart-pleine__offres { grid-template-columns: 1fr; }
  .capture-drive th:nth-child(3), .capture-drive td:nth-child(3) { display: none; }
}
/* Les terminaux et tableaux défilent dans leur cadre au lieu d'élargir la page sur téléphone */
.tuto__grille > *, .tuto__corps > * { min-width: 0; max-width: 100%; }
.capture-drive { overflow-x: auto; }

/* ==========================================================================
   COMPOSANTS D'ARTICLE (validés par Simon le 22/10/2026) : à régler ICI, une fois pour tous les articles.
   Changer une variable ci-dessous s'applique à toutes les pages qui utilisent le composant.
   ========================================================================== */
:root {
  --fo-rayon: 18px;              /* arrondi des fiches outils */
  --fo-marge: 22px;              /* marge intérieure des fiches outils */
  --fo-bandeau-ratio: 7 / 1;     /* bandeau d'ambiance (largeur / hauteur) */
  --fo-logo: 76px;               /* taille du logo à cheval sur le bandeau */
  --fo-titre-bloc: 17px;         /* titres Points forts, Limites, Tarifs, En bref */
  --fo-texte-liste: 14px;        /* texte des puces points forts / limites */
  --fo-texte-tarifs: 13px;       /* lignes de tarifs et En bref */
  --fo-vert: #13844c;
  --fo-rouge: #c62828;
  --fo-filet: rgba(4, 18, 71, .1);
}

/* Titre d'article plus large sur ordinateur (pas sur 3 lignes) */
@media (min-width: 981px) { .hero--article .hero__titre { max-width: 1040px; } }

/* Encadrés sans picto (L'essentiel, À retenir, Attention) */
.encadre--simple { grid-template-columns: 1fr; }
.encadre--simple > div > b { font-size: 17px; margin-bottom: 10px; }
.lecture__corps .prose .encadre--simple ul { gap: 2px; }
.lecture__corps .prose .encadre--simple ul > li { margin: 0 !important; line-height: 1.5; }

/* Fiche outil : bandeau d'ambiance + logo à cheval, description, points forts / limites, tarifs / en bref, lien discret */
.fiche-outil { margin: 2em 0; border: 1px solid var(--fo-filet); border-radius: var(--fo-rayon); background: #fff; box-shadow: 0 10px 30px -18px rgba(4, 18, 71, .35); font-size: 15px; line-height: 1.6; }
.fiche-outil__bandeau { position: relative; aspect-ratio: var(--fo-bandeau-ratio); background: #eef0f7 center / cover no-repeat; border-radius: var(--fo-rayon) var(--fo-rayon) 0 0; }
.fiche-outil__logo { width: 56px; height: 56px; flex: none; border-radius: 14px; object-fit: contain; background: #fff; border: 1px solid rgba(4, 18, 71, .08); padding: 6px; margin: 0 !important; }
.fiche-outil__bandeau .fiche-outil__logo { position: absolute; left: var(--fo-marge); bottom: calc(var(--fo-logo) * -0.68); width: var(--fo-logo); height: var(--fo-logo); border-radius: 20px; border: 2px solid #fff; padding: 8px; box-shadow: 0 10px 24px -12px rgba(4, 18, 71, .5); z-index: 1; }
.fiche-outil__tete { display: flex; gap: 16px; align-items: center; padding: 20px var(--fo-marge) 16px; }
.fiche-outil__bandeau + .fiche-outil__tete { padding: 8px var(--fo-marge) 12px calc(var(--fo-marge) + var(--fo-logo) + 16px); }
.fiche-outil__type { margin: 0 !important; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(4, 18, 71, .55); }
.fiche-outil__nom { margin: 2px 0 0 !important; font-size: 20px !important; line-height: 1.25; color: var(--marine); }
.fiche-outil__desc { margin: 0 !important; padding: 4px var(--fo-marge) 16px; color: rgba(4, 18, 71, .8); }
.fiche-outil__colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 var(--fo-marge) 18px; }
.fiche-outil__col { border-radius: 12px; padding: 14px 16px; }
.fiche-outil__col--plus { background: rgba(19, 132, 76, .07); }
.fiche-outil__col--moins { background: rgba(200, 40, 40, .06); }
.lecture__corps .prose .fiche-outil__titre, .fiche-outil__titre { margin: 0 0 8px !important; font-weight: 700; font-size: var(--fo-titre-bloc); color: var(--marine); }
.fiche-outil__col--plus .fiche-outil__titre { color: var(--fo-vert) !important; }
.fiche-outil__col--moins .fiche-outil__titre { color: var(--fo-rouge) !important; }
.lecture__corps .prose .fiche-outil__col ul { list-style: none; display: block; margin: 0 !important; padding: 0 !important; }
.lecture__corps .prose .fiche-outil__col ul > li { position: relative; padding-left: 22px; margin: 2px 0 !important; font-size: var(--fo-texte-liste); line-height: 1.5; }
.lecture__corps .prose .fiche-outil__col ul > li::before { width: auto; height: auto; top: 0; left: 0; border-radius: 0; background: none; font-weight: 700; }
.lecture__corps .prose .fiche-outil__col--plus ul > li::before { content: "✓"; color: var(--fo-vert); }
.lecture__corps .prose .fiche-outil__col--moins ul > li::before { content: "✕"; color: var(--fo-rouge); }
.fiche-outil__pied { display: flex; gap: 18px; align-items: flex-start; padding: 16px var(--fo-marge) 18px; background: rgba(24, 40, 117, .045); border-top: 1px solid var(--fo-filet); border-radius: 0 0 var(--fo-rayon) var(--fo-rayon); }
.fiche-outil__tarifs, .fiche-outil__bref { flex: 1; min-width: 0; }
.fiche-outil__bref { border-left: 1px solid var(--fo-filet); padding-left: 18px; }
.fiche-outil__prix { display: block; margin: 0 !important; padding: 0 !important; list-style: none; }
.lecture__corps .prose .fiche-outil__prix > li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0 !important; margin: 0 !important; border-bottom: 1px solid var(--fo-filet); font-size: var(--fo-texte-tarifs); line-height: 1.45; }
.lecture__corps .prose .fiche-outil__prix > li:last-child { border-bottom: 0; }
.lecture__corps .prose .fiche-outil__prix > li::before { content: none; }
.fiche-outil__prix b { font-weight: 600; color: var(--marine); text-align: right; }
.fiche-outil__bref table { width: 100%; border-collapse: collapse; margin: 0 !important; font-size: var(--fo-texte-tarifs); }
.fiche-outil__bref td { padding: 3px 0; border: 0 !important; border-bottom: 1px solid var(--fo-filet) !important; }
.fiche-outil__bref tr:last-child td { border-bottom: 0 !important; }
.fiche-outil__bref td:last-child { text-align: right; font-weight: 600; color: var(--marine); padding-left: 12px; }
.fiche-outil__note { margin: 6px 0 0 !important; font-size: 12px; color: rgba(4, 18, 71, .55); }
.fiche-outil__source { margin: 10px 0 0 !important; font-size: 14.5px; }
.fiche-outil__source a { color: rgba(4, 18, 71, .6) !important; text-decoration: underline; text-decoration-color: rgba(4, 18, 71, .25) !important; }
@media (max-width: 640px) {
  :root { --fo-logo: 60px; }
  .fiche-outil__colonnes { grid-template-columns: 1fr; }
  .fiche-outil__pied { flex-direction: column; }
  .fiche-outil__bref { border-left: 0; padding-left: 0; border-top: 1px solid var(--fo-filet); padding-top: 12px; width: 100%; }
}

/* Méthode numérotée, prompt à copier, encart contact, visuel (articles pilotes, 22/10/2026) */
.methode { margin: 1.8em 0; padding: 20px 22px; border-radius: 16px; background: linear-gradient(135deg, rgba(24, 40, 117, .06), rgba(237, 107, 21, .06)); border: 1px solid var(--fo-filet); }
.lecture__corps .prose .methode__titre { margin: 0 0 10px !important; font-size: 17px; font-weight: 700; color: var(--marine); }
.lecture__corps .prose .methode ol { counter-reset: etape; list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 8px; }
.lecture__corps .prose .methode ol > li { counter-increment: etape; position: relative; padding-left: 40px; margin: 0 !important; font-size: 14.5px; line-height: 1.55; }
.lecture__corps .prose .methode ol > li::before { content: counter(etape); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--marine); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.prompt-bloc { margin: 1.6em 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(4, 18, 71, .15); background: #0d1433; }
.prompt-bloc__tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 16px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 600; }
.prompt-bloc__copier { border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; border-radius: 999px; padding: 3px 12px; font: inherit; cursor: pointer; }
.prompt-bloc pre { margin: 0 !important; padding: 16px 18px; white-space: pre-wrap; color: #f3f4fa; font: 14px/1.6 ui-monospace, "Cascadia Code", Consolas, monospace; background: none; }
.encart-cta { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin: 1.6em 0; padding: 16px 20px; border-radius: 14px; background: #fff4e3; border: 1px solid rgba(217, 119, 6, .25); }
.lecture__corps .prose .encart-cta p { margin: 0 !important; font-size: 14.5px; }
.encart-cta .bouton { flex: none; text-decoration: none !important; }
.visuel-article { margin: 1.8em 0; padding: 0; }
.visuel-article svg { width: 100%; height: auto; display: block; border-radius: 14px; }
.visuel-article figcaption { margin-top: 8px; font-size: 13px; color: rgba(4, 18, 71, .6); text-align: center; }
@media (max-width: 640px) { .encart-cta { flex-direction: column; align-items: stretch; } .encart-cta .bouton { text-align: center; justify-content: center; } }
.visuel-article svg { max-height: 440px; width: auto; max-width: 100%; margin: 0 auto; }

/* Retours Simon 22/10 (fin d'après-midi) : méthode en vert, numéros façon sommaire, picto « attention », fiche outil plus aérée */
.methode { background: linear-gradient(135deg, rgba(19, 132, 76, .08), rgba(19, 132, 76, .03)); border-color: rgba(19, 132, 76, .18); }
.lecture__corps .prose .methode__titre { color: #0f5c37; }
.lecture__corps .prose .methode ol > li { padding-left: 34px; }
.lecture__corps .prose .methode ol > li::before { width: 22px; height: 22px; top: 1px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(36, 56, 145, .35); color: var(--bleu); font-size: 11.5px; }
.encadre--attention.encadre--simple > div > b { display: flex; align-items: center; gap: 8px; }
.encadre--attention.encadre--simple > div > b::before { content: ""; flex: none; width: 20px; height: 20px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5 1.5 21h21z' fill='none' stroke='%23041247' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M12 9.5v5' stroke='%23041247' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.6' r='1.3' fill='%23041247'/%3E%3C/svg%3E"); }
.fiche-outil__bandeau + .fiche-outil__tete { padding-top: 16px; min-height: calc(var(--fo-logo) * 0.68 + 18px); align-items: flex-start; }
.fiche-outil__bandeau + .fiche-outil__tete + .fiche-outil__desc { padding-top: 14px; }
/* Visuels d'article pleine largeur (Simon 22/10) : version paysage sur ordinateur, version verticale sur mobile */
.visuel-article svg { max-height: none; width: 100%; height: auto; }
.visuel-article--double .visuel-article__mobile { display: none; }
@media (max-width: 700px) { .visuel-article--double .visuel-article__large { display: none; } .visuel-article--double .visuel-article__mobile { display: block; } }
.prompt-variable { background: rgba(237, 107, 21, .22); color: #ffd7b8; border-radius: 4px; padding: 0 3px; }

/* Retours Simon 22/10 (soir) */
/* Méthode : sans bordure, numéros verts bien centrés, texte vert foncé */
.methode { border: 0; }
.lecture__corps .prose .methode__titre, .lecture__corps .prose .methode ol > li, .lecture__corps .prose .methode ol > li strong { color: #14532d; }
.lecture__corps .prose .methode ol > li::before { background: #13844c; color: #fff; box-shadow: none; line-height: 1; padding-top: 1px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
/* Prompts : titres plus visibles */
.prompt-bloc__tete { font-size: 15px; padding: 11px 16px; color: #fff; }
/* Attention : triangle plein bleu foncé, point d'exclamation blanc, espacements resserrés */
.encadre--simple > div > b { margin-bottom: 7px; }
.encadre--attention.encadre--simple > div > b { gap: 5px; }
.encadre--attention.encadre--simple > div > b::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2 1.2 21.2h21.6z' fill='%23041247' stroke='%23041247' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M12 9.2v5.2' stroke='%23fff' stroke-width='2.3' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.7' r='1.35' fill='%23fff'/%3E%3C/svg%3E"); }
/* Fiche outil : bordure blanche du logo divisée par deux, ombre plus légère, bas de l'image aligné sur le bas du nom, espacements égaux */
:root { --fo-logo-bas: 68px; }
.fiche-outil__bandeau .fiche-outil__logo { padding: 4px; border-width: 1px; bottom: calc(-1 * var(--fo-logo-bas)); box-shadow: 0 10px 24px -12px rgba(4, 18, 71, .25); }
.fiche-outil__bandeau + .fiche-outil__tete { padding-top: 16px; padding-bottom: 0; min-height: var(--fo-logo-bas); align-items: flex-start; }
.fiche-outil__bandeau + .fiche-outil__tete + .fiche-outil__desc { padding-top: 16px; }
.fiche-outil__desc { font-size: 13.5px; }
.fiche-outil + .fiche-outil { margin-top: calc(2em + 15px); }
@media (max-width: 640px) { :root { --fo-logo-bas: 54px; } }

/* Retours Simon 22/10 (fin de journée) : texte des articles en 400, gras un cran plus léger, puces de « L'essentiel » centrées sur la ligne, visuels plus aérés et sans légende */
.lecture__corps .prose p, .lecture__corps .prose li, .lecture__corps .prose .chapo { font-weight: 400; }
.lecture__corps .prose strong, .lecture__corps .prose b { font-weight: 600; }
.lecture__corps .prose .encadre--simple ul > li::before { top: .58em; }
.visuel-article { margin: calc(1.8em + 15px) 0 calc(1.8em + 15px); }
.visuel-article figcaption { display: none; }

/* Retours Simon 22/10 (fin de journée, suite) */
/* Méthode : titre +15 %, pastilles -12 % */
.lecture__corps .prose .methode__titre { font-size: 19.5px; }
.lecture__corps .prose .methode ol > li::before { width: 19.4px; height: 19.4px; font-size: 10.5px; top: 3px; }
.lecture__corps .prose .methode ol > li { padding-left: 31px; }
/* Intertitres de niveau 3 : +20 %, un cran plus épais */
.lecture__corps .prose h3 { font-size: 22.8px; font-weight: 700; }
/* Encarts de contact : sans bordure */
.encart-cta { border: 0; }
/* Fiche outil : logo un peu plus grand (déborde plus vers le haut, bas inchangé) */
:root { --fo-logo: 84px; }
/* « En bref » : mêmes interlignes que les tarifs */
.fiche-outil__bref td { padding: 3px 0 !important; line-height: 1.45; vertical-align: middle; }
.fiche-outil__note { display: none; }
/* Ordinateur : nom de l'outil plus grand (+30 %), type à droite sur la même ligne, aligné en bas */
@media (min-width: 641px) {
  .fiche-outil__tete > div { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 12px; }
  .fiche-outil__nom { font-size: 26px !important; line-height: 1.2; margin: 0 !important; }
  .fiche-outil__bandeau + .fiche-outil__tete { padding-top: 30px; }
}

/* Retours Simon 22/10 (soir) : ordinateur, nom de l'outil, type et logo remontés de 6 px (espace au-dessus du titre réduit) */
@media (min-width: 641px) {
  :root { --fo-logo-bas: 62px; }
  .fiche-outil__bandeau + .fiche-outil__tete { padding-top: 24px; }
}
/* Méthode : titres en 600 (au lieu de 700), pastilles numérotées remontées d'1 px */
.lecture__corps .prose .methode__titre { font-weight: 600; }
.lecture__corps .prose .methode ol > li::before { top: 2px; }
/* « En bref » : +5 px au-dessus de la ligne « Modèle » (toujours la 2e ligne) */
.fiche-outil__bref tr + tr > td { padding-top: 8px !important; }
/* Intertitres des articles : plus d'air au-dessus pour mieux segmenter (h2 +25 px, h3 +15 px) */
.lecture__corps .prose h2 { margin-top: calc(2.2em + 25px); }
.lecture__corps .prose h3 { margin-top: calc(1.8em + 15px); }
/* Mobile : logo des fiches outils -25 % et abaissé de 4 px, surtitre masqué (nom seul), bandeau +35 % de hauteur rogné à gauche */
@media (max-width: 640px) {
  :root { --fo-logo: 63px; --fo-logo-bas: 58px; --fo-bandeau-ratio: 7 / 1.35; }
  .fiche-outil__type { display: none; }
  .fiche-outil__bandeau { background-position: right center !important; background-size: cover !important; }
}
/* Mobile : logo des fiches outils remonté de 5 px */
@media (max-width: 640px) { :root { --fo-logo-bas: 53px; } }
/* Mobile : texte des paragraphes des articles à 14,2 px, interligne resserré (1,72 → 1,6) */
@media (max-width: 767px) {
  .lecture__corps .prose p, .lecture__corps .prose li { font-size: 13.7px; line-height: 1.6; }
}
/* Mobile : titres des articles −15 % (h1 29 → 24,7 px, h2 21 → 17,9 px, h3 22,8 → 19,4 px) */
@media (max-width: 767px) {
  .hero--article .hero__titre { font-size: 24.7px; }
  .lecture__corps .prose h2 { font-size: 17.9px; }
  .lecture__corps .prose h3 { font-size: 19.4px; }
}

/* Retours Simon 25/10 : logo des fiches outils jamais collé au bord de son cadre, marge intérieure ≈ 13 % du cadre
   (11 px pour 84 px, 8 px pour 63 px) ; fond blanc, ou couleur de la marque via « fond » dans logos.json (voir LOGOS.md) */
.fiche-outil__logo { padding: 7px; }
.fiche-outil__bandeau .fiche-outil__logo { padding: calc(var(--fo-logo) * .13); }

/* 10/11/2026 : une adresse longue (code) ne doit pas élargir la colonne de texte d’un duo image/texte */
.media-texte > * { min-width: 0; }
.prose code { overflow-wrap: anywhere; }
.media-texte > .prose { width: 100%; max-width: 100%; }
.prose .terminal { max-width: 100%; }
