/* ════════════════════════════════
   LES PAGES ÉDITORIALES, modèles, guides, comparatifs, notices, puis les pages
   qui les rassemblent. Le design de Canva, les couleurs de Vulata, voir le
   brief du 10 novembre 2026 puis design/CHARTE-UI.md. Aucune valeur en dur,
   des variables.

   ── Ce qui fait le ton de Canva, repris ici ──

   Des fonds blancs, des panneaux gris très clair aux coins ronds pour porter
   les aperçus, des titres en demi-gras de largeur normale, beaucoup d'air, de
   vraies miniatures de documents, un seul bouton plein par zone. Le titre du
   site, étiré à 110 % et très gras, se calme ici, voir « Les titres ».

   Elles empruntaient legal.css et ses anciennes classes, vides depuis le lot 11
   de l'UI. Le staging les montrait nues. Elles ont désormais leur feuille.
════════════════════════════════ */

/* ── Le fond ── Blanc, comme Canva. Chaque bande pose le sien, au-dessus des
   halos du site. */
.edito-tete, .edito-voirplus, .edito-barre, .edito-corps, .edito-types-bloc, .edito-galerie {
    position: relative;
    z-index: var(--z-raised);
    background: var(--surface);
}

/* ── Les titres ── Grands puis fins, comme ceux de l'accueil, --font-titre
   puis --fw-titre. Le titre d'une carte reste en demi-gras. */
.edito-tete h1, .edito-voirplus h2, .edito-section h2, .edito-faq h2, .edito-proches h2,
.edito-types-bloc h2 {
    font-family: var(--font-titre);
    font-weight: var(--fw-titre);
    letter-spacing: var(--ls-titre);
}
.edito-carte__titre {
    font-stretch: 100%;
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-tight);
}

/* ── L'en-tête ── */
.edito-tete { padding: var(--space-6) 0 var(--space-12); }
.edito-tete h1 {
    font-size: var(--fs-titre-section);
    line-height: var(--lh-titre);
    margin: var(--space-2) 0 var(--space-4);
    text-wrap: var(--coupe-titre);
}
.edito-tete__promesse {
    max-width: 58ch;
    margin-bottom: var(--space-6);
    font-size: var(--fs-lg);
    line-height: var(--lh-normal);
    color: var(--muted);
}
.edito-tete__grille {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: var(--space-12);
    margin-top: var(--space-5);
}
.edito-tete .v-eyebrow { font-size: var(--fs-sm); }

/* Le guide, le comparatif puis la page qui rassemble, centrés sur un lavis
   rose très pâle, là où Canva pose son lavande. */
/* Sur du blanc comme l'accueil, le lavis rose d'avant faisait la page pâle. */
.edito-tete--centre {
    padding: var(--space-12) 0 var(--space-16);
    background: var(--surface);
    text-align: center;
}
.edito-tete--centre h1 { max-width: 20ch; margin-inline: auto; }
.edito-tete--centre .edito-tete__promesse { margin-inline: auto; }
.edito-tete--centre .edito-fil,
.edito-tete--centre .edito-gestes,
.edito-tete--centre .edito-meta { justify-content: center; }

/* LES OUTILS, sur du blanc comme l'accueil, sans le lavis rose des guides. Leurs
   titres de section sont grands, leurs sections aérées, puis la barre du
   sommaire s'efface, une page outil est courte, l'outil en est le cœur. Une
   règle propre aux outils, « .edito--outil » sur l'article, aucune autre page
   ne change. Lot 2, 11 novembre 2026. */
.edito-tete--outil { background: var(--surface); }
.edito--outil .edito-barre { display: none; }
.edito--outil .edito-section + .edito-section { margin-top: var(--space-16); }
.edito--outil .edito-section--deux h2,
.edito--outil .edito-faq.edito-section--deux h2,
.edito--outil .edito-proches h2,
.edito--outil .edito-voirplus h2 { font-size: var(--fs-h2); }

/* Le fil d'Ariane vit dans fil.css, partagé avec les pages légales. */

.edito-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    margin-top: var(--space-8);
    font-size: var(--fs-sm);
    color: var(--muted);
}
.edito-meta span + span::before { content: '·'; margin-right: var(--space-4); }
.edito-meta span:first-child { color: var(--accent-dark); font-weight: var(--fw-semibold); }

.edito-gestes { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }

/* Les trois bénéfices d'un modèle, une icône dans une pastille, comme Canva. */
.edito-benefices { list-style: none; margin: var(--space-8) 0 0; padding: var(--space-6) 0 0; display: grid; gap: var(--space-4); border-top: 1px solid var(--border-neutral); }
.edito-benefices li { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-body); color: var(--text); }
.edito-benefices svg {
    flex: none;
    width: var(--space-6);
    height: var(--space-6);
    fill: none;
    stroke: var(--accent-dark);
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── L'aperçu ──
   Le visuel de la page quand le stratège en pose un. Sinon une miniature de
   document faite de son contenu, voir _apercu.html.twig. */
.edito-apercu { display: flex; justify-content: center; }
.edito-apercu img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}
/* Le modèle pose son document sur un grand panneau gris clair, à gauche. */
.edito-apercu--panneau {
    order: -1;
    align-items: center;
    min-height: 520px;
    padding: var(--space-12) var(--space-8);
    border-radius: var(--radius-xl);
    background: var(--surface-3);
    /* La feuille inclinée du document dessiné dépassait de 3 px au téléphone. */
    overflow: hidden;
}
/* Le vrai modèle, en grand, quelle que soit sa forme, une carte à l'italienne
   comme une story. */
.edito-apercu--modele img { width: auto; max-width: 100%; max-height: 540px; }
/* La carte d'une page proche montre la vignette du vrai modèle, entière,
   sur le gris du panneau, jamais rognée comme une photo. */
.edito-carte__visuel.edito-carte__visuel--modele { display: flex; align-items: center; justify-content: center; padding: var(--space-3); }
.edito-carte__visuel.edito-carte__visuel--modele img { width: auto; height: auto; max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border-radius: var(--radius-xs); box-shadow: var(--shadow-sm); }
/* Le guide pose le sien sous l'en-tête, sur un panneau large au dégradé de la
   marque, celui de la bande de l'accueil. Le dégradé pâle d'avant éteignait
   la page. */
.edito-apercu--large {
    align-items: center;
    max-width: 960px;
    min-height: 380px;
    margin: var(--space-12) auto 0;
    padding: var(--space-12) var(--space-8);
    border-radius: var(--radius-xl);
    background: var(--gradient-bande);
    overflow: hidden;
}
.edito-apercu--large img { max-width: 560px; }

/* ── La miniature de document ──
   Une couverture, sa bande de couleur, son type, son titre, son sommaire, puis
   une page intérieure derrière elle. La couleur suit le type. */
.edito-doc {
    --doc-couleur: var(--accent);
    --doc-pale: var(--illu-rose);
    --doc-encre: var(--on-accent);
    position: relative;
    width: 100%;
    max-width: 300px;
    text-align: left;
}
.edito-doc--guide, .edito-doc--notice { --doc-couleur: var(--jaune-braise); --doc-pale: var(--illu-creme); --doc-encre: var(--text); }
.edito-doc--comparatif { --doc-couleur: var(--text); --doc-pale: var(--surface-3); --doc-encre: var(--on-accent); }
.edito-doc__page {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    aspect-ratio: 1 / 1.414;
    padding: var(--space-5);
    overflow: hidden;
    border-radius: var(--radius-xs);
    background: var(--surface);
    box-shadow: var(--shadow-lg), var(--shadow-xs);
}
.edito-doc__bandeau {
    position: relative;
    display: block;
    height: 34%;
    margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-3);
    overflow: hidden;
    background: var(--doc-couleur);
}
.edito-doc__bandeau i {
    position: absolute;
    right: -10%;
    bottom: -40%;
    width: 60%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--doc-pale);
    opacity: 0.35;
}
.edito-doc--modele .edito-doc__bandeau { background: var(--gradient-accent); }
.edito-doc__type {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-caps);
    text-transform: uppercase;
    color: var(--accent-dark);
}
.edito-doc__titre {
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    color: var(--text);
    text-wrap: var(--coupe-titre);
}
.edito-doc__sommaire { display: grid; gap: var(--space-1); margin-top: var(--space-2); counter-reset: doc; }
.edito-doc__sommaire b {
    counter-increment: doc;
    display: block;
    overflow: hidden;
    padding-top: var(--space-1);
    border-top: 1px solid var(--border-neutral);
    font-size: var(--fs-xs);
    font-weight: var(--fw-regular);
    color: var(--muted);
    white-space: nowrap;
    text-overflow: ellipsis;
}
.edito-doc__sommaire b::before { content: counter(doc) '  '; color: var(--accent-dark); font-weight: var(--fw-semibold); }
.edito-doc__marque { margin-top: auto; font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--muted); }

/* La page intérieure, derrière la couverture, décalée vers la droite. */
.edito-doc__page--interieur {
    position: absolute;
    inset: 0;
    transform: translate(34%, 6%) rotate(5deg);
}
.edito-doc--heros .edito-doc__page--couv { transform: translateX(-12%) rotate(-3deg); }
.edito-doc__num { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--doc-couleur); }
.edito-doc--guide .edito-doc__num, .edito-doc--notice .edito-doc__num { color: var(--orange); }
.edito-doc__h { font-family: var(--font-display); font-size: var(--fs-body); font-weight: var(--fw-bold); line-height: var(--lh-snug); color: var(--text); }
.edito-doc__lignes { display: grid; gap: var(--space-2); margin-block: var(--space-2); }
.edito-doc__lignes i { display: block; height: 6px; border-radius: var(--radius-pill); background: var(--wash-strong); }
.edito-doc__lignes i:last-child { width: 62%; }
.edito-doc__puces { display: grid; gap: var(--space-1); }
.edito-doc__puces b {
    overflow: hidden;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-2xs);
    background: var(--doc-pale);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--text);
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Dans une vignette, la couverture seule, à 45 % de la largeur, ce qui la
   tient dans le panneau en 4/3, sans pencher, comme les vignettes de Canva. */
.edito-doc--carte { width: 45%; min-width: 0; max-width: none; }
.edito-doc--carte .edito-doc__page { min-width: 0; padding: var(--space-3); gap: var(--space-1); box-shadow: var(--shadow-md); }
.edito-doc--carte .edito-doc__bandeau { margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) var(--space-2); }
.edito-doc--carte .edito-doc__type { font-size: var(--fs-xs); letter-spacing: 0; }
.edito-doc--carte .edito-doc__titre { font-size: var(--fs-sm); }

/* ── Voir plus ── Les pages proches en vignettes, sous l'en-tête d'un modèle. */
.edito-voirplus { padding: var(--space-12) 0; }
.edito-voirplus h2 { margin-bottom: var(--space-5); font-size: var(--fs-h3); }
.edito-voirplus .edito-grille { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.edito-voirplus--fin { padding: var(--space-16) 0 0; background: none; }

/* ── La barre du sommaire ──
   Elle colle sous la barre du site au défilement, les sections à gauche, le
   bouton à droite. La section qu'on lit s'allume, voir le script de la page. */
.edito-barre {
    position: sticky;
    top: var(--nav-colle);
    z-index: var(--z-sticky);
    transition: top var(--t);
    border-block: 1px solid var(--border-neutral);
}
.edito-barre__rang { display: flex; align-items: center; gap: var(--space-4); min-height: var(--control-h-lg); }
.edito-barre__titre { flex: none; font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); }
.edito-barre__liens {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: var(--space-1);
    margin: 0;
    padding: var(--space-2) 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}
.edito-barre__liens::-webkit-scrollbar { display: none; }
/* UN FONDU AU BOUT, la rangée défile quand elle déborde, rien ne le disait. */
.edito-barre__liens { -webkit-mask-image: linear-gradient(to right, var(--text) calc(100% - var(--space-8)), transparent); mask-image: linear-gradient(to right, var(--text) calc(100% - var(--space-8)), transparent); }
.edito-barre__liens a {
    display: block;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-xs);
    font-size: var(--fs-sm);
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
}
.edito-barre__liens a:hover { background: var(--wash); color: var(--text); }
.edito-barre__liens a[aria-current] { background: var(--accent-soft); color: var(--accent-dark); font-weight: var(--fw-medium); }
.edito-barre__appel { flex: none; }
.edito-barre__appel .v-btn { min-height: var(--control-h-sm); padding: 0 var(--space-4); font-size: var(--fs-sm); }

/* ── Le corps ──
   Le modèle tient en une colonne de lecture. Le guide, le comparatif puis la
   notice posent le titre d'une section à gauche, son texte à droite. */
.edito-corps { padding: var(--space-12) 0 var(--section-y); }
.edito-colonne { max-width: 72ch; }

.edito-section { scroll-margin-top: calc(var(--nav-h) + var(--control-h-lg) + var(--space-4)); }
.edito-section + .edito-section { margin-top: var(--space-12); }
.edito-section h2 {
    margin-bottom: var(--space-4);
    font-size: var(--fs-h2);
    line-height: var(--lh-snug);
    text-wrap: var(--coupe-titre);
}
.edito-section p {
    margin-bottom: var(--space-4);
    font-size: var(--fs-body);
    line-height: var(--lh-normal);
    color: var(--text);
}
.edito-section--deux {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: var(--space-12);
    align-items: start;
}
.edito-section--deux:not(.edito-encadre) + .edito-section--deux:not(.edito-encadre) {
    padding-top: var(--space-12);
    border-top: 1px solid var(--border-neutral);
}
.edito-section--deux .edito-section__texte { max-width: 66ch; }
.edito-section--deux h2 { font-size: var(--fs-h3); }

/* Les puces, une coche de la marque devant chaque élément. */
.edito-puces { list-style: none; margin: var(--space-2) 0 var(--space-6); padding: 0; display: grid; gap: var(--space-3); }
.edito-puces li {
    position: relative;
    padding-left: var(--space-8);
    font-size: var(--fs-body);
    line-height: var(--lh-snug);
}
.edito-puces li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.2em;
    height: 1.2em;
    border-radius: 50%;
    background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C40A5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 60% no-repeat;
}

/* Les cartes, pour une longue liste de parties, numérotées comme un plan. */
.edito-cartes {
    list-style: none;
    margin: var(--space-2) 0 var(--space-6);
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
    gap: var(--space-3);
    counter-reset: carte;
}
.edito-cartes li {
    counter-increment: carte;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    line-height: var(--lh-snug);
}
.edito-cartes li::before {
    content: counter(carte, decimal-leading-zero);
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--accent-dark);
}

/* ── Les encadrés ──
   Discrets, comme les blocs de conseil de Canva. Le conseil de Vulata, la
   section « avec Vulata », puis les pièges, la section des erreurs. */
.edito-encadre {
    padding: var(--space-8);
    border-radius: var(--radius);
    background: var(--surface-2);
}
.edito-encadre p:last-of-type { margin-bottom: var(--space-4); }
.edito-encadre--piege { background: var(--orange-soft); }
.edito-encadre__etiquette {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--accent-dark);
}
.edito-encadre--piege .edito-encadre__etiquette { background: var(--surface); color: var(--orange-text); }

/* ── Le tableau d'un comparatif ──
   La colonne du site mise en avant en rose pâle, comme la formule
   recommandée d'une page de tarifs. Il défile seul sur un téléphone. */
.edito-comparaison { margin-top: var(--space-16); }
.edito-comparaison h2 { margin-bottom: var(--space-5); font-size: var(--fs-h2); font-stretch: 100%; font-weight: var(--fw-semibold); letter-spacing: var(--ls-tight); }
.edito-comparaison__defile { overflow-x: auto; border: 1px solid var(--border-neutral); border-radius: var(--radius); }
.edito-comparaison table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-sm); }
.edito-comparaison th, .edito-comparaison td { padding: var(--space-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-neutral); }
.edito-comparaison tbody tr:last-child th, .edito-comparaison tbody tr:last-child td { border-bottom: 0; }
.edito-comparaison thead th { font-size: var(--fs-body); font-weight: var(--fw-semibold); background: var(--surface-2); }
.edito-comparaison tbody th { width: 26%; font-weight: var(--fw-medium); color: var(--muted); }
.edito-comparaison__nous { background: var(--accent-soft); font-weight: var(--fw-medium); }
.edito-comparaison thead .edito-comparaison__nous { background: var(--action); color: var(--on-accent); }
.edito-comparaison__source { display: block; margin-top: var(--space-1); font-size: var(--fs-xs); color: var(--muted); }
.edito-comparaison__source:hover { color: var(--accent-dark); }

/* ── La FAQ, en accordéon ── */
.edito-faq { margin-top: var(--space-16); }
.edito-faq h2 { margin-bottom: var(--space-5); font-size: var(--fs-h2); }
.edito-faq.edito-section--deux h2 { font-size: var(--fs-h3); }

/* ── À lire aussi ── */
.edito-proches { margin-top: var(--space-16); }
.edito-proches h2 { margin-bottom: var(--space-5); font-size: var(--fs-h3); }
.edito-proches ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.edito-proches a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: var(--control-h);
    padding: 0 var(--space-4);
    border: 1px solid var(--border-control);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    text-decoration: none;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.edito-proches a::after { content: '→'; color: var(--accent-dark); }
.edito-proches a:hover { border-color: var(--border-control-hover); background: var(--wash); }
/* SUR UNE PAGE OUTIL, des liens de texte, non des pastilles. Les cartes d'outil
   juste dessous suffisent à la page en formes arrondies. */
.edito--outil .edito-proches ul { column-gap: var(--space-8); row-gap: var(--space-3); }
.edito--outil .edito-proches a {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: var(--fs-body);
}
.edito--outil .edito-proches a:hover { background: none; color: var(--accent-dark); }
.edito-maj { margin-top: var(--space-8); font-size: var(--fs-sm); color: var(--muted); }

/* ── Le bandeau de fin ── La bande commune, .v-bande-fin dans vulta.css, celle
   de l'accueil V3. */
/* Les pages SEO sont blanches (357:2), le bandeau en carte prend leur fond. */
main:has(.edito-tete, .edito-galerie, .edito-corps) { --fond-bande-fin: var(--surface); }

/* ── La galerie des modèles de l'éditeur ──
   Une mosaïque en colonnes, chaque aperçu entier dans sa proportion, comme la
   galerie de modèles de Canva. Le nom puis « Utiliser ce modèle » dessous.
   Sur la page de tous les modèles, une rangée par usage qui défile. Voir
   editoriales/_modeles.html.twig. */
/* UN SEUL CADRE POUR TOUTES LES CARTES, Public/Carte de modèle (360:270),
   280 sur 396, quatre colonnes de 300 à 24 puis 28 entre les rangs. Le modèle
   tient entier dans le cadre, quel que soit son format, sur le gris de la
   carte. La mosaïque de colonnes posait des cartes de hauteurs inégales,
   retour de Gabin du 18 novembre 2026. */
.v-modeles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--space-6) + var(--space-1)) var(--space-6); }
@media (max-width: 1024px) {
    .v-modeles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.v-modele { margin: 0; }
.v-modele[hidden] { display: none; }
.v-modele__apercu { display: block; aspect-ratio: var(--cadre-modele); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-xs); transition: transform var(--t), box-shadow var(--t); }
.v-modele__apercu img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Le cadre d'une liste suit son format le plus nombreux, _modeles.html.twig,
   qui pose sa proportion. Portrait, celui de la maquette. Une rangée plus
   large pour le paysage puis la bannière. */
.v-modeles--cadre-paysage.v-modeles--rangee { --carte-modele-rang: var(--carte-modele-rang-paysage); --carte-modele-rang-tel: var(--carte-modele-rang-paysage-tel); }
.v-modeles--cadre-banniere.v-modeles--rangee { --carte-modele-rang: var(--carte-modele-rang-banniere); --carte-modele-rang-tel: var(--carte-modele-rang-banniere-tel); }
/* Un modèle d'un autre format que le cadre se pose sur le gris de la carte,
   centré, sa marge, son ombre, comme une feuille sur une table. Collé au
   bord, il faisait une bande au milieu d'un vide. */
.v-modele--hors-cadre .v-modele__apercu { display: flex; align-items: center; justify-content: center; padding: var(--space-4); }
.v-modele--hors-cadre .v-modele__apercu img { width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: var(--radius-xs); box-shadow: var(--shadow-sm); }
.v-modele__apercu:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.v-modele__apercu:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.v-modele__pied { display: flex; flex-direction: column; gap: var(--space-1); margin-top: var(--space-3); }
.v-modele__nom { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: var(--fw-semibold); line-height: var(--lh-snug); color: var(--text); }
.v-modele__utiliser { flex: none; font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--accent-dark); text-decoration: none; white-space: nowrap; }
.v-modele__utiliser:hover { text-decoration: underline; }

/* L'aperçu agrandi au survol, posé sur la page, voir rubrique.html.twig. */
.v-loupe {
    position: fixed;
    z-index: var(--z-dropdown);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-3);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    pointer-events: none;
    animation: v-loupe-entre var(--t) both;
}
.v-loupe[hidden] { display: none; }
.v-loupe img { display: block; border-radius: var(--radius-xs); object-fit: contain; }
.v-loupe span { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); }
@keyframes v-loupe-entre { from { opacity: 0; transform: scale(0.96); } }
@media (prefers-reduced-motion: reduce) {
    .v-loupe { display: none; }
}

/* ── L'aperçu au clic ── Une fenêtre, l'aperçu en grand, son nom puis
   « Utiliser ce modèle », précédent et suivant. Voir rubrique.html.twig puis
   design/chantiers/GALERIE-MODELES.md, étape 4. */
.v-apercu { margin: auto; width: min(960px, calc(100vw - var(--space-8))); max-height: calc(100vh - var(--space-8)); padding: 0; border: 0; border-radius: var(--radius-xl); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); overflow: hidden; }
.v-apercu::backdrop { background: var(--overlay); }
.v-apercu[open] { animation: v-loupe-entre var(--t) both; }
.v-apercu__boite { position: relative; display: flex; flex-direction: column; max-height: calc(100vh - var(--space-8)); }
.v-apercu__fermer { position: absolute; top: var(--space-3); right: var(--space-3); z-index: var(--z-raised); display: grid; place-items: center; width: var(--control-h); height: var(--control-h); border: 0; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-md); cursor: pointer; }
.v-apercu__fermer svg, .v-apercu__fleche svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-apercu__scene { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; flex: 1; padding: var(--space-10) var(--space-16); background: var(--surface-2); }
.v-apercu__image { display: block; max-width: 100%; max-height: calc(100vh - 260px); width: auto; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.v-apercu__fleche { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: var(--control-h-lg); height: var(--control-h-lg); border: 0; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-md); cursor: pointer; }
.v-apercu__fleche--avant { left: var(--space-4); }
.v-apercu__fleche--apres { right: var(--space-4); }
.v-apercu__fleche[hidden] { display: none; }
.v-apercu__fermer:focus-visible, .v-apercu__fleche:focus-visible { outline: var(--focus-carte); outline-offset: 2px; }
.v-apercu__pied { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-6); }
.v-apercu__nom { font-family: var(--font-body); font-size: var(--fs-lg); font-weight: var(--fw-semibold); line-height: var(--lh-snug); }
.v-apercu__pages { margin-top: var(--space-1); font-size: var(--fs-sm); color: var(--muted); }
.v-apercu__pages:empty { display: none; }
.v-apercu__gestes { display: flex; flex: none; align-items: center; gap: var(--space-2); }
.v-apercu__page[hidden] { display: none; }
@media (max-width: 768px) {
    .v-apercu { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100dvh; border-radius: 0; }
    .v-apercu__boite { height: 100%; max-height: none; }
    .v-apercu__scene { padding: var(--space-16) var(--space-4) var(--space-6); }
    .v-apercu__image { max-height: calc(100dvh - 300px); }
    .v-apercu__fleche { top: auto; bottom: var(--space-3); transform: none; width: var(--control-h); height: var(--control-h); }
    .v-apercu__pied { flex-direction: column; align-items: stretch; padding: var(--space-4); }
    .v-apercu__gestes { flex-direction: column-reverse; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
    .v-apercu[open] { animation: none; }
}

/* Une rangée par usage, les aperçus à la même hauteur, au doigt sur téléphone. */
.v-modeles-rang + .v-modeles-rang { margin-top: var(--space-12); }
.v-modeles-rang h2 { margin-bottom: var(--space-5); font-family: var(--font-titre); font-size: var(--fs-h2); font-weight: var(--fw-titre); letter-spacing: var(--ls-titre); }
.v-modeles-rang h2 a { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text); text-decoration: none; }
.v-modeles-rang h2 a:hover { color: var(--accent-dark); }
.v-modeles-rang h2 svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-modeles--rangee { display: flex; gap: var(--space-4); width: max-content; padding-bottom: var(--space-2); }
.v-modeles--rangee .v-modele { flex: none; margin: 0; }
@media (max-width: 768px) {
    .v-modeles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-3); }
}
@media (prefers-reduced-motion: reduce) {
    .v-modele__apercu { transition: none; }
    .v-modele__apercu:hover { transform: none; }
}

/* ── La page qui rassemble ──
   La recherche, les pastilles des rubriques, les types de documents, puis une
   grille de vignettes, comme la galerie de modèles de Canva. */
.edito-recherche {
    position: relative;
    max-width: 640px;
    margin: 0 auto var(--space-5);
}
.edito-recherche svg {
    position: absolute;
    left: var(--space-5);
    top: 50%;
    width: var(--space-5);
    height: var(--space-5);
    transform: translateY(-50%);
    fill: none;
    stroke: var(--muted);
    stroke-width: 2;
    stroke-linecap: round;
}
.edito-recherche input {
    width: 100%;
    min-height: var(--control-h-lg);
    padding: 0 var(--space-5) 0 var(--space-12);
    border: 1px solid var(--border-control);
    border-radius: var(--radius-control);
    background: var(--surface);
    font: inherit;
    font-size: var(--fs-body);
    color: var(--text);
}
.edito-recherche input:focus { outline: none; border-color: var(--action); box-shadow: var(--focus-ring); }

.edito-rubriques { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.edito-pastille {
    display: inline-flex;
    align-items: center;
    min-height: var(--control-h-sm);
    padding: 0 var(--space-4);
    border: 1px solid var(--border-control);
    border-radius: var(--radius-pill);
    background: var(--surface);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text);
    text-decoration: none;
}
.edito-pastille:hover { background: var(--wash); }
.edito-pastille[aria-current], .edito-pastille[aria-pressed="true"] { border-color: var(--accent-soft); background: var(--accent-soft); color: var(--accent-dark); }
/* « Voir aussi », les familles voisines (FamilleDeDocument::voisines). Un titre
   de section puis une tuile colorée par famille, sa flèche au bout, comme les
   catégories de Canva. Les couleurs tournent, quatre aplats de la charte. */
.edito-voisines {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-neutral);
}
.edito-voisines__titre {
    grid-column: 1 / -1;
    margin-bottom: var(--space-1);
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--text);
}
.edito-voisines .edito-pastille {
    position: relative;
    overflow: hidden;
    justify-content: space-between;
    gap: var(--space-3);
    min-height: 88px;
    padding: var(--space-4) var(--space-5);
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--aplat-violet);
    font-size: var(--fs-body);
    font-weight: var(--fw-bold);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.edito-voisines .edito-pastille:nth-of-type(4n + 2) { background: var(--aplat-rose); }
.edito-voisines .edito-pastille:nth-of-type(4n + 3) { background: var(--aplat-orange); }
.edito-voisines .edito-pastille:nth-of-type(4n + 4) { background: var(--aplat-bleu); }
.edito-voisines .edito-pastille::after {
    content: "→";
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--wash-blanc-fort);
    font-weight: var(--fw-regular);
    transition: transform var(--t-fast);
}
.edito-voisines .edito-pastille:hover { background-image: linear-gradient(var(--wash-blanc), var(--wash-blanc)); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.edito-voisines .edito-pastille:hover::after { transform: translateX(3px); }
.edito-voisines .edito-pastille:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 768px) {
    .edito-voisines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
    .edito-voisines .edito-pastille { min-height: 72px; padding: var(--space-3) var(--space-4); font-size: var(--fs-sm); }
    .edito-voisines .edito-pastille::after { width: 28px; height: 28px; }
}
/* Les pastilles d'occasion, au-dessus de la grille. Elles défilent au doigt. */
.edito-occasions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
@media (max-width: 768px) {
    .edito-occasions { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--space-4)) var(--space-6); padding: 0 var(--space-4) var(--space-1); scrollbar-width: none; }
    .edito-occasions::-webkit-scrollbar { display: none; }
    .edito-occasions .edito-pastille { flex: none; }
}
.edito-pastille { font-family: inherit; cursor: pointer; }

/* La rangée des types de documents, ses cartes vivent dans vulta.css. */
.edito-types-bloc { padding: var(--space-4) 0 var(--space-8); }
.edito-types-bloc h2 { margin-bottom: var(--space-6); font-size: var(--fs-h2); }

.edito-galerie { padding: var(--space-4) 0 var(--section-y); }
.edito-grille {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: var(--space-8) var(--space-5);
}
.edito-carte {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.edito-carte__visuel {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    margin-bottom: var(--space-3);
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--surface-3);
    transition: background var(--t-fast);
}
.edito-carte__visuel img { width: 100%; height: 100%; object-fit: cover; }
.edito-carte__visuel .edito-doc { transition: transform var(--t-fast); }
.edito-carte:hover .edito-carte__visuel { background: var(--wash-strong); }
.edito-carte:hover .edito-doc { transform: translateY(-4px); }
.edito-carte__type {
    margin-bottom: var(--space-1);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--muted);
}
.edito-carte__titre { margin-bottom: var(--space-1); font-size: var(--fs-body); line-height: var(--lh-snug); text-wrap: var(--coupe-titre); }
.edito-voirplus .edito-carte__titre { font-size: var(--fs-sm); }
.edito-carte p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: var(--fs-sm);
    line-height: var(--lh-normal);
    color: var(--muted);
}
.edito-carte:focus-visible { outline: none; }
.edito-carte:focus-visible .edito-carte__visuel { box-shadow: var(--focus-ring); }
.edito-aucun { padding: var(--space-8) 0; text-align: center; color: var(--muted); }
.edito-aucun .v-btn { display: flex; width: max-content; margin: var(--space-4) auto 0; }

/* ── L'outil ── Lot 2 de la feuille de route. Une carte blanche, nette, la
   scène où l'outil se monte, puis le bouton vers l'éditeur sous un filet, comme
   les outils gratuits de Canva. Le panneau au lavis pastel qui l'entourait se
   lisait pâle, retiré le 11 novembre 2026. */
.outil {
    max-width: 960px;
    margin: 0 auto;
    border: 1px solid var(--border-neutral);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.outil__scene {
    min-height: 360px;
    background: var(--surface);
}
.outil__suite {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    border-top: 1px solid var(--border-neutral);
}
.outil__suite p { font-size: var(--fs-body); font-weight: var(--fw-semibold); }
.outil__suite .v-btn { flex: none; gap: var(--space-2); }
.outil__suite svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Un résultat prêt, le bouton appelle le geste suivant. */
.outil--pret .outil__suite .v-btn { box-shadow: var(--shadow-accent); }

.edito-tete--outil .outil { margin-top: var(--space-8); text-align: left; }

/* L'état vide, une zone de dépôt au repos. */
.outil-vide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 360px;
    margin: var(--space-4);
    padding: var(--space-8);
    border: 2px dashed var(--border-control);
    border-radius: var(--radius);
    text-align: center;
    color: var(--muted);
}
.outil-vide__icone {
    display: grid;
    place-items: center;
    width: var(--space-16);
    height: var(--space-16);
    margin-bottom: var(--space-2);
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
}
.outil-vide__icone svg { width: 28px; height: 28px; }
.outil-vide__titre { font-size: var(--fs-lg); font-weight: var(--fw-semibold); color: var(--text); }
/* Le bouton de la zone de dépôt, comme chez Canva puis Adobe Express. Il se voit
   seulement, la zone entière reçoit le clic, voir outils/_depot.html.twig. */
.outil-vide__bouton { margin: var(--space-3) 0 var(--space-1); pointer-events: none; }

/* ── Les outils eux-mêmes ── Lot 2, la part du dev-fonctions. L'état vide sert
   de zone de dépôt, qu'on clique ou qu'on survole d'un fichier. Puis l'aperçu
   à gauche, les réglages à droite, l'un sous l'autre au téléphone. Voir
   templates/outils/ puis public/js/vulta-outils.js. */
.outil-depot { cursor: pointer; transition: border-color 0.15s, background 0.15s; }
/* « hidden » perdait contre leur affichage en flex puis en grille. */
.outil-depot[hidden], .outil-resultat[hidden] { display: none; }
.outil-depot:hover, .outil-depot.is-survol, .outil-depot:focus-visible { border-color: var(--accent); background: var(--accent-soft); outline: none; }
.outil-erreur { margin: 0 var(--space-4) var(--space-4); color: var(--red); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
/* Les choix d'un outil, la maquette et ses trois scènes. Le choix pressé se
   voit, il ne se voyait pas, signalé par le dev-fonctions (LOT-OUTIL-MAQUETTE). */
.outil-choix { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.outil-choix [aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
/* L'appel d'un outil vers une création, un bandeau doux dans la marge de la
   boîte, aligné sur la zone de dépôt puis sur l'aperçu. Il collait au bord. */
.outil-appel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin: 0 var(--space-4) var(--space-4);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    font-size: var(--fs-sm);
    color: var(--muted);
}
.outil-appel .v-btn { flex: none; }
.outil-boite:has(.outil-resultat:not([hidden])) .outil-appel { margin-inline: var(--space-6); }
.outil-resultat { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-6); padding: var(--space-6); }
.outil-apercu {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    /* Le damier dit la transparence, comme dans tout outil d'image. */
    background: repeating-conic-gradient(var(--wash) 0% 25%, var(--surface) 0% 50%) 50% / 16px 16px;
}
.outil-reglages { display: flex; flex-direction: column; gap: var(--space-4); }
.outil-reglage { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); }
.outil-reglage output { color: var(--accent-dark); }
.outil-reglage select, .outil-reglage input[type="number"], .outil-reglage input[type="text"], .outil-reglage input[type="email"], .outil-reglage textarea { padding: var(--space-2) var(--space-3); border: 1px solid var(--border-control); border-radius: var(--radius-sm); background: var(--surface); font: inherit; font-weight: var(--fw-regular); }
.outil-bilan { font-size: var(--fs-body); color: var(--text); }
.outil-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.outil-actions .outil-reglage { flex: 1; min-width: 0; }
.outil-case { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-sm); color: var(--text); }
/* Les curseurs puis les cases des outils prennent l'action de la charte, comme .v-check, ils
   gardaient le bleu du navigateur (coins arrondis, PNG transparent, compresser, ISBN, affiche). */
.outil-boite input[type="range"], .outil-boite input[type="checkbox"] { accent-color: var(--action); }
.outil-boite input[type="range"] { width: 100%; }
.outil-reglage[hidden], .outil-actions[hidden] { display: none; }
/* Une pastille compacte, non une barre pleine largeur. Blanche, la barre se lisait comme un
   champ de texte vide (filigrane, coins arrondis, PNG transparent, QR code). */
.outil-reglage input[type="color"] { width: var(--space-16); height: var(--space-10); padding: var(--space-1); border: 1px solid var(--border-control); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.outil-apercu--pipette { cursor: crosshair; }
.outil-reglage textarea { resize: vertical; }
/* La palette, une pastille par couleur, son code dessous, copiable d'un clic. */
.outil-couleurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.outil-couleur { display: flex; flex-direction: column; gap: var(--space-1); width: 100%; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.outil-couleur__pastille { display: block; height: var(--space-12); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--couleur); }
.outil-couleur__code { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text); }
.outil-couleur:hover .outil-couleur__pastille, .outil-couleur:focus-visible .outil-couleur__pastille { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Image en PDF, les pages dans leur ordre, voir design/chantiers/LOT-OUTIL-IMAGE-EN-PDF.md. */
.outil-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-3); align-content: start; margin: 0; padding: 0; list-style: none; }
.outil-page { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-2); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.outil-page__image { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--surface-2); border-radius: var(--radius-sm); }
.outil-page__rang { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--muted); text-align: center; }
.outil-page__gestes { display: flex; justify-content: center; gap: var(--space-1); }
/* Les gestes d'une page se voient puis se touchent, ils tenaient en vingt pixels pâles. */
.outil-page__gestes .v-btn { min-width: var(--control-h-sm); min-height: var(--control-h-sm); padding: 0; font-size: var(--fs-lg); color: var(--text); }
/* Recadrer, l'image puis son cadre, voir design/chantiers/LOT-OUTIL-RECADRER.md. */
.outil-recadre { position: relative; align-self: start; justify-self: center; max-width: 100%; overflow: hidden; border-radius: var(--radius-sm); touch-action: none; user-select: none; }
.outil-recadre__image { display: block; max-width: 100%; max-height: 70vh; width: auto; height: auto; }
.outil-recadre__cadre { position: absolute; box-sizing: border-box; border: 2px solid var(--surface); outline: 100vmax solid var(--overlay); cursor: move; }
.outil-recadre__cadre:focus-visible { border-color: var(--accent); }
.outil-recadre__cadre--cercle { border-radius: 50%; }
.outil-recadre__coin { position: absolute; width: var(--space-4); height: var(--space-4); background: var(--surface); border: 2px solid var(--accent); border-radius: 50%; }
.outil-recadre__coin--no { top: var(--space-1); left: var(--space-1); cursor: nwse-resize; }
.outil-recadre__coin--ne { top: var(--space-1); right: var(--space-1); cursor: nesw-resize; }
.outil-recadre__coin--so { bottom: var(--space-1); left: var(--space-1); cursor: nesw-resize; }
.outil-recadre__coin--se { bottom: var(--space-1); right: var(--space-1); cursor: nwse-resize; }
/* Flouter, les zones tracées à la main sur l'image, voir design/chantiers/LOT-OUTIL-FLOUTER.md. */
.outil-flou { cursor: crosshair; }
.outil-flou__zone { position: absolute; box-sizing: border-box; border: 2px dashed var(--surface); outline: 1px solid var(--overlay); }
.outil-flou__zone--trace { border-color: var(--accent); }
.outil-flou__oter { position: absolute; top: var(--space-1); right: var(--space-1); width: var(--space-6); height: var(--space-6); padding: 0; border: 0; border-radius: 50%; background: var(--surface); color: var(--text); font: inherit; font-weight: var(--fw-semibold); line-height: 1; cursor: pointer; }
.outil-flou__oter:focus-visible { outline: none; box-shadow: var(--focus-ring); }
/* Les marges KDP, la double page dessinée, voir design/chantiers/LOT-OUTIL-MARGES-KDP.md. */
.outil-kdp__page { fill: var(--surface); stroke: var(--border-control); stroke-width: 0.6; }
.outil-kdp__zone { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 0.5; stroke-dasharray: 2 1.5; }
/* Les chiffres des marges portent deux mesures (« 6 × 9 in · 152,4 × 228,6 mm »), trop longues
   pour la taille des compteurs, ils se coupaient au milieu d'un nombre. Taille courante, coupe équilibrée. */
[data-outil-boite="marges-kdp"] .outil-chiffre dd { font-size: var(--fs-body); line-height: var(--lh-snug); text-wrap: var(--coupe-titre); }
/* La croix se dessine en 24 px mais se touche sur 44, la mesure du doigt. Le pseudo-élément
   déborde de dix pixels de chaque côté, le dessin ne bouge pas. */
.outil-flou__oter::before { content: ""; position: absolute; inset: calc(-1 * var(--space-2) - 2px); border-radius: 50%; }
/* Changer le DPI, la note puis la calculette, voir design/chantiers/LOT-OUTIL-RESOLUTION.md. */
.outil-note { font-size: var(--fs-sm); color: var(--muted); }
.outil-calcul { display: flex; flex-direction: column; gap: var(--space-3); margin: 0 var(--space-6) var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.outil-calcul__titre { font-size: var(--fs-body); font-weight: var(--fw-semibold); color: var(--text); }
/* Le compteur de mots, ses chiffres, voir design/chantiers/LOT-OUTIL-COMPTEUR.md. */
.outil-compteur__champ textarea { min-height: 18rem; }
.outil-chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: 0; }
.outil-chiffre { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.outil-chiffre dt { font-size: var(--fs-xs); color: var(--muted); }
.outil-chiffre dd { margin: 0; font-size: var(--fs-lg); font-weight: var(--fw-semibold); color: var(--text); font-variant-numeric: tabular-nums; }
/* Un nombre impair de chiffres, le dernier prend la rangée entière plutôt que de rester seul à gauche. */
.outil-chiffre:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ── La page des outils ── Une carte par outil, l'icône sur un carré teinté,
   le titre, la promesse, « Essayer l'outil ». */
.outils-grille {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: var(--space-4);
}
/* LES GROUPES D'OUTILS, par usage, comme la page des outils gratuits de Canva.
   Un titre sobre, un filet, puis la grille. Voir outils/_grille.html.twig. */
.outils-groupe + .outils-groupe { margin-top: var(--space-12); }
/* Les sauts vers les groupes, des pastilles en tête de la grille, l'ancre laisse
   la place de l'en-tête fixe. */
.outils-sauts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-bottom: var(--space-8); }
.outils-groupe { scroll-margin-top: var(--space-20); }
.outils-groupe__titre { margin: 0 0 var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--border-neutral); font-size: var(--fs-h3); font-weight: var(--fw-semibold); letter-spacing: var(--ls-tight); }
.outil-carte {
    /* Couchée partout, l'icône à gauche, la promesse dessous. Debout, vingt-deux
       outils tenaient huit rangées de grandes cartes, comme une liste sans ordre. */
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: var(--space-4);
    row-gap: var(--space-1);
    align-items: start;
    height: 100%;
    padding: var(--space-4) var(--space-5);
    border: 1px solid var(--border-neutral);
    border-radius: var(--radius-xl);
    background: var(--surface);
    color: inherit;
    text-decoration: none;
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.outil-carte > :not(.outil-carte__icone) { grid-column: 2; }
.outil-carte:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* « Pour aller plus loin » pose les outils puis les pages, deux grilles qui se suivent. */
.outils-grille + .edito-grille { margin-top: var(--space-6); }
.outil-carte:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.outil-carte__icone {
    grid-row: span 3;
    display: grid;
    place-items: center;
    width: var(--space-12);
    height: var(--space-12);
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--on-accent);
}
.outil-carte__icone svg { width: 24px; height: 24px; }
.outil-carte__titre { font-size: var(--fs-lg); font-weight: var(--fw-semibold); font-stretch: 100%; letter-spacing: var(--ls-tight); }
.outil-carte p { flex: 1; font-size: var(--fs-sm); line-height: var(--lh-normal); color: var(--muted); }
.outil-carte__essai { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--accent-dark); }
.outil-carte__essai svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1024px) {
    .edito-tete__grille { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
    .edito-apercu--panneau { order: 2; min-height: 0; }
    /* LA PAGE D'UN MODÈLE AU TÉLÉPHONE, LE TITRE, LE MODÈLE, LE BOUTON. Le
       modèle venait sous la promesse puis les trois avantages, à 750 px sur
       844, on n'en voyait que le haut. Canva ouvre sur le modèle. La colonne
       du texte s'efface (display: contents), ses enfants puis le panneau se
       rangent en une pile, le HTML ne bouge pas, la lecture d'écran non plus.
       Le modèle tient dans 40 % de l'écran, le bouton reste au premier. */
    .edito-tete__grille--modele { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .edito-tete__grille--modele > div:not(.edito-apercu) { display: contents; }
    .edito-tete__grille--modele .v-eyebrow { order: 1; }
    .edito-tete__grille--modele h1 { order: 2; margin-bottom: var(--space-4); }
    .edito-tete__grille--modele .edito-apercu--panneau { order: 3; margin-bottom: var(--space-4); padding: var(--space-5); }
    .edito-tete__grille--modele .edito-apercu--modele img { max-height: 40vh; }
    .edito-tete__grille--modele .edito-gestes { order: 4; margin-bottom: var(--space-5); }
    .edito-tete__grille--modele .edito-tete__promesse { order: 5; }
    .edito-tete__grille--modele .edito-benefices { order: 6; }
    .edito-section--deux { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 768px) {
    .outil { padding: var(--space-3); }
    .outil__suite { flex-direction: column; align-items: stretch; text-align: center; }
    .outil-vide { min-height: 260px; margin: var(--space-3); padding: var(--space-6) var(--space-4); }
    /* La scène suit la zone de dépôt, plus courte au téléphone, sans un vide dessous. */
    .outil__scene { min-height: 0; }
    .outil-resultat { grid-template-columns: minmax(0, 1fr); padding: var(--space-4); }
    .outil-appel, .outil-boite:has(.outil-resultat:not([hidden])) .outil-appel { margin: 0 var(--space-3) var(--space-3); text-align: center; justify-content: center; }
    .outil-appel .v-btn { width: 100%; }
    /* Au téléphone, la carte d'outil se couche, l'icône à gauche, comme la page
       des outils gratuits de Canva. Debout, huit outils tenaient sept écrans. */
    .outils-grille { gap: var(--space-3); }
    .outil-carte { padding: var(--space-4); }
    .outils-groupe + .outils-groupe { margin-top: var(--space-8); }
    .edito-tete { padding: var(--space-5) 0 var(--space-10); }
    .edito-cartes li { padding: var(--space-3); }
    .edito-gestes .v-btn { width: 100%; }
    .edito-barre__titre, .edito-barre__appel { display: none; }
    .edito-encadre { padding: var(--space-6) var(--space-5); }
    .edito-apercu--panneau, .edito-apercu--large { padding: var(--space-8) var(--space-5); }
    .edito-doc { max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
    .edito-doc__page, .edito-carte__visuel .edito-doc { transform: none; transition: none; }
}

/* ══════════════════════════════════════════════════════════════
   AU TÉLÉPHONE, LES MODÈLES D'ABORD, comme chez Canva.

   Sur une page de famille, la grille des modèles ne commençait qu'à 673 px
   d'un écran de 844, sous l'en-tête puis le carrousel des familles. Le
   visiteur venu d'une publicité voyait des pastilles, non des modèles.
   Relevé en jouant le premier client américain le 14 novembre 2026,
   design/chantiers/PREMIER-CLIENT.md.

   Les pages d'une famille seules (« --famille »). Celle de tous les modèles
   garde le carrousel en tête, c'est sa navigation.

   L'ORDRE DU CODE NE BOUGE PAS, seul l'affichage. Les moteurs lisent la
   page comme avant, le carrousel des familles passe sous la grille, puis
   « Voir aussi » garde ses liens plus bas. Les pastilles des rubriques
   tiennent sur une ligne qui défile au doigt.
   ══════════════════════════════════════════════════════════════ */
/* LA GRILLE D'ABORD, SUR TOUS LES ÉCRANS. À l'ordinateur aussi, une page de
   famille ne montrait aucun modèle entier dans un écran de 900 px, sous
   l'en-tête, le carrousel puis deux lignes d'occasions. Relevé le 14 novembre
   2026 sur les pages où arrivent les publicités américaines,
   design/chantiers/ARRIVEE-PUB.md. */
#main-content:has(> .edito-types-bloc + .edito-galerie--famille) { display: flex; flex-direction: column; }
#main-content:has(> .edito-types-bloc + .edito-galerie--famille) > .edito-tete { order: -2; }
#main-content:has(> .edito-types-bloc + .edito-galerie--famille) > .edito-galerie { order: -1; }

/* Au-dessus des modèles, l'en-tête se resserre, la grille ou le carrousel
   vient tout de suite. Les guides puis les outils gardent leur air. */
.edito-tete:has(+ .edito-types-bloc) { padding-top: var(--space-3); padding-bottom: var(--space-5); }

/* LES OCCASIONS SUR UNE LIGNE, partout. À l'ordinateur elles tenaient deux
   lignes avant le premier modèle. La ligne défile, un fondu à droite dit
   qu'il y en a d'autres. */
.edito-occasions {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, var(--text) 92%, transparent);
    mask-image: linear-gradient(to right, var(--text) 92%, transparent);
}
.edito-occasions::-webkit-scrollbar { display: none; }
.edito-occasions .edito-pastille { flex: none; }

@media (max-width: 720px) {
    .edito-tete--centre .edito-rubriques {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin: 0 calc(-1 * var(--space-4));
        padding: 0 var(--space-4);
        scrollbar-width: none;
    }
    .edito-tete--centre .edito-rubriques::-webkit-scrollbar { display: none; }
    .edito-tete--centre .edito-rubriques .edito-pastille { flex: none; }
}

/* LA PAGE DE TOUS LES MODÈLES, sa première rangée dans le premier écran.
   Le carrousel des familles y reste en tête, c'est sa navigation, mais il se
   resserre, son intertitre se tait à l'œil (les lecteurs d'écran le lisent
   toujours), comme la rangée des catégories de Canva. Il manquait 110 px
   pour voir un modèle entier à 900 px de haut. ARRIVEE-PUB.md. */
.edito-types-bloc:has(+ .edito-galerie:not(.edito-galerie--famille)) { padding-bottom: var(--space-4); }
.edito-types-bloc:has(+ .edito-galerie:not(.edito-galerie--famille)) h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.edito-galerie:not(.edito-galerie--famille) .edito-occasions { margin-bottom: var(--space-4); }

/* ════════════════════════════════
   LA REFONTE DU 17 NOVEMBRE 2026, maquette Figma « Public · Pages SEO »,
   accueil des modèles (371:1097). Le haut de page en dégradé volcan, l'en-tête
   posé dessus, voir .navbar--bandeau dans vulta.css. Une famille de modèles
   prend le même haut, son gabarit suit au lot d'après.
════════════════════════════════ */
/* « .edito-tete.edito-tete--degrade », la règle qui resserre l'en-tête au-dessus
   des modèles, .edito-tete:has(+ .edito-types-bloc), ne doit pas la vaincre. */
.edito-tete.edito-tete--degrade {
    z-index: calc(var(--z-raised) + 1);
    margin-top: calc(-1 * var(--nav-h));
    padding: calc(var(--nav-h) + var(--space-12)) 0 var(--space-16);
    border-radius: 0 0 var(--radius-bande) var(--radius-bande);
    background: var(--gradient-bande);
    color: var(--on-accent);
}
.edito-tete--degrade h1 { max-width: 16ch; font-size: var(--fs-titre-accueil); font-weight: var(--fw-medium); color: var(--on-accent); }
.edito-tete--degrade .edito-tete__promesse { max-width: 640px; color: var(--on-accent); }
.edito-tete--degrade .edito-fil, .edito-tete--degrade .edito-fil a { color: var(--on-accent); }
/* La recherche en pilule blanche, l'ombre lg, comme celle de l'accueil. */
.edito-tete--degrade .edito-recherche input { border: 0; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); }
/* Les puces de rubrique sur le dégradé, l'active blanche au texte d'action,
   les autres en verre, composant Public/Puce, Fond=Dégradé. */
.edito-tete--degrade .edito-pastille { border-color: var(--wash-blanc-fort); background: var(--wash-blanc); color: var(--on-accent); }
.edito-tete--degrade .edito-pastille:hover { background: var(--wash-blanc-fort); }
.edito-tete--degrade .edito-pastille[aria-current] { border-color: var(--surface); background: var(--surface); color: var(--action); }

/* Les familles, composant Public/Tuile de famille, le fond pastel rose au survol. */
.edito-types-bloc .v-type { align-items: center; font-weight: var(--fw-medium); text-align: center; }
.edito-types-bloc .v-type:hover .v-type__visuel { background: var(--pastel-rose); }

/* « Par occasion » puis ses pastilles, chacune son pastel. */
.edito-occasions { align-items: center; gap: var(--space-3); }
.edito-occasions__titre { flex: none; margin-right: var(--space-1); font-size: var(--fs-titre-s); font-weight: var(--fw-semibold); color: var(--text); }
.edito-occasions .edito-pastille { border: 0; }
.edito-pastille--rose { background: var(--pastel-rose); color: var(--action); }
.edito-pastille--orange { background: var(--pastel-orange); color: var(--teinte-orange); }
.edito-pastille--violet { background: var(--pastel-violet); color: var(--teinte-violet); }
.edito-occasions .edito-pastille[aria-pressed="true"] { background: var(--action); color: var(--on-accent); }

/* Une rangée par famille, son titre en Titre M, « Tout voir » à droite. */
.v-modeles-rang__tete { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); }
.v-modeles-rang__tete h2 { margin-bottom: 0; font-size: var(--fs-titre-m); font-weight: var(--fw-medium); }
.v-modeles-rang__tout { flex: none; font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--action); text-decoration: none; }
.v-modeles-rang__tout:hover { text-decoration: underline; }
/* Les cartes d'une rangée, 236 de large chacune, le même cadre que la grille,
   « Rangée · Affiches » (371:1200), 20 entre elles. */
/* La rangée va jusqu'au bord droit de l'écran par le carrousel commun,
   --carrousel-deborde, la marge du contenu. */
.edito-galerie { overflow-x: clip; --carrousel-deborde: max(var(--space-6), calc((100vw - var(--container)) / 2 + var(--space-6))); }
.v-modeles--rangee { gap: var(--space-5); }
.v-modeles--rangee .v-modele { width: var(--carte-modele-rang); }
.v-modeles--rangee .v-modele__nom { font-size: var(--fs-titre-carte); }
@media (max-width: 768px) {
    .edito-tete.edito-tete--degrade { padding: calc(var(--nav-h) + var(--space-8)) 0 var(--space-10); border-radius: 0 0 calc(var(--radius) + var(--space-3)) calc(var(--radius) + var(--space-3)); }
    .v-modeles-rang__tete h2 { font-size: var(--fs-h2); }
    .v-modeles--rangee .v-modele { width: var(--carte-modele-rang-tel); }
}
/* 14 modèles par rangée au repos, MAQUETTE-REGLES.md. Les autres reviennent
   pendant une recherche ou une occasion, voir rubrique.html.twig. */
.edito-galerie:not(.edito-galerie--cherche) .v-modele--surplus { display: none; }
/* Une rangée de moins de six modèles au niveau se cache au repos, revient
   pendant une recherche, voir rubrique.html.twig. */
.edito-galerie:not(.edito-galerie--cherche) .v-modeles-rang--repos { display: none; }

/* ── La famille de modèles, maquette du 17 novembre 2026 (360:207) ── */
/* Les occasions d'une famille en puces neutres, « Toutes » en tête, celle
   qu'on presse en pastel rose. Le titre « Par occasion » se tait, la maquette
   ne l'a pas sur une famille. */
.edito-galerie--famille .edito-occasions__titre { display: none; }
.edito-galerie--famille .edito-occasions .edito-pastille { border: 1px solid var(--border-control); background: var(--surface); color: var(--text); }
.edito-galerie--famille .edito-occasions .edito-pastille[aria-pressed="true"] { border-color: var(--pastel-rose); background: var(--pastel-rose); color: var(--action); }
/* Sur l'accueil des modèles, « Toutes » n'a pas de place, la page n'a pas de filtre allumé. */
.edito-galerie:not(.edito-galerie--famille) .edito-pastille--toutes { display: none; }
/* La grille, 24 cartes puis « Voir plus de modèles ». */
.edito-galerie--famille:not(.edito-galerie--cherche) .v-modele--surplus { display: none; }
.edito-voir-plus { display: flex; justify-content: center; margin: var(--space-6) 0 var(--space-4); }
.edito-voir-plus [hidden] { display: none; }
.edito-galerie--famille .v-modele__apercu { border-radius: var(--radius-sm); box-shadow: var(--shadow-xs); }
.edito-galerie--famille .v-modele__nom { font-size: var(--fs-titre-carte); }
/* « Utiliser ce modèle » sur le visuel au survol, à la souris seulement, le
   doigt le garde sous le nom. */
@media (hover: hover) and (pointer: fine) {
    .v-modele { position: relative; }
    .v-modele__utiliser {
        position: absolute;
        left: 50%;
        top: var(--space-4);
        transform: translateX(-50%);
        padding: var(--space-2) var(--space-4);
        border-radius: var(--radius-control);
        background: var(--action);
        color: var(--on-accent);
        box-shadow: var(--shadow-sm);
        opacity: 0;
        transition: opacity var(--t-fast);
    }
    .v-modele:hover .v-modele__utiliser, .v-modele__utiliser:focus-visible { opacity: 1; text-decoration: none; }
}

/* ── La rubrique, guides, comparatifs puis outils, maquette du 17 novembre
   2026 (360:458) ── Le haut en pastel de son type, l'en-tête clair posé
   dessus, transparent, voir .navbar--pastel dans vulta.css. */
.edito-tete.edito-tete--pastel {
    margin-top: calc(-1 * var(--nav-h));
    padding: calc(var(--nav-h) + var(--space-10)) 0 var(--space-16);
    border-radius: 0 0 var(--radius-bande) var(--radius-bande);
}
.edito-tete--pastel-guide { background: var(--pastel-orange); }
.edito-tete--pastel-comparatif { background: var(--pastel-violet); }
.edito-tete--pastel-outil { background: var(--pastel-rose); }
.edito-tete--pastel .edito-recherche input { border: 0; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); }
.edito-tete--pastel .edito-tete__promesse { max-width: 70ch; }
/* Les cartes d'article sur trois colonnes, la vignette en pastel de leur
   rubrique, le vrai modèle au milieu, composant Public/Carte d'article. */
.edito-galerie .edito-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-10) var(--space-6); }
.edito-tete--pastel-guide ~ .edito-galerie .edito-carte__visuel { background: var(--pastel-orange); }
.edito-tete--pastel-comparatif ~ .edito-galerie .edito-carte__visuel { background: var(--pastel-violet); }
.edito-galerie .edito-carte__visuel { aspect-ratio: 307 / 161; border-radius: var(--radius); }
.edito-galerie .edito-carte__visuel.edito-carte__visuel--modele { align-items: end; padding: var(--space-5) var(--space-5) 0; }
.edito-galerie .edito-carte__visuel.edito-carte__visuel--modele img { max-height: 100%; border-radius: var(--radius-xs) var(--radius-xs) 0 0; }
.edito-galerie .edito-carte__titre { font-size: var(--fs-titre-carte); font-weight: var(--fw-semibold); }
.edito-galerie:not(.edito-galerie--cherche) .edito-surplus { display: none; }
@media (max-width: 768px) {
    .edito-tete.edito-tete--pastel { padding: calc(var(--nav-h) + var(--space-6)) 0 var(--space-10); border-radius: 0 0 calc(var(--radius) + var(--space-3)) calc(var(--radius) + var(--space-3)); }
    .edito-galerie .edito-grille { grid-template-columns: minmax(0, 1fr); }
}
.edito-tete--pastel h1 { max-width: 30ch; }
.edito-tete--pastel ~ .edito-galerie { padding-top: var(--space-12); }

/* ── L'article, guide, modèle rédigé puis comparatif, maquette du 17 novembre
   2026 (361:542) ── Le haut pastel de son type, la ligne du type, de la
   lecture puis de la date, le visuel dessous dans un panneau clair. */
.edito-tete--pastel-modele { background: var(--pastel-rose); }
.edito-tete--pastel-notice { background: var(--pastel-rose); }
.edito-tete--pastel .edito-meta span:first-child { color: var(--teinte-orange); }
.edito-tete--pastel-comparatif .edito-meta span:first-child { color: var(--teinte-violet); }
.edito-tete--pastel-modele .edito-meta span:first-child,
.edito-tete--pastel-notice .edito-meta span:first-child { color: var(--action); }
.edito-tete--pastel .edito-tete__grille--modele .edito-apercu--panneau { background: var(--surface); }
.edito-visuel { position: relative; z-index: var(--z-raised); padding-top: var(--space-12); background: var(--surface); }
.edito-visuel .edito-apercu--large { max-width: none; margin-top: 0; background: var(--surface-2); }
/* La barre du sommaire, la section lue en pastel rose. */
.edito-barre__liens a[aria-current] { background: var(--pastel-rose); color: var(--action); }
@media (max-width: 768px) {
    .edito-visuel { padding-top: var(--space-8); }
}
.edito-visuel { padding-bottom: var(--space-12); }
/* Les encadrés, « Le conseil Vulata » en pastel rose, « À éviter » en pastel
   orange, leur étiquette blanche, composant Public/Encadré. */
.edito-encadre { background: var(--pastel-rose); }
.edito-encadre .edito-encadre__etiquette { background: var(--surface); color: var(--action); }
.edito-encadre--piege { background: var(--pastel-orange); }
.edito-encadre--piege .edito-encadre__etiquette { color: var(--teinte-orange); }
/* Le tableau d'un comparatif, la colonne de Vulata en pastel rose. */
.edito-comparaison__nous { background: var(--pastel-rose); }
.edito-comparaison thead .edito-comparaison__nous { background: var(--pastel-rose); color: var(--action); }

/* ── L'outil gratuit, maquette du 17 novembre 2026 (363:695) ── Le haut en
   pastel rose, l'outil posé dessus dans un cadre blanc, sa zone de dépôt
   au pointillé rose, l'icône du dépôt sans pastille. Les outils sans image
   (QR code, codes-barres, ISBN, compteur de mots, couverture puis
   redevances KDP, nom de plume) gardent leur formulaire puis leur
   résultat dans le même cadre, provisoire, MAQUETTE-MANQUES. */
.edito-tete--pastel .outil { border: 0; box-shadow: var(--shadow-sm); }
.edito-tete--pastel .outil-vide { border-color: var(--action); }
.edito-tete--pastel .outil-vide__icone { width: auto; height: auto; margin-bottom: 0; background: none; color: var(--action); }
.edito-tete--pastel .outil-vide__icone svg { width: var(--icon-lg); height: var(--icon-lg); }
.edito-tete--pastel .outil-depot:hover, .edito-tete--pastel .outil-depot.is-survol { background: var(--pastel-rose); }

/* ── Les outils sans image, maquette du 17 novembre 2026 (402:1562) ── Le
   formulaire à gauche, le résultat à droite, empilés au téléphone, le
   formulaire d'abord. Le résultat sur un panneau clair. Les sept outils
   gardent leurs champs puis leurs calculs. */
[data-outil-boite="qr-code"] .outil-resultat,
[data-outil-boite="code-barres"] .outil-resultat,
[data-outil-boite="code-barre-isbn"] .outil-resultat,
[data-outil-boite="compteur-de-mots"] .outil-resultat,
[data-outil-boite="couverture-kdp"] .outil-resultat,
[data-outil-boite="redevances-kdp"] .outil-resultat,
[data-outil-boite="nom-de-plume"] .outil-resultat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
[data-outil-boite="qr-code"] .outil-resultat > .outil-reglages,
[data-outil-boite="code-barres"] .outil-resultat > .outil-reglages,
[data-outil-boite="code-barre-isbn"] .outil-resultat > .outil-reglages,
[data-outil-boite="compteur-de-mots"] .outil-resultat > .outil-reglages,
[data-outil-boite="couverture-kdp"] .outil-resultat > .outil-reglages,
[data-outil-boite="redevances-kdp"] .outil-resultat > .outil-reglages,
[data-outil-boite="nom-de-plume"] .outil-resultat > .outil-reglages { order: -1; }
[data-outil-boite="qr-code"] .outil-apercu,
[data-outil-boite="code-barres"] .outil-apercu,
[data-outil-boite="code-barre-isbn"] .outil-apercu { border-radius: var(--radius); background: var(--surface-2); }
/* « Pour les auteurs », les outils pour Amazon en puces sous les autres outils. */
.edito-auteurs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-6); font-size: var(--fs-sm); color: var(--muted); }
.edito-auteurs span { margin-right: var(--space-2); }
@media (max-width: 768px) {
    [data-outil-boite="qr-code"] .outil-resultat,
    [data-outil-boite="code-barres"] .outil-resultat,
    [data-outil-boite="code-barre-isbn"] .outil-resultat,
    [data-outil-boite="compteur-de-mots"] .outil-resultat,
    [data-outil-boite="couverture-kdp"] .outil-resultat,
    [data-outil-boite="redevances-kdp"] .outil-resultat,
    [data-outil-boite="nom-de-plume"] .outil-resultat { grid-template-columns: minmax(0, 1fr); }
}

/* Le texte d'une famille, « Créer avec Vulata » en deux colonnes puis la FAQ
   centrée, sous la grille, avant les autres familles. */
.edito-famille-texte { position: relative; z-index: var(--z-raised); padding: var(--space-16) 0 0; background: var(--surface); }
.edito-famille-texte .edito-section__texte .v-btn { margin-top: var(--space-2); }
.edito-famille-faq .v-wrap { max-width: 720px; }
.edito-famille-faq h2 { margin-bottom: var(--space-6); font-family: var(--font-titre); font-size: var(--fs-h2); font-weight: var(--fw-titre); text-align: center; }
#main-content:has(> .edito-types-bloc + .edito-galerie--famille) > .edito-famille-texte { order: -1; }
.edito-famille-faq { padding-bottom: var(--space-16); }

/* Le QR code, ses types de contenu en puces puis ses pastilles de couleur,
   maquette du 17 novembre 2026. Les teintes viennent de la charte, toutes
   assez foncées pour un fond blanc. */
.outil-puces, .outil-pastilles { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.outil-pastille { width: var(--space-8); height: var(--space-8); padding: 0; border: 3px solid var(--surface); border-radius: 50%; outline: 1px solid var(--border-control); cursor: pointer; }
.outil-pastille[aria-pressed="true"] { outline: 2px solid var(--text); }
.outil-pastille:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.outil-pastille--noir { background: var(--text); }
.outil-pastille--rose { background: var(--action); }
.outil-pastille--violet { background: var(--teinte-violet); }
.outil-pastille--bleu { background: var(--teinte-bleu); }
.outil-pastille--orange { background: var(--teinte-orange); }
.outil-pastilles input[type="color"] { width: var(--space-8); height: var(--space-8); padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
[data-champs][hidden] { display: none; }

/* « Besoin d'un coup de main pour vos documents ? », un panneau pastel
   orange, trois cartes d'article, maquette du 17 novembre 2026 (371:1268). */
.edito-aide { margin: var(--space-12) 0; padding: var(--space-10) var(--space-12); border-radius: var(--radius-xl); background: var(--pastel-orange); }
.edito-aide__tete { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.edito-aide__tete h2 { font-family: var(--font-titre); font-size: var(--fs-titre-m); font-weight: var(--fw-medium); }
.edito-aide .edito-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.edito-aide .edito-carte__visuel { background: var(--surface); }
@media (max-width: 768px) {
    .edito-aide { padding: var(--space-6) var(--space-5); border-radius: var(--radius); }
    .edito-aide .edito-grille { grid-template-columns: minmax(0, 1fr); }
}

/* « Comment ça marche », trois étapes en cartes grises, leur numéro dans une
   pastille de couleur, maquette de l'outil gratuit (363:732). */
.edito-etapes { position: relative; z-index: var(--z-raised); padding: var(--space-16) 0 0; background: var(--surface); }
.edito-etapes h2 { margin-bottom: var(--space-8); font-family: var(--font-titre); font-size: var(--fs-titre-m); font-weight: var(--fw-medium); }
.edito-etapes__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.edito-etape { padding: var(--space-6); border-radius: var(--radius); background: var(--surface-2); }
.edito-etape h3 { margin: var(--space-4) 0 var(--space-2); font-size: var(--fs-titre-s); font-weight: var(--fw-semibold); }
.edito-etape p { font-size: var(--fs-sm); line-height: var(--lh-normal); color: var(--muted); }
.edito-etape__num { display: grid; place-items: center; width: var(--space-8); height: var(--space-8); border-radius: 50%; font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.edito-etape--rose .edito-etape__num { background: var(--pastel-rose); color: var(--action); }
.edito-etape--orange .edito-etape__num { background: var(--pastel-orange); color: var(--teinte-orange); }
.edito-etape--violet .edito-etape__num { background: var(--pastel-violet); color: var(--teinte-violet); }
@media (max-width: 768px) {
    .edito-etapes__liste { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
}

/* ════════════════════════════════
   L'ACCUEIL DES MODÈLES, comparé à son cadre Figma (371:1097).
   La bande, le h1 de référencement en surtitre, l'accroche de 69 sur deux
   lignes, la promesse sur 640, la recherche de 640, les puces puis les huit
   ronds des formats. Dessous, les occasions puis les rangées partent à 72 du
   bord, le titre de 32 à gauche, « Voir les … » à droite, la rangée filant
   jusqu'au bord de l'écran.
════════════════════════════════ */
.edito-tete.edito-tete--tous { padding: calc(var(--nav-h) + var(--space-12) + var(--space-2)) 0 calc(var(--space-16) + var(--space-2)); }
.edito-tete--tous h1 {
    max-width: none;
    margin: 0 0 var(--space-6);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-snug);
    letter-spacing: var(--ls-caps);
    text-transform: uppercase;
}
.edito-tete__accroche {
    max-width: 14ch;
    margin: 0 auto var(--space-6);
    font-size: var(--fs-titre-accueil);
    font-weight: var(--fw-medium);
    line-height: var(--lh-titre);
    letter-spacing: var(--ls-titre);
    text-wrap: var(--coupe-titre);
}
.edito-tete--tous .edito-tete__promesse { margin-bottom: var(--space-6); }
.edito-tete--tous .edito-recherche { margin: calc(var(--space-6) + var(--space-4)) auto var(--space-6); }
.edito-ronds { display: flex; justify-content: center; gap: calc(var(--space-6) + var(--space-1)); margin: calc(var(--space-12) + var(--space-2)) 0 0; }
.edito-ronds .v-rond { color: var(--on-accent); }

.edito-galerie--tous > .v-wrap { max-width: none; padding-inline: calc(var(--space-16) + var(--space-2)); --carrousel-deborde: calc(var(--space-16) + var(--space-2)); }
.edito-galerie--tous { padding-top: var(--space-12); }
.edito-galerie.edito-galerie--tous .edito-occasions { margin-bottom: var(--space-6); }
.edito-galerie--tous .v-modeles-rang { padding: var(--space-8) 0 var(--space-6); }
.edito-galerie--tous .v-modeles-rang + .v-modeles-rang { margin-top: 0; }
.edito-galerie--tous .v-modeles-rang__tete { align-items: center; margin-bottom: var(--space-5); }
.edito-galerie--tous .v-modeles-rang__tete h2 { font-size: var(--fs-titre-m); line-height: var(--lh-titre-m, var(--lh-ui)); letter-spacing: var(--ls-titre); }

@media (max-width: 900px) {
    .edito-tete.edito-tete--tous { padding: calc(var(--nav-h) + var(--space-6)) 0 var(--space-10); }
    .edito-tete__accroche { font-size: var(--fs-titre-m); }
    /* JUSQU'AU BORD DE L'ÉCRAN, quelle que soit la marge du conteneur. Une
       marge fixe de 24 débordait de 6 px sous 720, où le conteneur n'en a
       que 18, la page défilait de côté, vu sur le staging le 18 novembre 2026. */
    .edito-ronds { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(50% - 50vw); padding: 0 calc(50vw - 50%); scroll-padding-inline: calc(50vw - 50%); gap: var(--space-4); }
    .edito-ronds::-webkit-scrollbar { display: none; }
    .edito-ronds > li { flex: none; }
    .edito-galerie--tous > .v-wrap { padding-inline: var(--space-6); --carrousel-deborde: var(--space-6); }
}

/* « Utiliser ce modèle » passe sur le visuel au survol, la note du composant
   Public/Carte de modèle (365:1177). La carte ne montre que son nom. Au doigt,
   sans survol, le lien reste sous le nom, rien ne se cache. */
@media (hover: hover) {
    .edito-galerie--tous .v-modeles--rangee .v-modele,
    .edito-galerie--famille .v-modele { position: relative; }
    .edito-galerie--famille .v-modele__utiliser,
    .edito-galerie--tous .v-modeles--rangee .v-modele__utiliser {
        position: absolute;
        top: var(--space-3);
        left: var(--space-3);
        padding: var(--space-2) calc(var(--space-3) + 2px);
        border-radius: var(--radius-pill);
        background: var(--surface);
        box-shadow: var(--shadow-sm);
        color: var(--text);
        opacity: 0;
        transition: opacity var(--t-fast);
    }
    .edito-galerie--tous .v-modeles--rangee .v-modele:hover .v-modele__utiliser,
    .edito-galerie--tous .v-modeles--rangee .v-modele__utiliser:focus-visible,
    .edito-galerie--famille .v-modele:hover .v-modele__utiliser,
    .edito-galerie--famille .v-modele__utiliser:focus-visible { opacity: 1; }
    .edito-galerie--tous .v-modeles--rangee .v-modele:hover .v-modele__apercu,
    .edito-galerie--famille .v-modele:hover .v-modele__apercu { box-shadow: var(--shadow-sm); }
}

/* ════════════════════════════════
   LA FAMILLE DE MODÈLES, comparée à son cadre Figma (360:207, Affiches).
   La bande en dégradé, fil à 104, titre de 52, promesse sur une ligne de
   788, recherche puis puces, 20 entre chaque. Dessous, à 72 du bord, les
   occasions puis la grille de quatre colonnes de 300, 24 entre elles. Puis
   « Créer avec Vulata », la FAQ centrée, les autres types de document.
════════════════════════════════ */
.edito-tete.edito-tete--famille { padding: calc(var(--nav-h) + var(--space-10)) 0 calc(var(--space-24) + var(--space-2)); }
.edito-tete--famille .edito-fil { margin-bottom: var(--space-5); }
.edito-tete--famille h1 { max-width: none; margin: 0 0 var(--space-5); font-size: var(--fs-titre-section); }
.edito-tete--famille .edito-tete__promesse { max-width: 788px; margin-bottom: var(--space-5); }
.edito-tete--famille .edito-recherche { margin-bottom: var(--space-5); }

.edito-galerie--famille > .v-wrap { max-width: calc(4 * 300px + 3 * var(--space-6) + 2 * (var(--space-16) + var(--space-2))); margin-inline: 0; padding-inline: calc(var(--space-16) + var(--space-2)); }
.edito-galerie.edito-galerie--famille { padding-top: var(--space-12); }
.edito-galerie.edito-galerie--famille .edito-occasions { margin-bottom: var(--space-8); }
.edito-galerie--famille .v-modeles { columns: 4 300px; column-gap: var(--space-6); }
.edito-galerie--famille .v-modele { margin-bottom: calc(var(--space-6) + var(--space-1)); }
.edito-galerie--famille .edito-voir-plus { margin: var(--space-3) 0 0; text-align: center; }

.edito-famille-texte .edito-section--deux {
    grid-template-columns: 320px minmax(0, 704px);
    gap: var(--space-16);
    max-width: calc(320px + 704px + var(--space-16) + 2 * var(--space-6));
}
.edito-famille-texte .edito-section--deux h2 { font-size: var(--fs-titre-m); font-weight: var(--fw-medium); line-height: var(--lh-ui); letter-spacing: var(--ls-titre); }
.edito-famille-texte .edito-section__texte { max-width: none; }
.edito-famille-texte .edito-section__texte p { font-size: var(--fs-body); line-height: var(--lh-normal); color: var(--muted); }
.edito-famille-faq .v-wrap { max-width: calc(720px + 2 * var(--space-6)); }
#main-content:has(> .edito-tete--famille) .edito-types-bloc > .v-wrap { max-width: none; padding-inline: calc(var(--space-16) + var(--space-2)); }
.edito-famille-texte { padding-top: calc(var(--space-12) + var(--space-2)); }
.edito-famille-faq { padding-top: var(--space-6); padding-bottom: var(--space-12); }
.edito-famille-faq h2 { font-size: var(--fs-titre-m); font-weight: var(--fw-medium); }

@media (max-width: 900px) {
    .edito-tete.edito-tete--famille { padding: calc(var(--nav-h) + var(--space-6)) 0 var(--space-10); }
    .edito-galerie--famille > .v-wrap { padding-inline: var(--space-6); }
    .edito-galerie--famille .v-modeles { columns: 2 150px; column-gap: var(--space-3); }
    .edito-famille-texte .edito-section--deux { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
}

/* ════════════════════════════════
   LA RUBRIQUE, comparée à son cadre Figma (360:458, Guides).
   Fil à 104, titre de 52 sur 760, promesse sur une ligne de 841, 20 entre
   chaque, 112 sous les puces. Dessous, à 72 du bord, trois cartes de 410,
   32 entre les colonnes, 48 entre les rangées, la grille à 56 sous la bande.
════════════════════════════════ */
.edito-tete.edito-tete--pastel:not(.edito-tete--outil) { padding-bottom: calc(var(--space-24) + var(--space-4)); }
.edito-tete--pastel:not(.edito-tete--outil) .edito-fil { margin-bottom: var(--space-5); }
.edito-tete--pastel:not(.edito-tete--outil) h1 { max-width: 760px; margin: 0 auto var(--space-5); font-size: var(--fs-titre-section); }
.edito-tete--pastel:not(.edito-tete--outil) .edito-tete__promesse { max-width: 841px; margin-bottom: var(--space-5); }
.edito-tete--pastel:not(.edito-tete--outil) .edito-recherche { margin-bottom: var(--space-5); }
.edito-tete--pastel:not(.edito-tete--outil) ~ .edito-galerie > .v-wrap { max-width: calc(3 * 410px + 2 * var(--space-8) + 2 * (var(--space-16) + var(--space-2))); margin-inline: 0; padding-inline: calc(var(--space-16) + var(--space-2)); }
.edito-tete--pastel:not(.edito-tete--outil) ~ .edito-galerie { padding-top: calc(var(--space-12) + var(--space-2)); }
.edito-tete--pastel:not(.edito-tete--outil) ~ .edito-galerie .edito-grille { gap: var(--space-12) var(--space-8); }
/* LES TYPES SOUS LA GRILLE d'une rubrique de guides ou de comparatifs, au même
   bord que ses cartes. Ils restaient dans le v-wrap étroit, 174 contre 72 à
   1440, vu sur le staging le 18 novembre 2026. */
.edito-tete--pastel:not(.edito-tete--outil) ~ .edito-galerie ~ .edito-types-bloc > .v-wrap { max-width: calc(3 * 410px + 2 * var(--space-8) + 2 * (var(--space-16) + var(--space-2))); margin-inline: 0; padding-inline: calc(var(--space-16) + var(--space-2)); }

@media (max-width: 900px) {
    .edito-tete.edito-tete--pastel:not(.edito-tete--outil) { padding-bottom: var(--space-10); }
    .edito-tete--pastel:not(.edito-tete--outil) ~ .edito-galerie > .v-wrap { padding-inline: var(--space-6); }
    .edito-tete--pastel:not(.edito-tete--outil) ~ .edito-galerie ~ .edito-types-bloc > .v-wrap { padding-inline: var(--space-6); }
    .edito-tete--pastel:not(.edito-tete--outil) ~ .edito-galerie .edito-grille { gap: var(--space-8); }
}

/* ════════════════════════════════
   L'ARTICLE, guide, comparatif puis notice, comparé à son cadre Figma
   (361:542). La bande pastel, fil, méta (le type en pastille de 22),
   titre de 52 sur 880, promesse sur 720, le bouton moyen de 40, 20 entre
   chaque, 104 dessous. Le visuel dans 1088 sur 380, 56 au-dessus. La barre
   « Passer à » de 59. Les sections sur 1088, le titre sur 300, le texte sur
   724, 64 entre, 40 au-dessus de chacune.
════════════════════════════════ */
article .edito-tete.edito-tete--pastel:not(.edito-tete--outil):not(.edito-tete--pastel-modele) { padding-bottom: calc(var(--space-24) + var(--space-2)); }
article .edito-tete--pastel:not(.edito-tete--outil) .edito-meta { justify-content: center; align-items: center; margin: 0 0 var(--space-5); line-height: var(--lh-normal); }
article .edito-tete--pastel:not(.edito-tete--outil) .edito-meta span:first-child { padding: var(--space-1) calc(var(--space-2) + 2px); border-radius: var(--radius-pill); background: var(--surface); font-size: var(--fs-xs); line-height: var(--lh-snug); }
article .edito-tete--pastel:not(.edito-tete--outil) .edito-meta span:first-child + span::before { content: none; }
article .edito-tete--pastel:not(.edito-tete--outil) h1 { max-width: 880px; }
article .edito-tete--pastel:not(.edito-tete--outil) .edito-tete__promesse { max-width: 720px; }
article .edito-tete--pastel:not(.edito-tete--outil) .edito-gestes { justify-content: center; }
article .edito-tete--pastel:not(.edito-tete--outil) .edito-gestes .v-btn--lg { min-height: var(--control-h); font-size: var(--fs-btn); }

.edito-visuel { padding: calc(var(--space-12) + var(--space-2)) 0 var(--space-12); }
.edito-visuel > .v-wrap { max-width: calc(1088px + 2 * var(--space-6)); }
.edito-visuel .edito-apercu--large { height: 380px; }
/* L'aperçu d'un modèle tient entier dans le panneau, centré. */
.edito-visuel .edito-apercu--large.edito-apercu--modele img { height: auto; max-height: 100%; }

.edito-barre__rang { min-height: calc(var(--space-12) + var(--space-2) + 1px); }
article:not(.edito--outil) .edito-corps { padding-top: calc(var(--space-12) + var(--space-3)); }
.edito-barre > .v-wrap,
article .edito-corps > .v-wrap { max-width: calc(1088px + 2 * var(--space-6)); }
article:not(.edito--outil) .edito-section--deux { grid-template-columns: 300px minmax(0, 724px); gap: var(--space-16); }
article:not(.edito--outil) .edito-section--deux .edito-section__texte { max-width: none; }

@media (max-width: 900px) {
    article .edito-tete.edito-tete--pastel:not(.edito-tete--outil):not(.edito-tete--pastel-modele) { padding-bottom: var(--space-10); }
    .edito-visuel .edito-apercu--large { height: auto; }
    article:not(.edito--outil) .edito-section--deux { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
}

/* ════════════════════════════════
   L'OUTIL GRATUIT, comparé à son cadre Figma (363:695, Enlever le fond).
   Fil à 104 puis titre, 20 entre, promesse sur 720, la zone de l'outil 40
   dessous. « Comment ça marche » sur 1088, trois étapes de 212, 24 dedans,
   la pastille de 40, le titre de 19 puis le texte de 16. La FAQ centrée sur
   720, son titre au-dessus, comme le dessin.
════════════════════════════════ */
.edito--outil .edito-tete .edito-fil { margin-bottom: var(--space-5); }
.edito--outil .edito-tete h1 { margin: 0 auto var(--space-5); }
.edito--outil .edito-tete .edito-tete__promesse { max-width: 720px; margin-bottom: var(--space-10); }
.edito--outil .edito-etapes { padding-top: calc(var(--space-12) + var(--space-2)); }
.edito--outil .edito-etapes > .v-wrap { max-width: calc(1088px + 2 * var(--space-6)); }
.edito--outil .edito-etape { min-height: 212px; }
.edito--outil .edito-etape__num { width: var(--space-10); height: var(--space-10); font-size: var(--fs-titre-s); }
.edito--outil .edito-etape h3 { margin: var(--space-3) 0; line-height: var(--lh-snug); }
.edito--outil .edito-etape p { font-size: var(--fs-body); }
.edito--outil .edito-faq.edito-section--deux { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); max-width: 720px; margin-inline: auto; }
.edito--outil .edito-faq.edito-section--deux h2 { text-align: center; font-size: var(--fs-titre-m); font-weight: var(--fw-medium); }

/* L'accueil des modèles au téléphone, maquette 365:832. Marges de 20, cartes
   portrait de 160, 12 entre elles, le titre de rangée de 20 puis « Voir les
   … » dessous. Le contenu reste celui de l'ordinateur, la règle « téléphone =
   ordinateur ». */
@media (max-width: 900px) {
    .edito-galerie--tous > .v-wrap { padding-inline: var(--space-5); --carrousel-deborde: var(--space-5); }
    .edito-galerie--tous .v-modeles-rang { padding: var(--space-6) 0 var(--space-4); }
    .edito-galerie--tous .v-modeles-rang__tete { flex-direction: column; align-items: flex-start; gap: var(--space-1); margin-bottom: var(--space-3); }
    .edito-galerie--tous .v-modeles-rang__tete h2 { font-size: var(--fs-titre-s); }
    .edito-galerie--tous .v-modeles--rangee { gap: var(--space-3); }
    .edito-galerie--tous .v-modeles--rangee .v-modele { width: 160px; }
}

/* La famille au téléphone, maquette 365:979. Tout à gauche, marges de 20,
   14 entre fil, titre, promesse de 16, recherche puis puces, 56 sous la
   bande. Occasions 24 dessous, puis deux colonnes de 167, 16 entre. */
@media (max-width: 900px) {
    .edito-tete.edito-tete--famille { padding: calc(var(--nav-h) + var(--space-5)) 0 calc(var(--space-12) + var(--space-2)); text-align: left; }
    .edito-tete--famille > .v-wrap { padding-inline: var(--space-5); }
    .edito-tete--famille .edito-fil { justify-content: flex-start; margin-bottom: calc(var(--space-3) + 2px); }
    .edito-tete--famille h1 { margin: 0 0 calc(var(--space-3) + 2px); font-size: var(--fs-titre-m); }
    .edito-tete--famille .edito-tete__promesse { margin: 0 0 calc(var(--space-3) + 2px); font-size: var(--fs-body); }
    .edito-tete--famille .edito-recherche { margin: 0 0 calc(var(--space-3) + 2px); max-width: none; }
    .edito-tete--famille .edito-rubriques { justify-content: flex-start; }
    .edito-galerie.edito-galerie--famille { padding-top: var(--space-6); }
    .edito-galerie--famille > .v-wrap { padding-inline: var(--space-5); }
    /* Les types sous la grille d'une famille, au bord de la grille, 72 restait au téléphone. */
    #main-content:has(> .edito-tete--famille) .edito-types-bloc > .v-wrap { padding-inline: var(--space-5); }
    .edito-galerie.edito-galerie--famille .edito-occasions { margin-bottom: var(--space-5); }
    .edito-galerie--famille .v-modeles { column-gap: var(--space-4); }
}

/* Rubrique, article puis outil au téléphone, maquettes 366:965, 366:1077,
   366:1239. Le même schéma que la famille, tout à gauche, marges de 20,
   14 entre fil, titre de 32, promesse de 16, recherche puis puces. */
@media (max-width: 900px) {
    .edito-tete.edito-tete--pastel:not(.edito-tete--pastel-modele) { padding-top: calc(var(--nav-h) + var(--space-5)); padding-bottom: var(--space-12); text-align: left; }
    .edito-tete--pastel:not(.edito-tete--pastel-modele) > .v-wrap { padding-inline: var(--space-5); }
    .edito-tete--pastel:not(.edito-tete--pastel-modele) .edito-fil { justify-content: flex-start; margin-bottom: calc(var(--space-3) + 2px); }
    .edito-tete--pastel:not(.edito-tete--pastel-modele) .edito-meta { justify-content: flex-start; }
    .edito-tete--pastel:not(.edito-tete--pastel-modele) h1 { max-width: none; margin: 0 0 calc(var(--space-3) + 2px); font-size: var(--fs-titre-m); }
    .edito-tete--pastel:not(.edito-tete--pastel-modele) .edito-tete__promesse { max-width: none; margin: 0 0 calc(var(--space-3) + 2px); font-size: var(--fs-body); }
    .edito-tete--pastel:not(.edito-tete--pastel-modele) .edito-recherche { max-width: none; margin: 0 0 calc(var(--space-3) + 2px); }
    .edito-tete--pastel:not(.edito-tete--pastel-modele) .edito-rubriques,
    .edito-tete--pastel:not(.edito-tete--pastel-modele) .edito-gestes { justify-content: flex-start; }
    .edito--outil .edito-etapes > .v-wrap { padding-inline: var(--space-5); }
    .edito--outil .edito-etape { min-height: 0; }
}

/* Le visuel d'un article au téléphone, un bandeau de 174 (366:1105). */
@media (max-width: 900px) {
    .edito-visuel { padding: var(--space-3) 0; }
    .edito-visuel .edito-apercu--large { height: 150px; min-height: 0; padding: var(--space-3); }
}

/* ── L'ACCUEIL DE L'AIDE, editoriales/aide.html.twig. Centre d'aide du
   20 novembre 2026, sur la structure de l'aide de Canva, des thèmes en
   cartes puis leurs articles. Au téléphone d'abord, deux colonnes de cartes
   compactes, dix-neuf cartes ne doivent pas repousser les notices hors de
   vue, puis autant de colonnes que la place en donne. ── */
.aide-sommaire { margin-bottom: var(--space-12); }
.aide-sommaire__titre, .aide-chapitre__titre { font-size: var(--fs-h2); font-weight: var(--fw-titre); margin: 0 0 var(--space-6); }
.aide-cartes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
.aide-carte { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-2); height: 100%; padding: var(--space-4); color: inherit; text-decoration: none; transition: box-shadow var(--t-fast), border-color var(--t-fast); }
.aide-carte__nom { font-size: var(--fs-body); font-weight: var(--fw-semibold); line-height: var(--lh-snug); }
.aide-carte .v-badge { align-self: flex-start; }
.aide-chapitre { padding-top: var(--space-8); scroll-margin-top: calc(var(--nav-h) + var(--space-4)); }
.aide-chapitre + .aide-chapitre { border-top: 1px solid var(--border-neutral); }
.aide-notices { list-style: none; margin: 0 0 var(--space-8); padding: 0; display: grid; gap: var(--space-2) var(--space-8); }
.aide-notice { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3) 0; color: inherit; text-decoration: none; }
.aide-notice__titre { font-weight: var(--fw-semibold); color: var(--accent-dark); }
.aide-notice:hover .aide-notice__titre, .aide-notice:focus-visible .aide-notice__titre { text-decoration: underline; }
.aide-notice__texte { font-size: var(--fs-sm); color: var(--muted); }
/* Pendant une recherche, le sommaire s'efface, les notices trouvées restent. */
.edito-galerie--cherche .aide-sommaire { display: none; }
@media (min-width: 768px) {
    .aide-cartes { gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .aide-carte { padding: var(--space-5); gap: var(--space-3); }
    .aide-carte__nom { font-size: var(--fs-lg); }
    .aide-notices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* LE VOISINAGE D'UNE NOTICE, editoriales/notice.html.twig. Les autres notices
   du chapitre, puis la précédente et la suivante, l'une sous l'autre au
   téléphone, côte à côte ensuite. */
.aide-voisinage { margin: var(--space-12) 0 var(--space-8); padding-top: var(--space-8); border-top: 1px solid var(--border-neutral); }
.aide-voisinage__titre { font-size: var(--fs-h3); font-weight: var(--fw-titre); margin: 0 0 var(--space-4); }
.aide-voisinage__titre a { color: var(--accent-dark); }
.aide-pas { display: flex; flex-direction: column; gap: var(--space-3); }
.aide-pas .v-btn { height: auto; min-height: var(--control-h-champ); flex-direction: column; align-items: flex-start; gap: var(--space-1); padding: var(--space-3) var(--space-4); white-space: normal; text-align: left; }
.aide-pas__sens { font-size: var(--fs-xs); color: var(--muted); }
.aide-pas__titre { font-weight: var(--fw-semibold); }
.aide-pas__suivante { align-items: flex-end; text-align: right; }
@media (min-width: 768px) {
    .aide-pas { flex-direction: row; justify-content: space-between; }
    .aide-pas .v-btn { max-width: 48%; }
    .aide-pas__suivante { margin-left: auto; }
}
