/* Caniguide V2 « carnet de route » — feuille unique (L6 · D1, 31/10/2026).
   Planche « identité » : crème, papier, encre, teintes, abricot en touche. Pas de bordures : les surfaces se séparent par la teinte.
   Fraunces (axe doux à fond) pour les titres, Figtree pour le texte ; 400 courant, 500 libellés, 600 au plus ; 14 px minimum. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url(../polices/fraunces-latin-doux.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-201F, U+2021-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url(../polices/fraunces-latin-ext-doux.woff2) format("woff2-variations");
	unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
	src: url(../polices/figtree-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-201F, U+2021-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
	src: url(../polices/figtree-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── Jetons ── */
:root {
	--v2-sur-sauge: #2B3A24;
	--v2-sur-miel: #3E2F12;
	--v2-creme: #F6EFE4;        /* fond */
	--v2-papier: #FFFBF5;       /* surfaces */
	--v2-encre: #2B1E15;        /* texte, bouton plein */
	--v2-brun: #4E3A2E;         /* texte appuyé sur teinte */
	--v2-noisette: #6A5040;     /* texte second */
	--v2-abricot: #E3763A;      /* repères, jamais du texte */
	--v2-abricot-doux: #F2A979;
	--v2-rouille: #A4441A;      /* liens, accents texte */
	--v2-rouille-fonce: #7A3112;
	--v2-peche: #F8DEC7;        /* univers « Trouver un pro » */
	--v2-sauge: #E2E6D3;        /* univers « Sortir » */
	--v2-sauge-fonce: #4A5E3F;
	--v2-miel: #F3E4BE;         /* univers « Accueillir » */
	--v2-miel-fonce: #7A5A12;
	--v2-sable: #EDE2D1;        /* univers « Comprendre » */
	--v2-lin: #E9DCCB;          /* surface enfoncée (champs) */
	--v2-titre: "Fraunces", Georgia, "Times New Roman", serif;
	--v2-texte: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--v2-r-galet: 32px;
	--v2-r-carte: 24px;
	--v2-focus-page: var(--v2-rouille); /* lu tel quel plus bas : un bloc sombre qui est lui-même le lien a son anneau sur la page */
	--v2-focus: var(--v2-rouille); /* l'anneau de focus : 3:1 au moins contre le fond (WCAG 1.4.11) ; l'abricot n'y atteignait pas sur crème */
	--v2-r-champ: 14px;
	--v2-r-bloc: 18px; /* une carte posée dans une autre surface */
	--v2-r-pastille: 999px;
	--v2-r-drapeau: 3px; /* le coin d'un drapeau (images 24 × 18 des races par pays) : un usage nommé, pas une pastille (PV-08, R2-257 A20-A21) */
	--v2-r-puce: 4px; /* une puce de légende, une barre fine (R2-257) */
	--v2-r-vignette: 12px; /* une image, une lettre ou un bouton-tuile posé dans une carte (R2-257) */
	--v2-gouttiere: clamp(16px, 4vw, 56px);
	--v2-largeur: 1216px;
	--v2-ombre-feuille: 0 18px 48px rgba(43, 30, 21, .14);
	--v2-barre-h: 64px;
	/* Système (finition, 03/11). Titres : trois niveaux de H1, selon ce que la page est ; une famille garde son idée, pas sa propre taille. */
	--v2-h1-fiche: clamp(40px, 5vw, 64px);   /* le nom d'une chose : race, lieu, pro */
	--v2-h1-porte: clamp(34px, 4.6vw, 58px); /* une porte, une rubrique, un index */
	--v2-h1-liste: clamp(27px, 3.6vw, 46px); /* une liste à filtrer, un outil, un guide, un nom long */
	--v2-h2: clamp(26px, 3vw, 36px);         /* le titre d'une section */
	--v2-h2-bloc: clamp(21px, 2.2vw, 26px);  /* le titre d'un bloc, d'une colonne */
	--v2-h3: clamp(19px, 1.7vw, 21px);
	--v2-lecture: 64ch;                      /* la longueur d'une ligne de texte courant */
	--v2-esp-section: clamp(40px, 5vw, 64px);/* entre deux sections d'une page */
	--v2-ombre-page: var(--v2-ombre-page);   /* une feuille posée sur la page */
	--v2-ombre-flotte: 0 8px 20px rgba(43, 30, 21, .1);   /* ce qui reste collé ou flotte au-dessus du texte */
}

/* ── Base ── */
html { -webkit-text-size-adjust: 100%; }
body.cg-v2 { margin: 0; background: var(--v2-creme); color: var(--v2-encre); font-family: var(--v2-texte); font-size: 17px; line-height: 1.6; font-weight: 400; }
.cg-v2 *, .cg-v2 *::before, .cg-v2 *::after { box-sizing: border-box; }
/* R2-256 : un contrôle de formulaire prend la police de son parent ; sans règle, un bouton restait en Arial (police du navigateur). Avant les composants, qui la précisent. */
button, input, select, textarea { font: inherit; }
.cg-v2 img { max-width: 100%; height: auto; display: block; }
.cg-v2 a { color: var(--v2-rouille); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cg-v2 a:hover { color: var(--v2-rouille-fonce); }
.cg-v2 :focus-visible { outline: 3px solid var(--v2-focus); outline-offset: 3px; }
:where(.cg-v2 :focus-visible) { border-radius: 6px; } /* sans poids : un bouton garde sa forme au focus (il devenait un rectangle à coins de 6 px), seul ce qui n'a pas d'arrondi en reçoit un */
.cg-v2 h1, .cg-v2 h2, .cg-v2 h3, .cg-v2 .v2-titre { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-weight: 400; letter-spacing: -0.015em; line-height: 1.12; margin: 0; color: var(--v2-encre); }
.cg-v2 h1 { font-size: var(--v2-h1-porte); font-weight: 380; letter-spacing: -0.02em; }
.cg-v2 h2 { font-size: var(--v2-h2); }
.cg-v2 h3 { font-size: var(--v2-h3); }
.cg-v2 p { margin: 0; }
.cg-v2 small, .cg-v2 .v2-petit { font-size: 14px; }
/* left: 0 : un texte caché dans une rangée qui défile sortait de son défilement et élargissait toute la page (690 px pour 390, 03/11). Rivé à gauche, il ne le peut plus. */
.v2-cache { position: absolute !important; left: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v2-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--v2-encre); color: var(--v2-papier) !important; padding: 10px 16px; border-radius: 12px; }
.v2-evitement:focus { top: 12px; }
.v2-contenu { display: block; }
.cg-v2 [hidden] { display: none !important; }
.v2-cadre { width: 100%; max-width: var(--v2-largeur); margin: 0 auto; padding: 0 var(--v2-gouttiere); }
.v2-surtitre { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--v2-rouille); font-weight: 600; }
.v2-second { color: var(--v2-noisette); }

/* ── Teintes d'univers ── */
.v2-teinte--peche { --v2-teinte: var(--v2-peche); --v2-point: var(--v2-abricot); }
.v2-teinte--sauge { --v2-teinte: var(--v2-sauge); --v2-point: var(--v2-sauge-fonce); }
.v2-teinte--miel { --v2-teinte: var(--v2-miel); --v2-point: #C08A1E; }
.v2-teinte--sable { --v2-teinte: var(--v2-sable); --v2-point: var(--v2-noisette); }
.v2-teinte--papier { --v2-teinte: var(--v2-papier); --v2-point: var(--v2-abricot); }
.v2-point { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--v2-point); flex: none; }

/* ── Boutons : calmes, un seul plein par écran ── */
.v2-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--v2-r-pastille); font: 500 16px/1.2 var(--v2-texte); text-decoration: none !important; border: 0; cursor: pointer; transition: background-color .15s ease; }
.v2-bouton--plein { background: var(--v2-encre); color: var(--v2-papier) !important; }
.v2-bouton--plein:hover { background: #3B2A1F; }
.v2-bouton--teinte { background: var(--v2-teinte, var(--v2-sable)); color: var(--v2-encre) !important; }
.v2-bouton--teinte:hover { background: var(--v2-lin); }
.v2-bouton--lien { background: transparent; color: var(--v2-rouille) !important; padding: 0 6px; text-decoration: underline !important; text-underline-offset: 3px; }

/* ── Note de source ── */
.v2-source { display: flex; gap: 8px; align-items: baseline; font-size: 14px; color: var(--v2-noisette); margin-top: 6px; }
.v2-source__signe { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--v2-noisette); flex: none; transform: translateY(-1px); }
.v2-source a { color: var(--v2-noisette); }

/* ── Pastilles d'état : la forme dit l'état ── */
.v2-pastille { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 14px 4px 12px; border-radius: var(--v2-r-pastille); font-size: 15px; font-weight: 500; background: var(--v2-papier); color: var(--v2-encre); }
.v2-pastille__forme { width: 10px; height: 10px; flex: none; }
.v2-pastille--ouvert { background: var(--v2-sauge); color: var(--v2-sur-sauge); }
.v2-pastille--ouvert .v2-pastille__forme { border-radius: 50%; background: var(--v2-sauge-fonce); }
.v2-pastille--ferme { background: #F8DEC7; color: var(--v2-rouille-fonce); }
.v2-pastille--urgence { background: var(--v2-miel); color: var(--v2-sur-miel); }
.v2-pastille--urgence .v2-pastille__forme { background: var(--v2-rouille); border-radius: 50%; }
.v2-pastille--ferme .v2-pastille__forme { background: var(--v2-rouille); border-radius: 2px; }
.v2-pastille--alerte { background: var(--v2-miel); color: var(--v2-sur-miel); }
.v2-pastille--alerte .v2-pastille__forme { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 11px solid #C08A1E; }
.v2-pastille--inconnu { background: var(--v2-papier); color: var(--v2-noisette); }
.v2-pastille--inconnu .v2-pastille__forme { border-radius: 50%; border: 2px solid var(--v2-noisette); }
.v2-pastille--relu { background: var(--v2-papier); color: var(--v2-brun); }
.v2-pastille--relu .v2-pastille__forme { width: 11px; height: 6px; border-left: 2px solid var(--v2-sauge-fonce); border-bottom: 2px solid var(--v2-sauge-fonce); transform: rotate(-45deg) translateY(-2px); }

/* ── Le fil : pointillé de promenade ── */
.v2-fil { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 14px; }
.v2-fil::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; border-left: 2.5px dotted var(--v2-noisette); }
.v2-fil__etape { position: relative; }
.v2-fil__etape::before { content: ""; position: absolute; left: -26px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--v2-creme); box-shadow: inset 0 0 0 3px var(--v2-abricot); }
.v2-fil__etape a { color: var(--v2-encre); text-decoration: none; }
.v2-fil__etape a:hover { text-decoration: underline; }

/* ── Galets : des formes douces, jamais un rectangle dur ── */
.v2-galet { margin: 0; position: relative; overflow: hidden; background: var(--v2-teinte, var(--v2-sable)); aspect-ratio: 4 / 3; }
.v2-galet--a { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.v2-galet--b { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; }
.v2-galet--c { border-radius: 40% 60% 48% 52% / 58% 42% 58% 42%; }
.v2-galet img { width: 100%; height: 100%; object-fit: cover; }
.v2-galet__vide { position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(255, 251, 245, .55) 0 14%, transparent 15%), var(--v2-teinte, var(--v2-sable)); }
.v2-galet--motif { display: block; }
.v2-galet__motif { position: absolute; inset: 0; display: grid; place-items: center; color: var(--v2-point, var(--v2-brun)); background: radial-gradient(circle at 72% 28%, rgba(255, 251, 245, .6) 0 13%, transparent 14%), radial-gradient(circle at 22% 78%, rgba(255, 251, 245, .35) 0 9%, transparent 10%), var(--v2-teinte, var(--v2-sable)); }
.v2-galet__motif .v2-picto { width: 28%; height: auto; opacity: .55; }
.v2-fiche__tete--seule { grid-template-columns: minmax(0, 1fr); }
.v2-fiche__nom { display: flex; align-items: center; gap: 18px; }
.v2-fiche__logo { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--v2-papier); display: grid; place-items: center; overflow: hidden; }
.v2-fiche__logo img { width: 78%; height: 78%; object-fit: contain; }
.v2-galet figcaption { position: absolute; left: 12%; right: 12%; bottom: 14%; font-size: 14px; color: var(--v2-brun); text-align: center; }

/* ── État vide ── */
.v2-vide { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 28px; display: grid; gap: 10px; }
.v2-vide__titre { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 22px; }
.v2-vide__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* ── Cartes ── */
.v2-carte { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 24px; display: grid; gap: 10px; align-content: start; color: inherit; text-decoration: none !important; }
a.v2-carte:hover { background: #FFFFFF; }
.v2-carte__titre { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 22px; line-height: 1.2; color: var(--v2-encre); }
.v2-carte__meta { font-size: 15px; color: var(--v2-noisette); }

/* ── En-tête ── */
.v2-entete { position: sticky; top: 0; z-index: 50; background: var(--v2-creme); }
.v2-entete__barre { max-width: 1680px; margin: 0 auto; padding: 12px var(--v2-gouttiere); display: flex; align-items: center; gap: 20px; min-height: 72px; }
.v2-entete__marque { display: inline-flex; align-items: center; gap: 10px; font-family: var(--v2-titre); font-variation-settings: "SOFT" 100, "opsz" 72; font-size: 26px; font-weight: 480; letter-spacing: -0.03em; color: var(--v2-encre) !important; text-decoration: none !important; flex: none; }
.v2-entete__univers { flex: 1; }
.v2-entete__univers ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.v2-entete__univ { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px; border-radius: var(--v2-r-pastille); color: var(--v2-encre) !important; text-decoration: none !important; font-weight: 400; }
.v2-entete__univ:hover, .v2-entete__univ[aria-expanded="true"] { background: var(--v2-papier); }
.v2-entete__univ.est-actif { background: var(--v2-papier); font-weight: 600; }
.v2-entete__outils { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.v2-entete__commune, .v2-entete__icone, .v2-entete__pro { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 12px; border-radius: var(--v2-r-pastille); background: transparent; border: 0; font: 500 15px/1 var(--v2-texte); color: var(--v2-encre) !important; text-decoration: none !important; cursor: pointer; }
.v2-entete__commune:hover, .v2-entete__icone:hover, .v2-entete__pro:hover, .v2-entete__commune[aria-expanded="true"], .v2-entete__icone[aria-expanded="true"] { background: var(--v2-papier); }
.v2-entete__pro { background: var(--v2-papier); }

/* Panneaux d'univers et feuilles (recherche, commune) */
.v2-panneau, .v2-feuille { position: absolute; left: 0; right: 0; top: 100%; padding: 0 var(--v2-gouttiere) 24px; }
/* .v2-couche (Jordan, 04/11) : au bureau, un menu sous l'en-tête ; au téléphone, un seul panneau pour tout (plus bas, « Tablette et mobile »). « Fermer » : un seul bouton, feuilles et comparaisons comprises. */
.v2-couche__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v2-couche__titre { margin: 0; }
.v2-couche__fermer, .v2-auth__fermer { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 14px; border: 0; border-radius: var(--v2-r-pastille); background: var(--v2-creme); color: var(--v2-encre); font-size: 0; line-height: 1; cursor: pointer; }
.v2-couche__fermer::before, .v2-auth__fermer::before { content: "Fermer"; font: 600 15px/1 var(--v2-texte); }
.v2-couche__fermer::after, .v2-auth__fermer::after { content: "×"; font: 400 24px/1 var(--v2-texte); }
.v2-couche__fermer { display: none; }
.v2-panneau__dedans { position: relative; }
.v2-panneau__corps { display: contents; }
.v2-panneau .v2-couche__tete { position: absolute; top: 32px; left: 32px; z-index: 1; }
.v2-feuille .v2-couche__tete { padding: 28px 32px 0; }
.v2-commune .v2-couche__corps { max-height: min(50vh, 420px); overflow: auto; display: grid; gap: 12px; align-content: start; }
.v2-panneau[hidden], .v2-feuille[hidden] { display: none; }
.v2-panneau__dedans, .v2-feuille > * { max-width: 1216px; margin: 0 auto; background: var(--v2-papier); border-radius: var(--v2-r-galet); box-shadow: var(--v2-ombre-feuille); }
.v2-panneau__dedans { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; overflow: hidden; }
.v2-panneau__promesse { background: var(--v2-teinte); padding: 79px 32px 32px; /* le titre, posé dessus par la tête de la couche */ display: grid; gap: 14px; align-content: start; }
.v2-panneau__titre { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 30px; line-height: 1.1; }
.v2-panneau__promesse .v2-bouton { justify-self: start; margin-top: 6px; }
.v2-panneau__rubriques { list-style: none; margin: 0; padding: 24px 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; align-content: start; }
.v2-panneau__rubriques a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 18px; color: var(--v2-encre); text-decoration: none; }
.v2-panneau__rubriques a:hover { background: var(--v2-creme); }
.v2-panneau__n { flex: none; color: var(--v2-noisette); font-variant-numeric: tabular-nums; font-size: 15px; white-space: nowrap; }
.v2-recherche, .v2-commune { padding: 12px 32px 28px; display: grid; gap: 12px; }
.v2-choixc__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.v2-choixc__liste[hidden], .v2-choixc__dit[hidden] { display: none; } /* .v2-commune__actions[hidden] retiré (R6) : plus aucun élément ne le porte */
.v2-choixc__liste li { display: grid; gap: 1px; align-content: center; min-height: 48px; padding: 6px 10px; border-radius: var(--v2-r-champ); color: var(--v2-encre); cursor: pointer; }
.v2-choixc__liste strong { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.v2-choixc__liste small { font-size: 14px; color: var(--v2-noisette); }
.v2-choixc__liste li:hover, .v2-choixc__liste li[aria-selected="true"] { background: var(--v2-lin); }
.v2-choixc__liste--sous { max-height: 244px; overflow: auto; overscroll-behavior: contain; margin-top: 6px; padding: 4px; background: var(--v2-papier); border-radius: var(--v2-r-champ); box-shadow: 0 0 0 1px var(--v2-lin); }
.v2-choixc__dit { margin: 8px 0; font-weight: 500; }
.v2-annuaire__commune > .v2-choixc__liste--sous, .v2-annuaire__commune > .v2-choixc__dit { position: absolute; z-index: 30; left: 8px; right: 8px; margin: 6px 0 0; box-shadow: var(--v2-ombre-feuille); background: var(--v2-papier); } /* la barre d'annuaire est étroite : la liste passe dessous, de bord à bord */
.v2-annuaire__commune > .v2-choixc__dit { padding: 10px 12px; border-radius: var(--v2-r-champ); }
.v2-choixc__select, .v2-formulaire select.v2-choixc__select { position: absolute; width: 1px; min-width: 0; height: 1px; min-height: 0; padding: 0; opacity: 0; pointer-events: none; } /* .v2-formulaire .v2-champ (width 100 %, sans ancêtre positionné : celle de la fenêtre) ne doit pas l'élargir */
.cg-v2 select.v2-choixc__select { max-width: 1px; } /* A11Y-2 D10 : (0,2,1) passe .v2-champ (785) et .v2-outil select (1692), qui le bornent à 100 % ; sous 421 px de haut, le bloc contenant est la fenêtre (barre décollée) et un select caché large de 100 % faisait défiler la page de côté */
.v2-commune:has(input.est-tape) :is(.v2-commune__aide, .v2-commune__actions, .v2-commune__compte) { display: none; }
.v2-recherche__libelle, .v2-commune__titre { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 26px; }
.v2-recherche__ligne { display: flex; gap: 10px; }
.v2-recherche__suggestions { list-style: none; margin: 0; padding: 0; max-height: 38vh; overflow: auto; display: grid; gap: 2px; }
.v2-recherche__suggestions[hidden] { display: none; }
.v2-recherche__suggestions a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: var(--v2-r-champ); color: inherit; text-decoration: none; }
.v2-recherche__suggestions .v2-sug__texte { display: grid; gap: 1px; min-width: 0; font-size: 16px; color: var(--v2-encre); }
.v2-recherche__suggestions .v2-sug__image { flex: none; width: 44px; height: 44px; max-width: none; border-radius: 12px; object-fit: cover; background: var(--v2-creme); }
.v2-sug__signe { flex: none; display: grid; place-items: center; width: 44px; height: 44px; }
.v2-sug__signe::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--v2-noisette); }
.v2-sug__signe--lieu::before { background: var(--v2-sauge-fonce); }
.v2-sug__signe--commune::before { background: transparent; box-shadow: inset 0 0 0 3px var(--v2-rouille); }
.v2-sug__signe--pro::before { background: var(--v2-rouille); }
.v2-sug__signe--outil::before { width: 14px; height: 14px; border-radius: 4px; transform: rotate(45deg); background: var(--v2-abricot); }
.v2-sug__signe--guide::before { width: 14px; height: 14px; border-radius: 4px; background: var(--v2-miel-fonce); }
.v2-sug__signe--urgence::before { width: 14px; height: 14px; background: var(--v2-rouille-fonce); }
.v2-sug__lu { background: none; color: inherit; box-shadow: inset 0 -2px 0 var(--v2-abricot); }
.v2-recherche__suggestions .v2-sug--tout { min-height: 48px; padding-left: 66px; }
.v2-recherche__suggestions .v2-sug--tout strong { font-weight: 500; font-size: 15px; color: var(--v2-noisette); text-decoration: underline; text-underline-offset: 3px; }
.v2-sug-note { padding: 10px; font-size: 15px; color: var(--v2-noisette); }
.v2-recherche__portes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.v2-recherche__portes[hidden] { display: none; }
.v2-recherche__portes a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: var(--v2-r-pastille); background: var(--v2-sable); color: var(--v2-encre); text-decoration: none; font-size: 15px; }
.v2-recherche__suggestions a:hover, .v2-recherche__suggestions a:focus-visible { background: var(--v2-lin); }
.v2-recherche__suggestions strong { font-weight: 600; overflow-wrap: anywhere; }
.v2-recherche__suggestions span { font-size: 14px; color: var(--v2-noisette); }
.v2-recherche input, .v2-commune input { flex: 1; min-height: 52px; padding: 0 18px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-lin); font: 400 17px var(--v2-texte); color: var(--v2-encre); }
.v2-recherche input::placeholder, .v2-commune input::placeholder, .cg-v2 ::placeholder { color: var(--v2-noisette); opacity: 1; } /* 03/11 : le gris du navigateur restait à 3,4 à 4 en clair */
/* 14/11 (parcours UX de 74) : le bouton « effacer » NATIF des champs de recherche (Chrome : une croix bleue du navigateur) n'avait pas le style V2
   et mordait sur la fin du texte saisi à 390. Retiré partout, comme le faisait déjà .v2-rh__q (races-hub.css l. 22). */
.cg-v2 input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.v2-commune__aide { color: var(--v2-noisette); max-width: 64ch; }
.v2-commune__actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* Retour n° 6 (13/11) : la commune en cours d'abord ; le champ après « Changer » (v2.js, communeFeuille). */
.v2-commune__en-cours { display: grid; gap: 10px; }
.v2-commune__en-cours[hidden], #v2-commune[data-v2-commune-choisie] .v2-couche__champ { display: none; }
.v2-commune__choisie { margin: 0; font-size: 18px; }
.v2-commune__choisie strong { font-weight: 700; }
.v2-commune__origine { color: var(--v2-noisette); font-size: 15px; }

/* ── Pied de page ── */
.v2-pied { background: var(--v2-encre); color: #EFE5D6; margin-top: 96px; padding: 64px var(--v2-gouttiere) calc(32px + var(--v2-barre-h)); }
.v2-pied a { color: #EFE5D6; text-decoration: none; }
.v2-pied a:hover { color: #FFFFFF; text-decoration: underline; }
.v2-pied__dedans { max-width: var(--v2-largeur); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 32px; }
.v2-pied__marque, .v2-pied__pro { display: grid; gap: 12px; align-content: start; color: #CDBBA6; }
.v2-pied__nom { display: flex; align-items: center; gap: 10px; font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 24px; color: var(--v2-papier); }
.v2-pied__titre { font-weight: 600; color: var(--v2-papier); margin-bottom: 10px; }
.v2-pied__colonne ul, .v2-pied__service { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.v2-pied__pro .v2-bouton { justify-self: start; --v2-teinte: var(--v2-peche); }
.v2-pied__service { max-width: var(--v2-largeur); margin: 48px auto 0; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: #CDBBA6; box-shadow: 0 -1px 0 rgba(239, 229, 214, .15); }
.v2-pied__autres { font-size: 15px; }

/* ── Barre basse mobile ── */
.v2-barre { display: none; }

/* ── Accueil ── */
.v2-accueil { display: grid; gap: clamp(64px, 9vw, 112px); padding-top: clamp(24px, 4vw, 56px); }
.v2-section__tete { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.v2-grille { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.v2-moment { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; }
.v2-agenda { background: var(--v2-papier); border-radius: var(--v2-r-galet); padding: 28px; display: grid; gap: 4px; align-content: start; }
.v2-agenda__ligne { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 12px 0; color: inherit; text-decoration: none !important; }
.v2-agenda__date { background: var(--v2-sauge); border-radius: 18px; text-align: center; padding: 6px 4px; line-height: 1.1; font-size: 14px; color: var(--v2-sur-sauge); }
.v2-agenda__date strong { display: block; font-family: var(--v2-titre); font-size: 24px; font-weight: 500; }
.v2-agenda__titre { color: var(--v2-encre); font-weight: 500; }
.v2-chiffre { background: var(--v2-papier); border-radius: 18px; padding: 18px; }
.v2-chiffre strong { display: block; font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 36px; font-weight: 450; line-height: 1; }
.v2-confiance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v2-confiance > div { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 24px; display: grid; gap: 8px; align-content: start; }
.v2-confiance strong { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-weight: 450; font-size: 22px; }

/* ── Page de composants ── */
.v2-demo { display: grid; gap: 48px; padding: 48px 0; }
.v2-demo__bloc { display: grid; gap: 16px; }
.v2-demo__rang { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.v2-demo__nuancier { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.v2-demo__nuance { border-radius: 18px; padding: 64px 14px 14px; font-size: 14px; background: var(--c); color: var(--t, var(--v2-encre)); }

/* L'enveloppe des îlots de la copie commune (inc/copie-commune.php) : sans boîte, comme en V1 (cg-comptes-nav.css). */
.cg-v2 .cg-perso { display: contents; }

/* Le logo du site (cg_v2_logo) : emblème et mot en ligne ; au pied, sur une pastille papier pour garder le brun du chien lisible. */
.v2-logo { display: inline-flex; align-items: center; gap: 8px; line-height: 0; }
.v2-logo svg { display: block; overflow: hidden; }
.v2-pied__nom .v2-logo { background: var(--v2-papier); border-radius: var(--v2-r-pastille); padding: 8px 18px 8px 12px; }

/* ── Fil d'Ariane, étiquettes ── */
.v2-ariane { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 15px; color: var(--v2-noisette); padding-top: 16px; }
.v2-ariane a { color: var(--v2-noisette); }
.v2-etiquette { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 12px; border-radius: var(--v2-r-pastille); background: var(--v2-teinte, var(--v2-peche)); color: var(--v2-brun); font-size: 14px; font-weight: 500; }
.v2-etiquettes { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Bloc : la surface papier des fiches ── */
.v2-bloc { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.v2-bloc__titre { font-size: var(--v2-h2-bloc) !important; }
.v2-bloc--teinte { background: var(--v2-teinte); }
.v2-bloc--encre { background: var(--v2-encre); color: #EFE5D6; }
.v2-bloc--encre .v2-bloc__titre { color: var(--v2-papier); }
.v2-texte-court { max-width: 68ch; display: grid; gap: 12px; }
.v2-repliable.est-replie { max-height: 9.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.v2-replier { justify-self: start; padding-left: 0; }

/* ── Fiche ── */
.v2-fiche { display: grid; gap: 40px; padding-bottom: 24px; }
.v2-fiche__tete { display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 40px; align-items: center; }
.v2-fiche__ident { display: grid; gap: 18px; justify-items: start; }
.v2-fiche__ident h1 { font-size: var(--v2-h1-liste); line-height: 1.02; letter-spacing: -0.03em; }
.v2-fiche__etat { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--v2-noisette); }
.v2-fiche__gestes { display: flex; flex-wrap: wrap; gap: 10px; }
.v2-fiche__photo { aspect-ratio: 1; }
.v2-fiche__photo img { width: 100%; height: 100%; object-fit: cover; }
.v2-fiche__cols { display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 24px; align-items: start; }
.v2-fiche__main, .v2-fiche__aside { display: grid; gap: 24px; align-content: start; min-width: 0; }
.v2-fiche__alerte { background: var(--v2-miel); border-radius: var(--v2-r-carte); padding: 20px 24px; }
.v2-services { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.v2-services .v2-carte { padding: 20px; gap: 6px; }
.v2-services__titre { font-weight: 600; }
.v2-liste-faits { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.v2-liste-faits dt { font-weight: 600; }
.v2-liste-faits dd { margin: 0 0 8px; color: var(--v2-noisette); }

/* Horaires : le jour même est la seule ligne teintée */
.v2-horaires { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.v2-horaires th, .v2-horaires td { text-align: left; font-weight: 400; padding: 9px 10px; vertical-align: top; }
.v2-horaires td { text-align: right; white-space: nowrap; }
@media (max-width: 599px) { .v2-horaires td { white-space: normal; } }   /* deux plages sur une ligne élargissaient toute la fiche à 360 px */
.v2-horaires__plage { white-space: nowrap; }   /* 14/11 : une plage ne se coupe jamais après son tiret ; deux plages passent à la ligne entre elles (cg_v2_horaires_texte_html) */
.v2-horaires tr.est-aujourdhui th, .v2-horaires tr.est-aujourdhui td { background: var(--v2-peche); }
.v2-horaires tr.est-aujourdhui th { border-radius: 12px 0 0 12px; font-weight: 600; }
.v2-horaires tr.est-aujourdhui td { border-radius: 0 12px 12px 0; }
.v2-note { font-size: 14px; color: var(--v2-noisette); }
.v2-encart { background: var(--v2-creme); border-radius: 18px; padding: 14px 16px; font-size: 15px; }

/* Carte d'adresse : un fond simple et un repère, jamais une tuile externe */
.v2-plan { aspect-ratio: 16 / 9; border-radius: 18px; background: var(--v2-sable); position: relative; overflow: hidden; }
.v2-plan__repere { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--v2-abricot); box-shadow: 0 0 0 4px var(--v2-papier); }

/* Provenance : trois états, la forme dit l'état */
.v2-provenance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v2-provenance__etape { display: grid; grid-template-columns: 18px 1fr; gap: 4px 10px; align-items: baseline; }
.v2-provenance__signe { width: 14px; height: 14px; border-radius: 50%; background: var(--v2-sauge-fonce); align-self: center; }
.v2-provenance__etape.est-a-venir .v2-provenance__signe { background: transparent; border: 2px solid var(--v2-noisette); }
.v2-provenance__etape strong { font-weight: 600; }
.v2-provenance__etape span:last-child { grid-column: 2; font-size: 14px; color: var(--v2-noisette); }
.v2-sources { width: 100%; border-collapse: collapse; background: var(--v2-papier); border-radius: var(--v2-r-carte); overflow: hidden; }
.v2-sources th, .v2-sources td { text-align: left; font-weight: 400; padding: 14px 22px; vertical-align: top; }
.v2-sources tr + tr th, .v2-sources tr + tr td { box-shadow: inset 0 1px 0 var(--v2-creme); }
.v2-sources td { color: var(--v2-noisette); }
.v2-proches { display: grid; gap: 10px; }
.v2-proches .v2-carte { padding: 16px 18px; gap: 2px; }
.v2-proches .v2-carte__titre { font-size: 19px; }

/* Gestes de tête : le lien vient d'un composant V1 (comptage des sorties), la forme vient d'ici */
.v2-geste > a, .v2-geste > span { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: var(--v2-r-pastille); font-weight: 500; text-decoration: none !important; color: var(--v2-encre) !important; background: var(--v2-papier); }
.v2-geste--plein > a { background: var(--v2-encre); color: var(--v2-papier) !important; }
.v2-geste--teinte > a { background: var(--v2-teinte, var(--v2-sable)); }
.v2-geste > a:hover { filter: brightness(0.96); }

/* ── Rendus V1 posés dans une surface V2 : la règle reste dans le rendu, la forme vient d'ici ── */
.v2-v1 h2:not(.v2-bloc__titre), .v2-v1 h3 { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 21px !important; line-height: 1.25; margin: 8px 0 6px; }
.v2-v1 ul, .v2-v1 ol { padding-left: 1.2em; margin: 0; }
.v2-v1 p { margin: 0 0 8px; }
.v2-v1 .pro-section, .v2-v1 section { margin: 0; }
.v2-v1 .pro-section + .pro-section, .v2-v1 .pro-facts + .pro-section { margin-top: 14px; }
.v2-v1 .pro-chips, .v2-v1 .pro-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.v2-v1 .pro-chip, .v2-v1 .pill { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 12px; border-radius: var(--v2-r-pastille); background: var(--v2-peche); color: var(--v2-brun); font-size: 15px; }
.v2-v1 .cg-button, .v2-v1 button, .v2-v1 input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 20px; border: 0; border-radius: var(--v2-r-pastille); background: var(--v2-papier); color: var(--v2-encre) !important; font: 500 16px/1.2 var(--v2-texte); text-decoration: none !important; cursor: pointer; }
.v2-bloc--teinte.v2-v1 .cg-button, .v2-bloc--teinte.v2-v1 button { background: var(--v2-papier); }
.v2-bloc:not(.v2-bloc--teinte).v2-v1 .cg-button, .v2-bloc:not(.v2-bloc--teinte).v2-v1 button { background: var(--v2-sable); }
.v2-v1 form { margin: 0; }
.v2-v1 details > summary { cursor: pointer; font-weight: 500; }
.v2-v1 small, .v2-v1 .description, .v2-v1 [class*="note"] { font-size: 14px; color: var(--v2-noisette); }
.v2-gestion { gap: 10px; }
.v2-gestion > div, .v2-gestion > p { display: grid; gap: 8px; justify-items: start; }
.v2-contact p { margin: 0; }
.v2-ariane .cg-breadcrumb-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; }
.v2-ariane .cg-breadcrumb-item:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--v2-noisette); } /* R2-230 : le séparateur finit l'élément, une ligne coupée ne commence plus par « / » */

/* ── Lieux ── */
.v2-regle { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: center; background: #2B3A24; color: #EEF1E4; border-radius: var(--v2-r-galet); padding: 24px 28px; width: 100%; }
.v2-regle__signe { width: 64px; height: 64px; border-radius: 50%; background: var(--v2-sauge); color: var(--v2-sur-sauge); display: grid; place-items: center; }
.v2-regle__signe .v2-picto { width: 28px; height: 28px; }
.v2-regle__sur { font-size: 14px; color: #C9D3BA; }
.v2-regle__texte { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: clamp(24px, 3vw, 36px); line-height: 1.15; color: #FFFBF5; }
.v2-regle--interdit { background: var(--v2-rouille-fonce); }
.v2-regle--interdit .v2-regle__signe { background: var(--v2-peche); color: var(--v2-rouille-fonce); }
.v2-regle--inconnu { background: var(--v2-sable); color: var(--v2-encre); }
.v2-regle--inconnu .v2-regle__texte, .v2-regle--inconnu .v2-regle__sur { color: var(--v2-encre); }
.v2-alerte { background: var(--v2-peche); color: var(--v2-brun); border-radius: var(--v2-r-carte); padding: 16px 22px; width: 100%; }
.v2-lieu__carte { display: grid; gap: 14px; justify-items: center; }
.v2-plan--galet { width: 100%; aspect-ratio: 1; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: var(--v2-sauge); }
/* Une quantité ne se coupe jamais : la passe de la page (v2/typographie.php) enveloppe le chiffre, sa fourchette et son mot. */
cg-q { display: contents; white-space: nowrap; }
.cg-v2 :is(.cg-provenance-synthese, .cg-provenance-meta) { text-wrap: pretty; } /* jamais une année seule sur la dernière ligne */
/* Les repères (cg_v2_reperes) : plusieurs faits sur peu d'espace, un seul langage. Lignes : le libellé à gauche, la valeur à droite ; une valeur qui ne tient pas passe dessous d'elle-même, jamais une unité seule. */
.v2-reperes { margin: 0; display: grid; gap: 2px; font-size: 15px; line-height: 1.35; }
.v2-reperes > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.v2-reperes dt { color: var(--v2-reperes-dt, var(--v2-noisette)); font-weight: 400; }
.v2-reperes dd { margin: 0 0 0 auto; text-align: right; font-weight: 600; overflow-wrap: break-word; }
/* Une phrase pour valeur : elle suit son libellé, et passe dessous si elle ne tient pas. */
.v2-reperes--texte { gap: 6px; }
.v2-reperes--texte dd { margin: 0; text-align: left; font-weight: 400; }
/* Tuiles : autant de colonnes que la largeur en tient, le reste à la ligne, sans trou (la dernière s'étire). */
.v2-reperes--tuiles { display: flex; flex-wrap: wrap; gap: 12px 0; }
.v2-reperes--tuiles > div { flex: 1 1 auto; display: grid; gap: 1px; align-content: start; padding: 0 16px; box-shadow: -1px 0 0 var(--v2-reperes-trait, var(--v2-sable)); justify-content: start; }
.v2-reperes--tuiles dt { font-size: 14px; }
.v2-reperes--tuiles dd { margin: 0; text-align: left; font-size: 17px; }
.v2-faits { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.v2-fait { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 18px 22px; display: grid; gap: 4px; }
.v2-fait strong { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-weight: 400; font-size: 22px; line-height: 1.25; }
.v2-citation { margin: 0; background: var(--v2-sauge); border-radius: var(--v2-r-galet); padding: clamp(20px, 3vw, 32px); font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 19px; line-height: 1.5; color: var(--v2-sur-sauge); }
.v2-citation p { margin: 0 0 10px; }

.v2-autour ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.v2-autour li > a { display: block; font-weight: 500; }
.v2-autour li > span, .v2-autour li > small { font-size: 14px; color: var(--v2-noisette); }

/* ── Guide en blocs ── */
.v2-guide { display: grid; gap: 28px; }
.v2-proposition { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 12px 18px; font-size: 15px; color: var(--v2-noisette); }
.v2-guide__tete { display: grid; gap: 14px; justify-items: start; max-width: 900px; }
.v2-guide__tete h1 { font-size: var(--v2-h1-liste); line-height: 1.04; }
.v2-guide__cols { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.v2-guide__sommaire { position: sticky; top: 92px; max-height: calc(100vh - 108px); overflow-y: auto; overscroll-behavior: contain; } /* plus haut que la fenêtre, il défile de lui-même : sa dernière entrée reste visible au focus (WCAG 2.4.11, R2-042) ; quand il tient, rien ne change */
.v2-guide__corps { display: grid; gap: 40px; max-width: 760px; min-width: 0; }
.v2-passage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; } /* une piste qui peut rétrécir : un tableau large défile dans son cadre (.v2-tableau), la page ne défile pas de côté, même à l'espacement du texte élargi (WCAG 1.4.12, R2-027) */
.v2-passage h2 { font-size: var(--v2-h2); }
.v2-passage__texte { display: grid; gap: 12px; }
.v2-passage__texte ul, .v2-passage__texte ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.v2-passage__chapo { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.45; }
.v2-passage__chapo p { margin: 0; }
.v2-passage--etapes ol { list-style: none; padding: 0; counter-reset: etape; gap: 12px; }
.v2-passage--etapes ol li { counter-increment: etape; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.v2-passage--etapes ol li::before { content: counter(etape); width: 32px; height: 32px; border-radius: 50%; background: var(--v2-sable); display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.v2-passage--citation .v2-passage__texte, .v2-passage--citation blockquote { background: var(--v2-sauge); border-radius: var(--v2-r-galet); padding: 22px 26px; margin: 0; font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 19px; color: var(--v2-sur-sauge); }
.v2-passage--citation blockquote { padding: 0; background: none; }
.v2-passage--a-retenir .v2-passage__texte { background: var(--v2-miel); border-radius: var(--v2-r-carte); padding: 20px 24px; }
.v2-passage--encadre .v2-passage__texte { background: var(--v2-peche); border-radius: var(--v2-r-carte); padding: 20px 24px; }
.v2-passage--reste-ouvert .v2-passage__texte { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 20px 24px; }
.v2-passage--chiffres-cles ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.v2-passage--chiffres-cles li { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 16px 18px; }
.v2-tableau { overflow-x: auto; background: var(--v2-papier); border-radius: var(--v2-r-carte); }
.v2-tableau table { width: 100%; border-collapse: collapse; font-size: 16px; }
.v2-tableau th, .v2-tableau td { text-align: left; vertical-align: top; padding: 12px 16px; }
.v2-tableau thead th { font-weight: 600; background: var(--v2-sable); }
.v2-tableau tbody tr + tr td { box-shadow: inset 0 1px 0 var(--v2-creme); }
.v2-renvoi { display: inline-block; }   /* une suite de renvois collés formait un seul mot insécable : 13 d'affilée = 100 px de débordement au téléphone */
.v2-renvoi a { font-size: 12px; text-decoration: none; background: var(--v2-sable); border-radius: 999px; padding: 0 6px; margin-left: 2px; color: var(--v2-brun) !important; }
.v2-sources-liste { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.v2-sources-liste li { background: var(--v2-papier); border-radius: 18px; padding: 14px 18px; display: grid; gap: 4px; justify-items: start; }
.v2-sources-liste li:target { box-shadow: 0 0 0 3px var(--v2-abricot); }

/* ── Consentement : la carte V2 (forme seulement ; logique, textes et égalité refus/acceptation restent ceux de la V1) ──
   Pas de voile, pas de blocage du défilement (règles de inc/consentement.php) ; les deux choix ont la même forme exacte. */
.cg-v2 .cg-consent { left: 50%; right: auto; bottom: 20px; transform: translateX(-50%); width: min(620px, calc(100% - 32px)); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 24px; background: var(--v2-papier); border: 0; border-radius: var(--v2-r-galet); box-shadow: var(--v2-ombre-feuille); font: 16px/1.55 var(--v2-texte); color: var(--v2-encre); }
.cg-v2 .cg-consent__texte { max-width: none; }
.cg-v2 .cg-consent__texte a { color: var(--v2-rouille); text-decoration: underline; }
.cg-v2 .cg-consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.cg-v2 .cg-consent .cg-consent__btn, .cg-v2 .cg-consent .cg-consent__btn--refus, .cg-v2 .cg-consent .cg-consent__btn--ok { min-height: 48px; padding: 10px 18px; border: 0; border-radius: var(--v2-r-pastille); background: var(--v2-sable); color: var(--v2-encre); font: 600 16px/1.2 var(--v2-texte); box-shadow: none; width: 100%; }
.cg-v2 .cg-consent .cg-consent__btn.cg-consent__btn:hover, .cg-v2 .cg-consent .cg-consent__btn.cg-consent__btn:active { background: #E4D6C1; color: var(--v2-encre) !important; filter: none; } /* doublé : la règle des boutons du site passait devant, Accepter virait au brun plein au survol, Refuser non (mesuré le 04/11) */
.cg-v2 .cg-consent .cg-consent__btn:focus-visible, .cg-v2 .cg-consent:focus-visible { outline: 3px solid var(--v2-focus); outline-offset: 2px; } /* GO-C D7 (A11Y-2, Jordan 14/11) : l’abricot faisait 2,94:1 sur le papier ; la rouille du focus, 5,96:1 */ /* la question reposée par « Gérer mes choix » reçoit le focus : au clavier, ça se voit */

.cg-v2 .cg-consent__titre { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-weight: 400; font-size: 22px; line-height: 1.2; }
/* En sombre, le survol ne vire pas au clair sous un texte clair (Accepter tombait à 1,18:1) : le même effet sur les deux choix. */
@media (prefers-color-scheme: dark) { .cg-v2 .cg-consent .cg-consent__btn.cg-consent__btn:hover, .cg-v2 .cg-consent .cg-consent__btn.cg-consent__btn:active { background: var(--v2-sable); color: var(--v2-encre) !important; filter: brightness(1.25); } }
/* Consentement au téléphone (GO de Jordan du 02/11, présentation seulement : mots, boutons, choix et ce qui se charge ne bougent pas) : une feuille posée sur la barre du bas, comme les autres feuilles du site, au lieu d'une carte flottante. Tout le texte reste à vue, sans dépli. */
@media (max-width: 759px), (max-width: 1099px) and (max-height: 500px) {
	body.cg-v2 .cg-consent { left: 0; right: 0; width: 100%; transform: none; bottom: calc(var(--v2-barre-h) + env(safe-area-inset-bottom)); max-height: calc(100dvh - var(--v2-barre-h) - 16px); overflow: auto; gap: 6px; padding: 12px 16px; border-radius: var(--v2-r-galet) var(--v2-r-galet) 0 0; box-shadow: 0 -8px 24px rgba(43, 30, 21, .14); font-size: 14px; line-height: 1.4; }
	body.cg-v2 .cg-consent__titre { font-size: 18px; }
	body.cg-v2 .cg-consent__texte a { white-space: nowrap; display: inline-block; padding-block: 12px; margin-block: -12px; } /* 44 px au doigt, le texte ne bouge pas */
	body.cg-v2 .cg-consent .cg-consent__btn { min-height: 44px; padding: 8px 12px; font-size: 15px; }
}
/* Téléphone couché : le texte à gauche, les deux choix à droite, sur la même ligne. Couché seulement : un clavier qui réduit la fenêtre en portrait passait sous 500 px de haut et serrait le texte (bandeau à 360 px de haut sur 440). */
@media (max-width: 1099px) and (max-height: 500px) and (orientation: landscape) {
	body.cg-v2 .cg-consent { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 16px; }
	body.cg-v2 .cg-consent__titre, body.cg-v2 .cg-consent__texte { grid-column: 1; }
	body.cg-v2 .cg-consent__actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
/* Un panneau ouvert : la question reste à l'écran et utilisable, la couche s'arrête au-dessus d'elle (--v2-couche-bas). Avant le 04/11, elle s'effaçait le temps du panneau : Refuser était hors d'atteinte. Mots, choix et ce qui se charge ne bougent pas. */
/* Question ouverte, côté page : rien de collé au bas ne passe dessous, et la réserve sous la page tient pendant la saisie (02/11 : le bouton Comparer de quatre listes était couvert et inatteignable). Mots, choix et ce qui se charge ne bougent pas. */
@media (max-width: 759px), (max-width: 1099px) and (max-height: 500px) {
	body.cg-consent-ouvert:not(.v2-saisie) :is(.v2-al-plateau, .v2-comparer__actions, .v2-pres-confirmation, .v2-parcours .quiz-actions, .v2-toast, .v2-pe-infos__enregistrer, .v2-coquille .cg-form-editer:has(details[open]) > .cg-edit-actions) { bottom: calc(var(--cg-consent-hauteur, 140px) + 8px); }
	body.cg-v2.v2-saisie.cg-consent-ouvert { padding-bottom: calc(var(--cg-consent-hauteur, 140px) + 16px); }
	body.cg-v2.v2-saisie .cg-consent { bottom: env(safe-area-inset-bottom); } /* la barre du bas est masquée pendant la saisie : pas de vide sous la question */
}
.v2-pied__choix { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ── Accès (connexion, inscription, mot de passe) : panneau d'accueil + carte ── */
.v2-acces { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; margin-top: clamp(16px, 4vw, 48px); background: var(--v2-papier); border-radius: var(--v2-r-galet); overflow: hidden; box-shadow: var(--v2-ombre-page); }
.v2-cadre.v2-acces { padding: 0; width: min(1120px, calc(100% - 2 * var(--v2-gouttiere))); }
.v2-acces__accueil { background: var(--v2-teinte); padding: clamp(28px, 5vw, 56px); display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden; }
.v2-acces__phrase { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.v2-acces__promesses { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.v2-acces__promesses li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.v2-acces__promesses li::before { content: ""; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--v2-point); }
.v2-acces__accueil .v2-galet { position: absolute; width: 58%; right: -12%; bottom: -14%; aspect-ratio: 1; opacity: .9; }
.v2-acces__carte { padding: clamp(24px, 5vw, 56px); display: grid; gap: 18px; align-content: start; max-width: 560px; width: 100%; justify-self: center; }
.v2-acces__onglets { display: grid; grid-template-columns: 1fr 1fr; background: var(--v2-creme); border-radius: var(--v2-r-pastille); padding: 4px; }
.v2-acces__onglets a { display: grid; place-items: center; min-height: 44px; border-radius: var(--v2-r-pastille); color: var(--v2-noisette) !important; text-decoration: none !important; font-weight: 500; }
.v2-acces__onglets a[aria-current="page"] { background: var(--v2-papier); color: var(--v2-encre) !important; box-shadow: 0 1px 4px rgba(43, 30, 21, .18); }
.v2-acces__titre { font-size: clamp(30px, 3.6vw, 42px) !important; }
.v2-acces__d-abord { background: var(--v2-peche); border-radius: var(--v2-r-carte); padding: 18px 20px; display: grid; gap: 12px; justify-items: start; }
.v2-acces__liens { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.v2-formulaire { display: grid; gap: 16px; }
.v2-champ-bloc { display: grid; gap: 6px; margin: 0; }
.v2-champ-bloc > label { font-weight: 600; font-size: 15px; }
.v2-formulaire .v2-champ { width: 100%; background: var(--v2-creme); min-height: 52px; font-size: 17px; }
.v2-formulaire .v2-champ:focus { outline: 3px solid var(--v2-focus); outline-offset: 1px; background: var(--v2-papier); }
.v2-champ-aide { font-size: 14px; color: var(--v2-noisette); font-weight: 400; }
.v2-champ-mdp { position: relative; display: block; }
.v2-champ-mdp .v2-champ { padding-right: 96px; }
.v2-champ-mdp__voir { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-height: 44px; padding: 4px 12px; border: 0; border-radius: var(--v2-r-pastille); background: var(--v2-papier); color: var(--v2-brun); font: 500 14px var(--v2-texte); cursor: pointer; }
.v2-champ-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 0; font-size: 15px; }
.v2-case { display: inline-flex; gap: 10px; align-items: flex-start; }
.v2-case input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--v2-encre); flex: none; }
.v2-champ-ligne > .v2-champ-erreur { flex-basis: 100%; }
.v2-pot { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.v2-bouton--large { width: 100%; min-height: 54px; font-size: 17px; }
.v2-message { border-radius: var(--v2-r-carte); padding: 14px 18px; display: grid; gap: 4px; }
.v2-message ul { margin: 0; padding-left: 1.1em; }
.v2-message--ok { background: var(--v2-sauge); color: var(--v2-sur-sauge); }
.v2-message--erreur { background: var(--v2-peche); color: var(--v2-rouille-fonce); }

.v2-provenance-texte { display: grid; gap: 8px; justify-items: start; background: var(--v2-creme); border-radius: 18px; padding: 12px 14px; }

.v2-champ-erreur { color: var(--v2-rouille-fonce); font-size: 14px; font-weight: 500; }
/* B1 / S1 (P6, 18/11) : le compteur des prestations, quand une ligne dépasse la borne (v2.js, [data-cg-lignes-max]). Jamais la couleur seule : le texte le dit. */
[data-cg-lignes-pour].est-trop { color: var(--v2-rouille-fonce); font-weight: 600; }
.v2-champ-erreur ul { margin: 4px 0 0; padding-left: 1.2em; }
.v2-formulaire [aria-invalid="true"] { outline: 2px solid var(--v2-rouille); outline-offset: 1px; }

.v2-acces__fiche { display: grid; gap: 2px; background: var(--v2-peche); border-radius: 18px; padding: 12px 16px; margin: 0; }

/* ── Fenêtre de connexion (partout) : voile + feuille ; sur téléphone, feuille presque plein écran, défilante ── */
.v2-auth { position: fixed; inset: 0; z-index: 95000; display: grid; place-items: center; padding: 16px; }
/* Fenêtre de compte et question ouverte (04/11, mandat de Jordan) : l'une au-dessus de l'autre, aucune ne couvre l'autre. Au téléphone, sur /connexion/, la fenêtre est la page : la question effacée n'y revenait jamais et Refuser était hors d'atteinte. Au bureau, la question couvrait « Se connecter ». Le clavier du téléphone passe devant la question : la feuille se pose au-dessus du plus haut des deux. */
.v2-auth-ouverte .cg-consent { z-index: 95010; }
html.v2-auth-ouverte { overflow: hidden; } /* le fond ne défile pas ; sans déplacer la page (position: fixed sortait l'en-tête de l'écran) */
html.v2-auth-ouverte body.cg-consent-ouvert .v2-auth { padding-bottom: calc(max(0px, var(--cg-consent-hauteur, 0px) - var(--v2-clavier, 0px)) + 8px); }
html.v2-auth-ouverte body.cg-consent-ouvert .v2-auth__feuille { max-height: min(calc(100vh - var(--cg-consent-hauteur, 0px) - 24px), 860px); max-height: min(calc(100dvh - var(--cg-consent-hauteur, 0px) - 24px), 860px); }
@media (min-width: 760px) {
	html.v2-auth-ouverte body.cg-v2 .cg-consent { bottom: 12px; width: min(940px, calc(100% - 32px)); grid-template-columns: minmax(0, 1fr) 280px; column-gap: 24px; row-gap: 4px; padding: 14px 24px; }
	html.v2-auth-ouverte body.cg-v2 .cg-consent__titre, html.v2-auth-ouverte body.cg-v2 .cg-consent__texte { grid-column: 1; }
	html.v2-auth-ouverte body.cg-v2 .cg-consent__actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
.v2-auth[hidden] { display: none !important; }
.v2-auth [tabindex="-1"]:focus { outline: none; } /* le titre reçoit le focus pour les lecteurs d’écran : ce n’est pas un élément à activer */
/* Un message ou l'étape d'un parcours reçoit le focus pour être lu : un anneau rouille autour de « C'est enregistré » se lisait comme une erreur (04/11, connecte-0411). */
.cg-v2 :is([role=status], [role=alert], .v2-message, .cg-callout, .cg-parcours__etape)[tabindex="-1"]:focus { outline: none; }
.v2-auth__voile { position: absolute; inset: 0; background: rgba(43, 30, 21, .42); }
.v2-auth__feuille { position: relative; width: min(520px, 100%); max-height: min(92vh, 860px); max-height: min(92dvh, 860px); overflow: auto; overscroll-behavior: contain; scroll-padding: 12px 0 16px; /* un champ amené au-dessus du clavier garde un peu d’air */ background: var(--v2-papier); border-radius: var(--v2-r-galet); box-shadow: var(--v2-ombre-feuille); }
.v2-auth .v2-acces__carte { max-width: none; padding: 28px 28px 32px; }
.v2-auth__feuille:has(.v2-acces--fenetre) { width: min(940px, 100%); }
.v2-acces--fenetre { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 560px; margin-top: 0; box-shadow: none; }
.v2-acces--fenetre .v2-acces__accueil { border-radius: var(--v2-r-galet) 0 0 var(--v2-r-galet); padding: 40px 36px; }
.v2-acces--fenetre .v2-acces__carte { justify-self: stretch; align-content: center; }
@media (min-width: 600px) { .v2-auth .v2-acces--fenetre .v2-acces__carte { padding-top: 68px; } }
/* Retour de Jordan n° 2 (13/11) : l'écran du second facteur (extension two-factor) dans la fenêtre de connexion. UNE carte, centrée, à la largeur d'un
   formulaire ; le champ et le bouton de la V2 ; les autres méthodes en liens simples. Classes posées par v2.js (secondFacteur) : aucun autre écran ne change. */
.v2-auth__feuille:has(.v2-acces--second-facteur) { width: min(560px, 100%); }
.v2-acces--second-facteur { grid-template-columns: 1fr; min-height: 0; }
.v2-acces--second-facteur .v2-acces__carte { justify-self: center; max-width: 480px; }
.v2-acces--second-facteur .v2-acces__titre { font-size: clamp(26px, 3vw, 34px) !important; }
.v2-acces--second-facteur .v2-formulaire p { margin: 0; }
.v2-acces--second-facteur input.v2-champ { font-size: 22px; letter-spacing: .12em; text-align: center; }
.v2-second-facteur__consigne { color: var(--v2-noisette); }
.v2-second-facteur__secours { display: grid; gap: 6px; font-size: 15px; }
.v2-second-facteur__secours p { margin: 0; color: var(--v2-noisette); }
.v2-second-facteur__secours ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.v2-auth__corps[aria-busy="true"] { min-height: 320px; opacity: .6; }
.v2-acces-page { min-height: 50vh; }
/* /connexion/, /inscription/ ouvertes directement : la feuille est la page. Pas de voile sur du vide, pas de croix qui ne fermerait rien : l'en-tête et la barre restent. */
.v2-auth--page { z-index: 45; padding-top: 88px; }
@media (max-height: 599px) and (min-width: 600px) { .v2-auth--page { z-index: 95000; padding-top: 16px; } } /* téléphone couché : la place d'abord, l'en-tête attend */
.v2-auth--page .v2-auth__voile { background: var(--v2-creme); }
.v2-auth--page .v2-couche__tete .v2-auth__fermer { display: none; }
.v2-sans-anneau:focus { outline: none !important; }
@media (max-width: 599px) {
	/* Compte, au téléphone : la couche, comme les autres panneaux. Elle s'arrête sur la barre (ou sur la question, ou sur le clavier), et sa tête ne défile pas. */
	@media (min-height: 421px) {
		html.v2-auth-ouverte:not(.v2-clavier-la) body.cg-v2.v2-saisie .cg-consent { bottom: calc(var(--v2-barre-h) + env(safe-area-inset-bottom)); }
		html.v2-auth-ouverte:not(.v2-clavier-la) body.cg-v2.v2-saisie .v2-barre { display: block; }
	}
	.v2-auth, html.v2-auth-ouverte body.cg-consent-ouvert .v2-auth { top: var(--v2-vue-haut, 0px); bottom: max(var(--v2-couche-bas), var(--v2-clavier, 0px)); padding: 0; display: flex; flex-direction: column; justify-content: flex-end; }
	.v2-auth__voile { touch-action: none; }
	.v2-auth__feuille, html.v2-auth-ouverte body.cg-consent-ouvert .v2-auth__feuille { width: 100%; max-height: calc(100% - 44px); display: flex; flex-direction: column; overflow: hidden; border-radius: var(--v2-r-galet) var(--v2-r-galet) 0 0; padding-bottom: 0; animation: v2-couche-entree .22s cubic-bezier(.2, .8, .2, 1); }
	.v2-auth--page .v2-auth__feuille, html.v2-auth-ouverte body.cg-consent-ouvert .v2-auth--page .v2-auth__feuille { flex: 1 1 auto; max-height: none; margin-top: 76px; min-height: 0; animation: none; } /* la page : de l'en-tête à la barre, le champ ne saute pas quand le clavier monte */
	.v2-auth--page { padding-top: 0; }
	.v2-auth .v2-acces__carte { padding: 14px 16px 24px; gap: 14px; }
	.v2-acces--fenetre { grid-template-columns: 1fr; min-height: 0; }
	.v2-acces .v2-acces__accueil { display: none; }
	/* Les onglets disent déjà où l'on est : le grand titre reste pour les lecteurs d'écran, le premier champ remonte. */
	.v2-acces__carte:has(.v2-acces__onglets) .v2-acces__titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.v2-acces__pourquoi { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--v2-r-bloc); background: var(--v2-teinte); }
	.v2-acces__pourquoi-titre { margin: 0; font-weight: 600; }
	.v2-acces__pourquoi .v2-acces__promesses { display: grid; gap: 6px; font-size: 15px; line-height: 1.35; }
	.v2-acces__pourquoi .v2-acces__promesses li { grid-template-columns: 16px 1fr; gap: 6px; }
	.v2-acces__pourquoi .v2-acces__promesses li::before { width: 8px; height: 8px; margin-top: 7px; }
	.v2-acces__pourquoi .v2-bouton { margin-top: 4px; justify-content: center; background: var(--v2-papier); }
	.v2-acces__notes { display: grid; gap: 8px; font-size: 15px; color: var(--v2-noisette); }
	.v2-acces__notes:empty { display: none; }
	.v2-acces__notes p { margin: 0; }
	/* Clavier ouvert à l'inscription : le bloc du haut se replie, le reste ne saute plus. */
	.v2-acces--fenetre.est-en-saisie [data-v2-acces-mode="inscription"] > .v2-acces__pourquoi { display: none; }
	/* F3 (UX-MOBILE 01/12) : au téléphone, « Se connecter » reste à vue au bas de la fenêtre de connexion (il était sous le bord à l'ouverture, la barre du site restant sous la feuille) ; avec le clavier, la feuille s'arrête au-dessus de lui, et le bouton aussi. */
	.v2-auth [data-v2-acces-mode="connexion"] .v2-formulaire > button[type="submit"] { position: sticky; bottom: 0; z-index: 1; box-shadow: 0 0 0 8px var(--v2-papier); }
	/* F3 v4 (FINIR-GO-K, 02/12) : le collage ne prenait pas, la carte .v2-acces (overflow: hidden, pour ses coins) faisait écran entre le bouton et le corps qui défile ; « clip » coupe pareil sans faire écran. Mesuré au banc : le bouton passe de 611-665 (sous le bord) à 546-600 (au-dessus de la barre, où la fenêtre s’arrête). */
	.v2-auth .v2-acces--fenetre { overflow: clip; }
}
@media (min-width: 600px) {
	.v2-auth .v2-couche__tete { position: absolute; top: 12px; right: 12px; z-index: 2; }
	.v2-auth .v2-couche__titre { display: none; }
	.v2-acces__pourquoi, .v2-acces__notes .v2-acces__sans { display: none; }
	.v2-acces__pro { margin: 0; font-size: 15px; color: var(--v2-noisette); }
}
.v2-acces__sans { font-size: 15px; position: relative; z-index: 1; }
.cg-v2 .cg-auth__links { margin-top: 12px; }
.cg-v2 .cg-auth__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; } /* page de panne : la sortie se voit (COUV-R36-14) */
.v2-bienvenue { display: grid; gap: 14px; padding: 18px 16px 24px; }
@media (min-width: 600px) { .v2-bienvenue { padding: 40px 36px; max-width: 620px; margin: 0 auto; } }
.v2-bienvenue__titre { margin: 0; font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 28px; line-height: 1.15; }
.v2-bienvenue__dit { margin: 0; }
.v2-bienvenue__suite { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.v2-bienvenue__suite a { display: grid; gap: 2px; min-height: 52px; padding: 10px 14px; border-radius: var(--v2-r-bloc); background: var(--v2-creme); color: var(--v2-encre) !important; text-decoration: none !important; }
.v2-bienvenue__suite strong { font-weight: 600; }
.v2-bienvenue__suite small { font-size: 14px; color: var(--v2-noisette); }

/* Au téléphone, cibles de 44 px là où le doigt hésite (usage rejoué le 02/11, listes de liens à 19-26 px) ; la zone de toucher déborde dans le vide autour, la page ne bouge presque pas. */
@media (max-width: 599px) {
	a.v2-eleveur__nom, .v2-v1 a.cg-pro-mini__name, a.v2-essentiel__voir, .v2-produit-carte__nom a, .v2-ariane a, .cg-breadcrumb-item a, .cg-canimap__trouver-titre a { display: inline-block; padding-block: 10px; margin-block: -10px; }
	.v2-fil:has(.v2-fil__etape a) { gap: 6px; }
	.v2-fil__etape a { display: block; padding-block: 9px; }
	.v2-fil__etape::before { top: calc(.45em + 9px); }
	.cg-pour-continuer__lien { display: block; padding-block: 12px; margin-block: -12px; }
	.cg-pour-continuer__element { position: relative; }
	summary.cg-sources__resume, .v2-prenom__apercu summary, .v2-fiche details:not([class]) > summary { padding-block: 9px; }
	details.v2-page-texte__pli summary { min-height: 44px; }
	.v2-signaler__case { min-height: 44px; }
}

/* ── Espace pro V2 ── */
.v2-espace { display: grid; gap: 24px; padding-bottom: 24px; }
.v2-espace__tete { display: grid; gap: 10px; max-width: 760px; }
.v2-espace__tete h1 { font-size: var(--v2-h1-liste); }
.v2-espace__cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.v2-espace__main, .v2-espace__aside { display: grid; gap: 20px; align-content: start; min-width: 0; }
.v2-champ--texte { min-height: 260px; line-height: 1.6; padding: 14px 16px; resize: vertical; font-family: var(--v2-texte); }
.v2-apercu { background: var(--v2-creme); border-radius: var(--v2-r-carte); padding: 18px 20px; display: grid; gap: 10px; }
.v2-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.v2-historique { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.v2-espace__publie { max-height: 18em; overflow: auto; }

/* ── Porte de la revendication (rendu V1 dans une mise en page V2) ── */
.v2-porte { display: grid; gap: 28px; padding-bottom: 24px; }
.v2-porte__tete { display: grid; gap: 16px; }
.v2-porte__tete h1 { font-size: var(--v2-h1-porte); max-width: 18ch; }
.v2-porte__temps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: temps; }
.v2-porte__temps li { counter-increment: temps; background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 18px 20px; display: grid; gap: 4px; }
.v2-porte__temps li::before { content: counter(temps); width: 32px; height: 32px; border-radius: 50%; background: var(--v2-peche); display: grid; place-items: center; font-weight: 600; margin-bottom: 6px; }
.v2-porte__temps span { color: var(--v2-noisette); font-size: 15px; }
.v2-porte .cg-porte { display: grid; gap: 20px; }
.v2-porte .cg-porte__action { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; }
.v2-porte .cg-porte__titre { font-size: 26px !important; margin: 0; }
.v2-porte .cg-confirm__lede { color: var(--v2-noisette); margin: 0; }
.v2-porte .cg-revendiquer-recherche { display: flex; gap: 10px; flex-wrap: wrap; }
.v2-porte .cg-revendiquer-recherche input[type="search"] { flex: 1 1 260px; min-height: 52px; padding: 10px 16px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-creme); font: 17px var(--v2-texte); color: var(--v2-encre); }
.v2-porte .cg-revendiquer-recherche .cg-button { background: var(--v2-encre); color: var(--v2-papier) !important; min-height: 52px; }
.v2-porte .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.v2-porte .cg-fiche-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v2-porte .cg-fiche-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; background: var(--v2-creme); border-radius: 18px; padding: 16px 18px; }
.v2-porte .cg-fiche-card__body { display: grid; gap: 2px; min-width: 0; }
.v2-porte .cg-fiche-card__name { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 20px; color: var(--v2-encre) !important; text-decoration: none !important; }
.v2-porte .cg-fiche-card__meta, .v2-porte .cg-porte__etat { font-size: 15px; color: var(--v2-noisette); }
.v2-porte .cg-fiche-card__action .cg-button, .v2-porte .cg-porte__creer .cg-button { background: var(--v2-encre); color: var(--v2-papier) !important; }
.v2-porte .cg-revendiquer-vide { background: var(--v2-creme); border-radius: 18px; padding: 14px 16px; margin: 0; }
.v2-porte .cg-porte__creer { display: grid; gap: 10px; justify-items: start; }
.v2-porte .cg-callout { border-radius: 18px; padding: 12px 16px; background: var(--v2-miel); }

/* ── Parcours et Espace pro (rendus V1 dans le cadre V2) ── */
.v2-parcours { display: grid; gap: 18px; padding-bottom: 24px; justify-items: center; }
.v2-parcours > * { width: min(760px, 100%); }
.v2-parcours__titre { font-size: clamp(28px, 3.6vw, 42px); }
.v2-parcours__carte { background: var(--v2-papier); border-radius: var(--v2-r-galet); padding: clamp(20px, 4vw, 40px); display: grid; gap: 16px; }
.v2-espace__cadre { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.v2-espace__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.v2-espace__nav a { display: block; padding: 10px 14px; border-radius: var(--v2-r-champ); color: var(--v2-encre) !important; text-decoration: none !important; }
.v2-espace__nav a[aria-current], .v2-espace__nav .est-actif a, .v2-espace__nav [aria-current="page"] { background: var(--v2-papier); font-weight: 600; }
.v2-espace__nav select { width: 100%; min-height: 48px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-papier); padding: 8px 12px; font: 16px var(--v2-texte); }
.v2-espace__rubrique { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; }
.v2-parcours .quiz-progress-wrapper { margin-bottom: 14px; } /* S-014, à toute largeur */
.v2-parcours .cg-callout { margin-bottom: 14px; }
.v2-parcours .cg-parcours__preuves { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--v2-ligne, rgba(43, 30, 21, .14)); border-radius: 12px; margin-bottom: 14px; }
.v2-parcours .cg-parcours__ou { margin: 0; font-size: 13px; color: var(--v2-noisette); text-align: center; }
.v2-parcours .cg-parcours__apres { margin-top: 14px; }
.v2-espace__rubrique:has(> .cg-espace-pro:empty) { display: none; } /* 04/11 (S-008) : le tableau de bord sans rien d'autre que « Votre prochaine étape » : pas de carte vide */
.v2-ep-fiches { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v2-ep-fiche { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: var(--v2-creme); border-radius: 18px; padding: 14px 16px; }
.v2-ep-fiche > div:first-child { display: grid; gap: 4px; justify-items: start; }
.v2-ep-fiche__nom { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 20px; color: var(--v2-encre) !important; text-decoration: none !important; }
.v2-v1 input[type="text"], .v2-v1 input[type="url"], .v2-v1 input[type="email"], .v2-v1 input[type="tel"], .v2-v1 input[type="search"], .v2-v1 input[type="number"], .v2-v1 textarea, .v2-v1 select { width: 100%; min-height: 48px; padding: 10px 14px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-creme); font: 16px/1.4 var(--v2-texte); color: var(--v2-encre); }
.v2-v1 textarea { min-height: 140px; }
.v2-v1 label { font-weight: 600; font-size: 15px; }
.v2-v1 fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.v2-v1 .cg-button:not(.cg-button-secondary) { background: var(--v2-encre); color: var(--v2-papier) !important; }
.v2-v1 .cg-reply-form__submit, .v2-bloc.v2-v1 .cg-reply-form .cg-reply-form__submit { background: var(--v2-encre); color: var(--v2-papier) !important; }

.v2-v1 label:has(> input[type="radio"]), .v2-v1 label:has(> input[type="checkbox"]) { display: flex; gap: 12px; align-items: flex-start; background: var(--v2-creme); border-radius: 18px; padding: 14px 16px; margin: 0 0 8px; font-weight: 500; cursor: pointer; }
.v2-v1 label:has(> input[type="radio"]:checked), .v2-v1 label:has(> input[type="checkbox"]:checked) { background: var(--v2-peche); }
.v2-v1 input[type="radio"], .v2-v1 input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--v2-encre); }
.v2-espace__nav details { display: none; }
.v2-espace__rubrique li > span, .v2-espace__rubrique li > a { margin-right: .45em; }

.v2-champ-ligne-tel { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; }
.v2-semaine { display: grid; gap: 8px; }
.v2-jour { display: grid; grid-template-columns: 110px 150px minmax(0, 1fr); gap: 10px; align-items: center; background: var(--v2-creme); border-radius: 18px; padding: 10px 12px; border: 0; margin: 0; }
.v2-jour legend { float: left; font-weight: 600; padding: 0; }
.v2-jour .v2-champ { min-height: 44px; background: var(--v2-papier); }
.v2-jour__plages { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-plage { display: inline-flex; align-items: center; gap: 6px; }
.v2-plage .v2-champ { width: 132px; }
.v2-jour:not([data-v2-jour-etat="ouvert"]) .v2-jour__plages { display: none; }
.v2-historique__revenir { margin: 2px 0 0; }

.v2-comparer { display: grid; gap: 14px; background: var(--v2-papier); border-radius: var(--v2-r-galet); padding: clamp(18px, 3vw, 32px); }
.v2-comparer h2 { font-size: var(--v2-h2); }
.v2-comparer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.v2-comparer__cols .v2-bloc:first-child { background: var(--v2-creme); }
.v2-comparer__garder { margin: 0; display: inline-flex; }
/* Téléphone : deux longs textes ne se lisent pas l'un sous l'autre ; un onglet à la fois, même place, actions toujours à portée. */
.v2-comparer__onglets { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--v2-creme); }
.v2-comparer__onglets button { border: 0; border-radius: 999px; padding: 10px 8px; min-height: 44px; font: inherit; font-weight: 600; background: transparent; color: var(--v2-encre); cursor: pointer; }
.v2-comparer__onglets button[aria-selected="true"] { background: var(--v2-papier); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.v2-comparer__onglets .v2-note { display: block; font-weight: 400; font-size: 12px; }
@media (max-width: 759px) {
	.v2-comparer__onglets:not([hidden]) ~ .v2-comparer__cols[data-v2-comparer-vue="propose"] > :first-child,
	.v2-comparer__onglets:not([hidden]) ~ .v2-comparer__cols[data-v2-comparer-vue="publie"] > :last-child { display: none; }
	.v2-comparer__actions { position: sticky; bottom: calc(var(--v2-barre-h, 64px) + 8px); z-index: 2; background: var(--v2-papier); padding: 10px 0 4px; box-shadow: 0 -10px 12px -10px rgba(0,0,0,.15); }
	.v2-comparer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; }
	.v2-comparer__actions .v2-bouton { min-height: 44px; padding: 8px 12px; font-size: 15px; width: 100%; }
	.v2-comparer__actions .v2-comparer__garder { grid-column: 1 / -1; justify-content: center; }
	.v2-comparer__actions .v2-comparer__garder .v2-bouton { min-height: 44px; padding: 2px; width: auto; }
}
@media (min-width: 760px) { .v2-comparer__onglets { display: none; } }

.v2-profil h3 { font-size: var(--v2-h3) !important; margin-top: 6px; }
.v2-prestations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.v2-prestations li { background: var(--v2-creme); border-radius: var(--v2-r-champ); padding: 12px 14px; display: block; }
.v2-prestations li span { display: block; margin-top: 2px; font-size: 15px; color: var(--v2-noisette); }
.v2-prestations li.est-replie { display: none; }
.v2-liste-suite { justify-self: start; }
.v2-bon-a-savoir { margin: 0; display: grid; gap: 8px; }
.v2-bon-a-savoir > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 10px 0; box-shadow: inset 0 -1px 0 var(--v2-creme); }
.v2-bon-a-savoir dt { font-weight: 600; }
.v2-bon-a-savoir dd { margin: 0; }
.v2-profil__sources { margin: 0; padding-left: 1.2em; font-size: 14px; display: grid; gap: 4px; }
.v2-profil__sources a, .v2-sources-liste a { overflow-wrap: anywhere; }

/* ── Annuaire ── */
.v2-annuaire { display: grid; gap: 28px; }
.v2-annuaire__tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.v2-annuaire__tete p { max-width: 62ch; color: var(--v2-noisette); margin-top: 10px; }
.v2-filtres { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 12px; }
.v2-filtre { display: inline-flex; align-items: center; border: 0; cursor: pointer; font-family: var(--v2-texte); min-height: 44px; padding: 6px 14px; border-radius: var(--v2-r-pastille); background: var(--v2-creme); color: var(--v2-encre) !important; text-decoration: none !important; font-size: 15px; font-weight: 500; }
.v2-filtre.est-actif { background: var(--v2-encre) !important; color: var(--v2-papier) !important; } /* 03/11 : le fond des barres (`.v2-an-barre .v2-filtre`) l'emportait, texte = fond ; l'état actif gagne partout, comme sa couleur. */
.v2-filtres__compte { margin-left: auto; font-size: 15px; color: var(--v2-noisette); padding: 0 8px; }
.v2-annuaire__corps { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.v2-resultats { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.v2-resultat { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 20px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
.v2-resultat__nom { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 22px; line-height: 1.2; color: var(--v2-encre) !important; }
.v2-resultat__nom:hover { text-decoration-color: currentColor !important; }
.v2-resultat__lieu { color: var(--v2-noisette); font-size: 15px; grid-column: 1; }
.v2-resultat .v2-etiquettes { grid-column: 1 / -1; }
.v2-resultat__pied { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
.v2-resultat__gestes { display: flex; gap: 8px; flex-wrap: wrap; }
.v2-resultat .v2-bouton { min-height: 44px; padding: 6px 16px; font-size: 15px; }
.v2-annuaire__plan { position: sticky; top: 92px; display: grid; gap: 8px; }
.v2-annuaire__plan .v2-plan { aspect-ratio: 4 / 5; }
.v2-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.v2-champ { min-height: 48px; padding: 10px 16px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-papier); color: var(--v2-encre); font: 16px/1.3 var(--v2-texte); max-width: 100%; }
.v2-annuaire__commune { display: grid; gap: 6px; min-width: 0; }
.v2-annuaire__commune .v2-champ { min-width: 0; width: 280px; }
.v2-resultat__etat { grid-column: 2; grid-row: 1; justify-self: end; }
.v2-resultat.est-filtre { display: none; }
.v2-annuaire__cote { display: grid; gap: 16px; align-content: start; }
.v2-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: var(--v2-r-galet); background: var(--v2-papier); color: var(--v2-encre) !important; font-weight: 600; text-decoration: none !important; } /* 14/11 (Jordan, /recettes/ : « la pagination n'est pas belle ») : les numéros n'avaient ni galet ni fond, seulement une hauteur */
.v2-pagination a.page-numbers:hover { background: #FFFFFF; }
.v2-pagination .page-numbers.dots { background: transparent; padding: 0 4px; }
.v2-pagination .page-numbers.current { background: var(--v2-encre); color: var(--v2-papier) !important; }
.v2-hub { display: grid; gap: clamp(48px, 7vw, 80px); }
.v2-accent { font-style: normal; color: var(--v2-rouille); }
.v2-metiers.v2-metiers--grand a { font-size: 17px; padding: 10px 18px; background: var(--v2-papier); }
.v2-hub__pro { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.v2-hub__pro p { color: #EFE5D6; max-width: 64ch; }
.v2-metiers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--v2-noisette); }
.v2-metiers a { color: var(--v2-encre); background: var(--v2-sable); border-radius: var(--v2-r-pastille); padding: 5px 12px; text-decoration: none; }

/* Transversale, 03/11 : le mot Chercher au bureau, la commune en toutes lettres dès que la place y est ; le pied tient ses portes sur une ligne, le pro en bande dessous. */
.v2-entete__mot { display: none; }
@media (max-width: 1099px) { .v2-pied__autres { display: flex; flex-wrap: wrap; gap: 0 18px; } }
@media (min-width: 1200px) { .v2-entete__outils .v2-entete__commune span { position: static; width: auto; height: auto; clip-path: none; overflow: hidden; max-width: 11ch; text-overflow: ellipsis; white-space: nowrap; } } @media (min-width: 1500px) { .v2-entete__outils .v2-entete__commune span { max-width: 24ch; } } /* un nom long se coupe : la place de « Ma commune » reste la sienne ; nom entier au survol et à la lecture (v2.js) */
@media (min-width: 1100px) { .v2-entete__mot { display: inline; } .v2-pied__dedans { grid-template-columns: minmax(0, 1.5fr) repeat(var(--v2-pied-n, 5), minmax(0, 1fr)); gap: 28px; } .v2-pied__pro { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 20px; box-shadow: 0 -1px 0 rgba(239, 229, 214, .15); } .v2-pied__pro .v2-pied__titre { margin: 0; } .v2-pied__pro > p:not(.v2-pied__titre):not(.v2-pied__autres) { flex: 1 1 260px; } .v2-pied__autres { display: flex; gap: 18px; } }

/* ── Tablette et mobile ── */
@media (max-width: 1099px) {
	.v2-entete__univers, .v2-entete__pro { display: none; }
	.v2-entete__commune span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.v2-barre { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--v2-papier); box-shadow: 0 -8px 24px rgba(43, 30, 21, .08); padding-bottom: env(safe-area-inset-bottom); }
	.v2-barre ul { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } /* six portes depuis Équiper : la sixième passait seule à la ligne, de 760 à 1099 px */
	.v2-barre__lien { display: grid; justify-items: center; gap: 2px; min-height: var(--v2-barre-h); padding: 8px 2px; background: transparent; border: 0; width: 100%; color: var(--v2-encre) !important; text-decoration: none !important; font: 500 14px/1.1 var(--v2-texte); cursor: pointer; }
	.v2-barre__lien[aria-expanded="true"], .v2-barre__lien.est-actif { background: var(--v2-teinte, var(--v2-sable)); }
	/* ── LA COUCHE (Jordan, 04/11) : portes de la barre, recherche, commune, compte. Un voile sur la page, une feuille dont la tête dit où l'on est, un « Fermer » à vue ; la porte ouverte de la barre devient elle aussi « Fermer », sous le pouce. La barre ne bouge pas. ── */
	body.cg-v2 { --v2-couche-bas: calc(var(--v2-barre-h) + env(safe-area-inset-bottom)); }
	body.cg-v2.cg-consent-ouvert { --v2-couche-bas: var(--cg-consent-hauteur, calc(var(--v2-barre-h) + 200px)); }
	html.v2-clavier-la body.cg-v2 { --v2-couche-bas: var(--v2-clavier, 0px); }
	html.v2-couche-ouverte .v2-entete { z-index: 94000; } /* au-dessus de ce que la page colle au bas ; la couche s'arrête sur la barre */
	html.v2-couche-ouverte, html.v2-auth-ouverte { overflow: hidden; }
	html.v2-couche-ouverte body.cg-v2 .cg-consent { z-index: 95010; }
	@media (min-height: 421px) {
		html.v2-couche-ouverte:not(.v2-clavier-la) body.cg-v2.v2-saisie .cg-consent { bottom: calc(var(--v2-barre-h) + env(safe-area-inset-bottom)); }
		html.v2-couche-ouverte:not(.v2-clavier-la) body.cg-v2.v2-saisie .v2-barre { display: block; } /* toucher un champ ne fait plus sauter la barre : seul un vrai clavier la recouvre */
	}
	html.v2-clavier-la.v2-couche-ouverte .v2-barre { visibility: hidden; }
	@media (max-width: 599px) { html.v2-clavier-la.v2-auth-ouverte .v2-barre { visibility: hidden; } }
	.v2-panneau.v2-teinte--papier { --v2-teinte: var(--v2-sable); } /* Outils : son papier ne se distinguerait pas de la feuille */
	.v2-barre__lien.v2-teinte--papier[aria-expanded="true"] { background: var(--v2-sable); }
	.v2-barre__lien { position: relative; }
	.v2-barre__lien[aria-expanded="true"] > * { visibility: hidden; }
	.v2-barre__lien[aria-expanded="true"]::before { content: "×"; position: absolute; inset: 5px 0 auto; text-align: center; font: 400 30px/30px var(--v2-texte); }
	.v2-barre__lien[aria-expanded="true"]::after { content: "Fermer"; content: "Fermer" / ""; position: absolute; inset: auto 0 11px; text-align: center; font: 600 clamp(12px, 3.5vw, 14px)/1.1 var(--v2-texte); }
	.v2-panneau, .v2-feuille { position: fixed; top: var(--v2-vue-haut, 0px); bottom: max(var(--v2-couche-bas), var(--v2-clavier, 0px)); padding: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: rgba(43, 30, 21, .42); touch-action: none; animation: v2-voile-entree .18s ease-out; }
	.v2-panneau__dedans.v2-couche__feuille, .v2-feuille > .v2-couche__feuille { width: 100%; max-width: none; margin: 0; min-height: 0; max-height: calc(100% - 44px); /* la page reste vue au-dessus, sous son voile : on sait qu'on est par-dessus */ display: flex; flex-direction: column; overflow: hidden; background: var(--v2-papier); border-radius: var(--v2-r-galet) var(--v2-r-galet) 0 0; box-shadow: 0 -10px 36px rgba(43, 30, 21, .22); touch-action: auto; animation: v2-couche-entree .22s cubic-bezier(.2, .8, .2, 1); }
	.v2-couche--saisie > .v2-couche__feuille.v2-couche__feuille { flex: 1 1 auto; max-height: none; margin-top: min(56px, 8vh); } /* le champ reste où il est quand le clavier monte : seul le bas de la feuille remonte */
	.v2-couche__tete, .v2-panneau .v2-couche__tete, .v2-feuille .v2-couche__tete { position: static; flex: none; min-height: 60px; padding: 8px 10px 8px 20px; background: var(--v2-teinte); }
	.v2-couche__titre, .v2-panneau__titre.v2-couche__titre, .v2-recherche__libelle.v2-couche__titre, .v2-commune__titre.v2-couche__titre { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: clamp(21px, 6vw, 24px); line-height: 1.15; outline: none; }
	.v2-couche__tete .v2-couche__fermer, .v2-couche__tete .v2-auth__fermer { display: inline-flex; background: var(--v2-papier); }
	.v2-couche__titre-plus { display: none; }
	.v2-couche__corps, .v2-commune .v2-couche__corps { flex: 1 1 auto; min-height: 0; max-height: none; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
	.v2-panneau__corps { display: block; }
	.v2-panneau__promesse { padding: 16px 20px 6px; gap: 12px; background: none; }
	.v2-panneau__promesse .v2-dc-puces a { background: var(--v2-teinte); } /* posées sur le papier maintenant que la teinte est dans la tête */
	.v2-panneau__rubriques { padding: 6px 12px 16px; grid-template-columns: 1fr; }
	.v2-recherche, .v2-commune { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 0; padding: 0; }
	.v2-recherche__ligne.v2-couche__champ { flex: none; flex-direction: row; gap: 8px; padding: 12px 16px; }
	.v2-commune__en-cours { flex: none; padding: 14px 16px 6px; } /* retour n° 6 : au téléphone, la commune en cours sous la tête, au même retrait que le champ */
	.v2-couche__champ input { flex: 1 1 auto; min-width: 0; }
	.v2-couche__champ .v2-bouton { flex: none; width: auto; padding-inline: 16px; }
	.v2-couche--saisie .v2-couche__corps { display: grid; gap: 10px; align-content: start; padding: 0 16px 16px; }
	.v2-recherche__suggestions { max-height: none; overflow: visible; }
	.v2-pied__dedans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.v2-pied__marque, .v2-pied__pro { grid-column: 1 / -1; }
	.v2-moment { grid-template-columns: 1fr; }
	.v2-confiance { grid-template-columns: 1fr; }
	.v2-fiche__tete, .v2-fiche__cols, .v2-annuaire__corps, .v2-annuaire__tete { grid-template-columns: 1fr; }
	.v2-fiche__photo { display: none; }
	.v2-lieu__carte { max-width: 360px; justify-self: center; }
	.v2-lieu__carte .v2-plan--galet { max-width: 180px; }
	/* Mobile : ce qu'on vient chercher d'abord (appeler, savoir si c'est ouvert) remonte sous « En bref ». */
	.v2-fiche__cols { display: flex; flex-direction: column; align-items: stretch; }
	.v2-fiche__main, .v2-fiche__aside { display: contents; }
	.v2-fiche__main > *, .v2-fiche__aside > * { order: 5; }
	.v2-fiche__main > :first-child { order: 1; }
	.v2-fiche__aside > [data-v2-semaine] { order: 2; }
	.v2-fiche__aside .v2-contact { order: 3; }
	.v2-fiche__provenance { order: 9 !important; }
	.v2-annuaire__plan { position: static; }
	.v2-acces { grid-template-columns: 1fr; }
	.v2-espace__cols, .v2-espace__cadre, .v2-comparer__cols { grid-template-columns: 1fr; }
	.v2-espace__nav ul { display: none; }
	.v2-espace__nav details { display: block; background: var(--v2-papier); border-radius: 18px; padding: 12px 16px; }
	.v2-espace__nav details[open] ul { display: grid; margin-top: 8px; }
	/* Téléphone : les trois temps tiennent sur une ligne (étiquettes courtes) ; la recherche arrive dans le premier écran. */
	.v2-porte__temps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.v2-porte__temps li { padding: 10px 8px; border-radius: 18px; gap: 0; justify-items: center; text-align: center; font-size: 13px; line-height: 1.2; }
	.v2-porte__temps li::before { width: 24px; height: 24px; margin-bottom: 4px; font-size: 13px; }
	.v2-porte__temps span { display: none; }
	.v2-porte h1 { font-size: var(--v2-h1-porte); }
	body.cg-v2 { padding-bottom: calc(var(--v2-barre-h) + env(safe-area-inset-bottom)); }
	body.cg-v2.v2-saisie .v2-barre { display: none; }
	body.cg-v2.v2-saisie { padding-bottom: 0; }
	.v2-acces__accueil .v2-galet { width: 34%; right: -6%; bottom: -18%; }
	.v2-guide__cols { grid-template-columns: 1fr; gap: 24px; }
	.v2-guide__sommaire { position: static; }
	.v2-hub__pro { grid-template-columns: 1fr; }
	.v2-annuaire__plan .v2-plan { aspect-ratio: 16 / 9; }
}
@media (max-width: 599px) {
	body.cg-v2 { font-size: 16px; }
	.v2-recherche__ligne { flex-direction: column; }
	.v2-section__tete { flex-direction: column; align-items: start; }
	.v2-pied__dedans { grid-template-columns: 1fr; }
	.v2-provenance { grid-template-columns: 1fr; }
	.v2-bon-a-savoir > div { grid-template-columns: 1fr; gap: 2px; }
	.v2-acces__promesses, .v2-acces__accueil .v2-galet { display: none; }
	.v2-acces__accueil { padding: 20px 22px; gap: 6px; }
	.v2-acces__phrase { font-size: 24px; }
	.v2-acces__carte { padding: 22px 20px 28px; }
	.v2-faits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.v2-jour { grid-template-columns: 1fr 1fr; }
	.v2-jour__plages { grid-column: 1 / -1; }
	.v2-fait { padding: 14px 16px; }
	.v2-fait strong { font-size: 19px; }
	.v2-sources th, .v2-sources td { display: block; padding: 4px 18px; }
	.v2-sources tr { display: block; padding: 10px 0; }
	.v2-resultat { grid-template-columns: 1fr; padding: 18px; }
	.v2-filtres__compte { margin-left: 0; }
	.v2-resultat__etat { grid-column: 1; grid-row: auto; justify-self: start; }
	.v2-annuaire__commune .v2-champ { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cg-v2 *, .cg-v2 *::before, .cg-v2 *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Provenance dite dès l'en-tête de la fiche, et faits confirmés par une source indépendante. */
.v2-fiche__dit { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--v2-noisette); max-width: 62ch; }
.v2-fiche__dit a { white-space: nowrap; }
.v2-fait-confirme { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--v2-sauge); color: var(--v2-sauge-fonce); vertical-align: 1px; }

/* Espace pro : la prochaine étape, une seule, en tête. */
.v2-prochaine { display: grid; gap: 10px; padding: clamp(18px, 3vw, 28px); border-radius: var(--v2-r-carte); background: var(--v2-peche); border-left: 6px solid var(--v2-abricot); margin-bottom: 18px; }
.v2-prochaine h2 { font-size: var(--v2-h2-bloc); margin: 0; }
.v2-prochaine p { margin: 0; }
.v2-prochaine--calme { background: var(--v2-papier); border-left-color: var(--v2-sauge-fonce); }
.v2-prochaine__v1 { list-style: none; margin: 0; padding: 0; }
.v2-prochaine__v1 > li { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.v2-prochaine__v1 > li > span:first-child { flex-basis: 100%; }

.v2-acces__d-abord-court { margin: 14px 0 0; font-size: 15px; color: var(--v2-noisette); }
.v2-acces__d-abord-court a { font-weight: 600; }
/* Un champ qui prend le focus ne se cache pas sous l'en-tête collant (navigateur qui fait défiler vers le champ). */
/* L'arrivée par une ancre, par un champ ou par scrollIntoView, un seul réglage : l'en-tête (72 px, retiré ou non : v2.js le garde là à une arrivée par ancre), la rangée collée de la page si elle en a une (--v2-rangee, posée par sa famille), un peu d'air. Un scroll-margin-top s'y AJOUTE (mesuré le 03/11 : 96 + 136, le titre à 232 px) : n'en poser un que pour un écart propre à l'élément. */
html { scroll-padding-top: calc(72px + var(--v2-rangee, 0px) + 12px); }

/* ══ Race (maquette render/Race.dc.html) ══════════════════════════════════════════════════════════════════════════════ */
.v2-race__tete { background: var(--v2-teinte); padding-bottom: clamp(24px, 4vw, 48px); }
.v2-race__surtitre { margin: 0; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--v2-miel-fonce); }
.v2-race h1 { font-size: var(--v2-h1-fiche); line-height: 1; margin: 0; }
.v2-race__intro { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; margin: 0; max-width: 56ch; }
/* légende SOUS l'image (sur un galet rond, elle serait rognée et illisible) */
.v2-race__credit { text-align: center; margin: 8px 0 0; font-size: 13px; }
.v2-race__visuel .v2-galet { border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; aspect-ratio: 1; }
.v2-race__tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 24px; }
.v2-race__tuiles .v2-fait { background: var(--v2-papier); border-radius: 18px; padding: 12px 16px; display: grid; gap: 2px; }
.v2-race__tuiles .v2-fait strong { font-family: var(--v2-titre); font-size: 22px; font-weight: 500; }
.v2-race__corps { display: grid; gap: clamp(32px, 5vw, 64px); padding-top: clamp(28px, 4vw, 48px); }
/* Est-il fait pour votre quotidien ? */
.v2-quotidien { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; background: var(--v2-papier); border-radius: var(--v2-r-galet); padding: clamp(20px, 3vw, 36px); }
.v2-quotidien h2 { margin: 0 0 10px; font-size: var(--v2-h2); }
.v2-quotidien fieldset { border: 0; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v2-quotidien legend { font-weight: 600; margin-bottom: 8px; padding: 0; width: 100%; }
.v2-quotidien label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: 999px; background: var(--v2-creme); cursor: pointer; }
.v2-quotidien label:has(input:checked) { background: var(--v2-miel); box-shadow: inset 0 0 0 2px var(--v2-miel-fonce); }
.v2-quotidien input { accent-color: var(--v2-miel-fonce); }
.v2-quotidien__resultat { background: var(--v2-teinte); border-radius: var(--v2-r-carte); padding: 20px; display: grid; gap: 10px; align-content: start; }
.v2-quotidien__titre { font-family: var(--v2-titre); font-size: 22px; line-height: 1.25; margin: 0; }
.v2-quotidien__points { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.v2-quotidien__points:empty { display: none; }
/* Les seize traits */
.v2-traits { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.v2-traits__groupe { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 18px 20px; }
.v2-traits__groupe h3 { margin: 0 0 10px; font-size: var(--v2-h3); }
.v2-traits dl { margin: 0; display: grid; gap: 8px; }
.v2-traits dl > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.v2-traits dt { font-size: 15px; }
.v2-traits dd { margin: 0; }
.v2-points { display: inline-flex; gap: 4px; }
.v2-points i { width: 12px; height: 12px; border-radius: 50%; background: var(--v2-lin); }
.v2-points i.est-plein { background: var(--v2-miel-fonce); }
/* Le guide */
.v2-race__texte table { width: 100%; border-collapse: collapse; }
.v2-race__eleveurs { display: grid; gap: 12px; }
.v2-eleveurs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.v2-eleveur { background: var(--v2-papier); border-radius: 18px; padding: 14px 16px; display: grid; gap: 4px; }
.v2-eleveur__nom { font-weight: 600; }
.v2-eleveur__fait { font-size: 14px; }
@media (max-width: 759px) {
	.v2-race__tuiles { grid-template-columns: 1fr 1fr; }
	.v2-race__tuiles > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.v2-quotidien { grid-template-columns: 1fr; }
}

/* Fiche riche : prestations cherchables par thème, puis fiches courtes (animaux, équipe, équipements). */
.v2-profil__outils { display: grid; gap: 10px; margin: 14px 0 4px; }
.v2-profil__chercher input { width: 100%; min-height: 48px; padding: 10px 16px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-creme); font: inherit; font-size: 16px; color: var(--v2-encre); }
.v2-profil__chercher input:focus { outline: 3px solid var(--v2-focus); outline-offset: 1px; background: var(--v2-papier); }
.v2-profil__themes { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.v2-profil__themes a { flex: none; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; background: var(--v2-creme); color: var(--v2-encre); text-decoration: none; font-size: 15px; }
.v2-profil__themes a span { font-size: 13px; color: var(--v2-noisette); }
.v2-profil__theme[hidden], [data-v2-prestation][hidden] { display: none !important; }
.v2-profil__fiches { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.v2-profil__fiche { background: var(--v2-creme); border-radius: 18px; padding: 14px 16px; }
.v2-profil__fiche h3 { margin: 0 0 8px; font-size: var(--v2-h3) !important; }
.v2-puces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.v2-puces li { padding: 4px 12px; border-radius: 999px; background: var(--v2-papier); font-size: 15px; }
.v2-profil__personnes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v2-profil__personnes span { display: block; font-size: 15px; color: var(--v2-noisette); }
.v2-message--alerte { background: var(--v2-miel); border-radius: 18px; padding: 12px 16px; margin: 12px 0; }

/* Horaires : saisie rapide (recopie, second créneau facultatif, contrôles en direct). */
.v2-semaine__outils { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.v2-semaine__outils select { display: inline-block; width: auto; min-height: 44px; margin-left: 6px; }
.v2-plage[hidden] { display: none !important; }
.v2-plage__ajout, .v2-plage__retrait { min-height: 40px; padding: 4px 6px; font-size: 15px; }
.v2-jour__erreur { grid-column: 1 / -1; color: var(--v2-rouille-fonce); font-size: 15px; font-weight: 600; }
.v2-jour__erreur:empty { display: none; }
.v2-jour.est-incoherent { box-shadow: inset 0 0 0 2px var(--v2-rouille); }
.v2-horaires__incertain { display: block; font-size: 13px; font-weight: 600; color: var(--v2-rouille-fonce); }

/* Fiche riche : thèmes dépliables (le résumé annonce le contenu), états de provenance, réserves, bulle de source. */
.v2-profil__liste { display: grid; gap: 8px; margin-top: 12px; }
.v2-profil__theme { background: var(--v2-creme); border-radius: 18px; }
.v2-profil__theme > summary { list-style: none; cursor: pointer; display: grid; gap: 2px; padding: 14px 44px 14px 16px; position: relative; min-height: 56px; }
.v2-profil__theme > summary::-webkit-details-marker { display: none; }
.v2-profil__theme > summary::after { content: ""; position: absolute; right: 18px; top: 22px; width: 10px; height: 10px; border-right: 2px solid var(--v2-brun); border-bottom: 2px solid var(--v2-brun); transform: rotate(45deg); transition: transform .15s; }
.v2-profil__theme[open] > summary::after { transform: rotate(-135deg); top: 26px; }
.v2-profil__theme-nom { font-weight: 600; font-size: 17px; }
.v2-profil__compte { display: inline-block; min-width: 24px; padding: 0 7px; border-radius: 999px; background: var(--v2-papier); font-size: 13px; text-align: center; color: var(--v2-noisette); }
.v2-profil__apercu { font-size: 14px; color: var(--v2-noisette); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-profil__theme[open] .v2-profil__apercu { display: none; }
.v2-profil__theme .v2-prestations { padding: 0 12px 12px; }
.v2-profil__theme .v2-prestations li { background: var(--v2-papier); }
.v2-fait-etat { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--v2-peche); color: var(--v2-brun); vertical-align: 1px; }
.v2-fait-etat--corrobore { background: var(--v2-sauge); color: var(--v2-sauge-fonce); }
.v2-selon { font-style: normal; font-weight: 600; color: var(--v2-brun); }
.v2-reserve { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--v2-rouille-fonce); }
.v2-source-bulle { position: absolute; z-index: 30; max-width: min(340px, calc(100vw - 32px)); background: var(--v2-encre); color: #F6EFE4; border-radius: var(--v2-r-champ); padding: 12px 14px; font-size: 14px; line-height: 1.45; box-shadow: var(--v2-ombre-feuille); }
.v2-source-bulle a { color: #F2A979 !important; }
.v2-source-bulle q { display: block; margin-top: 6px; font-style: italic; }
.v2-source-bulle q::before, .v2-source-bulle q::after { content: none; }

/* L'essentiel : décider en moins d'une minute (fiche pro riche). */
.v2-essentiel { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: clamp(16px, 3vw, 24px); box-shadow: inset 0 0 0 2px var(--v2-peche); }
.v2-essentiel__titre { margin: 0 0 8px; font-size: var(--v2-h2-bloc) !important; }
.v2-essentiel__lignes { margin: 0; display: grid; }
.v2-essentiel__ligne { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--v2-creme); }
.v2-essentiel__ligne:first-child { border-top: 0; }
.v2-essentiel__ligne dt { font-weight: 600; font-size: 15px; }
.v2-essentiel__ligne dd { margin: 0; font-size: 16px; line-height: 1.45; }
/* Une ligne qui demande de l'attention (contradiction, urgence non confirmée) : un filet discret, jamais une coche ni un signe
   qui ressemblerait à une vérification. */
.v2-essentiel__ligne.est-alerte { box-shadow: inset 3px 0 0 var(--v2-abricot); padding-left: 10px; }
.v2-essentiel__origine { margin: -2px 0 6px; font-size: 14px; color: var(--v2-noisette); }
.v2-essentiel__voir { display: inline-block; margin-top: 4px; font-weight: 600; white-space: nowrap; }
.v2-essentiel__plus { font-size: 14px; white-space: nowrap; }
.v2-essentiel .v2-reserve { font-weight: 500; }
@media (max-width: 759px) { .v2-essentiel__ligne { grid-template-columns: 1fr; gap: 2px; } }
.v2-pres-confirmation { display: grid; gap: 10px; background: var(--v2-miel); border-radius: 18px; padding: 14px 16px; }
.v2-pres-confirmation p { margin: 0; }
@media (max-width: 759px) { .v2-pres-confirmation { position: sticky; bottom: calc(var(--v2-barre-h, 64px) + 8px); z-index: 3; box-shadow: var(--v2-ombre-feuille); } }
.v2-heure { width: 5.6em !important; text-align: center; font-variant-numeric: tabular-nums; font-size: 17px !important; letter-spacing: .02em; }
/* Fenêtre pro sur téléphone (retour du 31/10) : les onglets partagent la ligne de la croix ; le titre se fond dans la carte de
   la fiche (« Connectez-vous pour revendiquer · Nom »), lu par les lecteurs d'écran, sans hauteur visible. */
@media (max-width: 759px) {
	.v2-acces--fenetre.v2-acces--pro .v2-acces__carte:has(.v2-acces__fiche) .v2-acces__titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.v2-acces--fenetre.v2-acces--pro .v2-acces__fiche { padding: 10px 14px; }
}
/* iOS agrandit la page quand un champ de moins de 16 px prend le focus : aucun champ V2 n'est sous 16 px. */
.cg-v2 input:not([type=checkbox]):not([type=radio]):not([type=range]), .cg-v2 select, .cg-v2 textarea { font-size: max(16px, 1em); }
.v2-regle__clair { margin: 6px 0 0; font-size: 16px; line-height: 1.45; }
.v2-tarifs { margin: 0; display: grid; }
.v2-tarifs > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--v2-papier); }
.v2-tarifs > div:first-child { border-top: 0; }
.v2-tarifs dd { margin: 0; text-align: right; font-weight: 600; white-space: nowrap; }
@media (max-width: 420px) { .v2-tarifs dd { white-space: normal; } }

/* Annuaire : les filtres du métier (rendu des groupes du moteur V1, mis en forme ici). */
.v2-facettes { background: var(--v2-papier); border-radius: var(--v2-r-carte); margin: 12px 0; }
.v2-facettes > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 600; min-height: 52px; }
.v2-facettes > summary::-webkit-details-marker { display: none; }
.v2-facettes > summary::before { content: ""; width: 18px; height: 12px; background: linear-gradient(var(--v2-brun) 0 0) top/100% 2px no-repeat, linear-gradient(var(--v2-brun) 0 0) center/70% 2px no-repeat, linear-gradient(var(--v2-brun) 0 0) bottom/40% 2px no-repeat; }
.v2-facettes__nb { background: var(--v2-rouille-fonce); color: #fff; border-radius: 999px; min-width: 22px; padding: 0 7px; font-size: 13px; text-align: center; }
.v2-facettes__form { padding: 0 18px 16px; display: grid; gap: 4px; }
.v2-facettes .filter-group[data-facet="commune"] { display: none; } /* la commune se choisit en haut ; sa valeur cochée reste envoyée */
.v2-facettes .filter-group details { border-top: 1px solid var(--v2-creme); }
.v2-facettes .filter-group summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.v2-facettes .filter-group-titre { font-weight: 600; margin: 12px 0 6px; }
.v2-facettes .filter-options { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; max-height: 260px; overflow: auto; }
.v2-facettes .filter-options label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border-radius: 999px; background: var(--v2-creme); cursor: pointer; font-size: 15px; }
.v2-facettes .filter-options label:has(input:checked) { background: var(--v2-peche); box-shadow: inset 0 0 0 2px var(--v2-abricot); }
.v2-facettes .filter-options input { accent-color: var(--v2-rouille); }
.v2-facettes .filter-option-count { font-size: 13px; color: var(--v2-noisette); }
.v2-facettes .filter-options select { min-height: 44px; border-radius: var(--v2-r-champ); background: var(--v2-creme); border: 0; padding: 0 12px; font: inherit; }
.v2-facettes__actions { display: flex; gap: 12px; align-items: center; padding-top: 12px; position: sticky; bottom: 0; background: var(--v2-papier); }
.v2-facettes__actions button.v2-bouton--plein { background: var(--v2-encre); color: var(--v2-papier) !important; }
@media (max-width: 759px) { .v2-facettes__actions { bottom: calc(var(--v2-barre-h) + 4px); } }
.v2-facettes__actifs { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v2-facettes__actifs a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 14px; border-radius: 999px; background: var(--v2-peche); color: var(--v2-encre) !important; text-decoration: none !important; font-size: 15px; }

/* Aliments : composition lisible (texte courant, pas une citation en titre) ; rendus V1 (vendeurs, catégorie, provenance) mis en forme. */
.v2-composition { margin: 0; padding: 14px 16px; border-radius: 18px; background: var(--v2-creme); font-size: 16px; line-height: 1.6; }
.v2-produit .cg-provenance-cite { display: none; } /* la composition est déjà servie au-dessus ; la provenance garde sa source et sa date */
.v2-essentiel dd.v2-v1 ul, .v2-essentiel dd.v2-v1 ol { list-style: none; margin: 0; padding: 0; }
.v2-essentiel dd.v2-v1 .attr-label { display: none; }
.v2-produit .cg-vendeurs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v2-produit .cg-vendeurs-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: var(--v2-creme); }
.v2-produit .cg-vendeurs-nom { font-weight: 600; }
.v2-produit .cg-vendeurs-prix { font-weight: 600; text-align: right; }
.v2-produit .cg-vendeurs-date, .v2-produit .cg-releve-prix-date { grid-column: 1 / -1; font-size: 14px; color: var(--v2-noisette); }
.v2-produit .cg-releve-prix-ancien { color: var(--v2-rouille-fonce); }
.v2-produit .cg-vendeurs-item .cg-lien-sortant { grid-column: 1 / -1; justify-self: start; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* ══ Aliments : trouver et comparer ══ */
.v2-aliments__tete { padding: 12px 0 8px; display: grid; gap: 8px; }
.v2-aliments__tete h1 { font-size: var(--v2-h1-liste); margin: 0; }
.v2-trouveur { position: sticky; top: 72px; z-index: 20; background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 14px 16px; display: grid; gap: 10px; box-shadow: var(--v2-ombre-flotte); margin: 12px 0 16px; max-height: calc(100dvh - 90px); overflow: auto; }
@media (max-width: 759px) { .v2-trouveur { position: static; max-height: none; } }
.v2-trouveur__q input { box-sizing: border-box; width: 100%; min-height: 48px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-creme); padding: 10px 16px; font: inherit; font-size: 16px; }
.v2-trouveur__q-groupe { border: 0; margin: 0; padding: 0; }
.v2-trouveur__q-groupe legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.v2-trouveur__pastilles { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
@media (min-width: 760px) { .v2-trouveur__pastilles { flex-wrap: wrap; overflow: visible; } }
.v2-trouveur__pastilles label { flex: none; position: relative; }
.v2-trouveur__pastilles input { position: absolute; opacity: 0; inset: 0; }
.v2-trouveur__pastilles span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; background: var(--v2-creme); font-size: 15px; cursor: pointer; }
.v2-trouveur__pastilles input:checked + span { background: var(--v2-encre); color: var(--v2-papier); }
.v2-trouveur__pastilles input:focus-visible + span { outline: 3px solid var(--v2-focus); outline-offset: 2px; }
.v2-trouveur__plus > summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.v2-trouveur__marque select, .v2-trouveur__tri select { box-sizing: border-box; max-width: 62vw; min-height: 44px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-creme); padding: 0 12px; font: inherit; font-size: 16px; margin-left: 6px; max-width: 100%; }
.v2-trouveur__barre { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between; border-top: 1px solid var(--v2-creme); padding-top: 10px; }
.v2-trouveur__compte { margin: 0; font-weight: 600; }
.v2-al-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.v2-al-carte { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 16px; display: grid; gap: 6px; align-content: start; }
.v2-al-carte[hidden] { display: none; }
@media (scripting: none) { .v2-al-carte > noscript { display: contents; } } /* sans script : les faits gardés dans le noscript sont des enfants de la carte, comme les autres */
[data-v2-ra-liste] > .v2-al-carte, [data-v2-al-liste] > .v2-al-carte { content-visibility: auto; contain-intrinsic-size: auto 270px; } /* 300 cartes hors écran ne se mettent pas en page avant que le script les cache (longues tâches ÷3, mesuré le 02/11) */
.v2-al-carte__marque { margin: 0; font-size: 14px; color: var(--v2-noisette); }
.v2-al-carte__nom { margin: 0; font-size: 19px !important; line-height: 1.25; }
.v2-al-carte__nom a { color: var(--v2-encre) !important; text-decoration: none; }
.v2-al-carte__faits { margin: 4px 0 0; }
[data-v2-ra-liste] > .v2-al-carte { grid-template-columns: minmax(0, 1fr) 114px; column-gap: 12px; }
[data-v2-ra-liste] > .v2-al-carte > * { grid-column: 1 / -1; }
[data-v2-ra-liste] > .v2-al-carte > .v2-al-carte__marque, [data-v2-ra-liste] > .v2-al-carte > .v2-al-carte__nom { grid-column: 1; }
.v2-al-carte__image { grid-column: 2 !important; grid-row: 1 / span 2; align-self: start; display: block; border-radius: 12px; overflow: hidden; background: var(--v2-sable); }
.v2-al-carte__image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
/* Accessoires : l'illustration du TYPE sur la carte, sa légende toujours visible : on ne la prend pas pour le produit. */
.v2-al-carte__image--type { margin: 0; background: none; border-radius: 0; overflow: visible; }
.v2-al-carte__image--type img { border-radius: 12px; }
.v2-al-carte__image--type figcaption { margin-top: 3px; font-size: 13px; line-height: 1.2; color: var(--v2-noisette); }
[data-v2-ac-liste] > .v2-al-carte:has(> .v2-al-carte__image--type) { grid-template-columns: minmax(0, 1fr) 114px; grid-template-rows: auto 1fr; column-gap: 12px; }
[data-v2-ac-liste] > .v2-al-carte:has(> .v2-al-carte__image--type) > * { grid-column: 1 / -1; }
[data-v2-ac-liste] > .v2-al-carte:has(> .v2-al-carte__image--type) > :is(.v2-al-carte__marque, .v2-al-carte__nom) { grid-column: 1; }
.v2-al-carte__cmp { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-size: 15px; cursor: pointer; justify-self: start; }
.v2-al-plateau { position: sticky; bottom: 12px; z-index: 30; display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: nowrap; font-size: 14px; white-space: nowrap; margin-top: 16px; padding: 10px 14px; border-radius: 999px; background: var(--v2-encre); color: var(--v2-papier); box-shadow: var(--v2-ombre-feuille); }
.v2-al-plateau .v2-bouton--lien { color: var(--v2-papier) !important; }
@media (max-width: 759px) { .v2-al-plateau { bottom: calc(var(--v2-barre-h) + 8px); border-radius: 18px; } }
.v2-al-comparaison { width: min(960px, calc(100vw - 16px)); max-height: 90vh; max-height: 90dvh; border: 0; border-radius: var(--v2-r-carte); padding: 0; background: var(--v2-papier); }
.v2-al-comparaison::backdrop { background: rgba(43,30,21,.45); }
.v2-al-comparaison__tete { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; position: sticky; top: 0; background: var(--v2-papier); }
.v2-al-comparaison__tete h2 { margin: 0; }
.v2-al-comparaison__corps { overflow-x: auto; padding: 0 16px; }
.v2-al-comparaison > .v2-note { padding: 8px 16px 16px; margin: 0; }
.v2-al-table { border-collapse: collapse; width: 100%; font-size: 15px; }
.v2-al-table--3 { min-width: 560px; }
/* Deux produits : la même largeur pour les deux, un mot long passe à la ligne (à 360 px, il faisait défiler la comparaison). */
@media (max-width: 759px) {
	.v2-al-table--2 { table-layout: fixed; }
	.v2-al-table--2 thead td { width: 28%; }
	.v2-al-table--2 th, .v2-al-table--2 td { overflow-wrap: anywhere; }
}
/* Trois produits au téléphone : les trois se voient d'un coup, chaque critère au-dessus de ses trois valeurs (au lieu d'un défilement de côté où l'on n'en voit qu'un et demi). */
@media (max-width: 759px) {
	.v2-al-table--3 { min-width: 0; display: block; font-size: 13px; }
	.v2-al-table--3 thead, .v2-al-table--3 tbody { display: block; }
	.v2-al-table--3 tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8px; border-bottom: 1px solid var(--v2-creme); }
	.v2-al-table--3 thead td { display: none; }
	.v2-al-table.v2-al-table--3 thead th { font-size: 13px; overflow-wrap: anywhere; border: 0; padding: 8px 2px; }
	.v2-al-table.v2-al-table--3 tbody th { grid-column: 1 / -1; position: static; width: auto; background: none; border: 0; padding: 8px 2px 0; font-size: 12px; white-space: normal; }
	.v2-al-table.v2-al-table--3 td { border: 0; padding: 2px 2px 8px; overflow-wrap: anywhere; }
}
@media (max-width: 759px) { .v2-al-table { font-size: 14px; } .v2-al-table thead th { font-size: 15px; line-height: 1.25; } .v2-al-table tbody th { white-space: normal; width: 28%; } .v2-al-table th, .v2-al-table td { padding: 8px 6px; } }
.v2-al-table th, .v2-al-table td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--v2-creme); }
.v2-al-table thead th { font-family: var(--v2-titre); font-weight: 500; font-size: 16px; }
.v2-al-table tbody th { color: var(--v2-noisette); font-weight: 600; white-space: nowrap; position: sticky; left: 0; background: var(--v2-papier); }
.v2-ali .v2-al-table tbody th { white-space: normal; } /* colonnes fixes : un libellé long (« Mots repérés dans la composition ») passait sur la colonne voisine */
/* Téléphone : un élément amené à l'écran (focus, ancre, défilement automatique) ne s'arrête jamais SOUS la barre du bas. */
html { scroll-padding-bottom: calc(var(--v2-plateau-h, 0px) + 16px); }
@media (max-width: 759px) { html { scroll-padding-bottom: calc(var(--v2-barre-h) + var(--v2-plateau-h, 0px) + 16px); } }
.v2-al-plateau .v2-bouton { min-height: 44px; padding: 4px 14px; font-size: 15px; }
.v2-al-plateau > span { min-width: 0; flex: 1 1 auto; white-space: normal; line-height: 1.2; } /* « 1 sur 3 · cochez-en un autre » passe à la ligne : à 360 px il faisait déborder la page */
.v2-al-plateau .v2-bouton { flex: none; }
.v2-trouveur { box-sizing: border-box; min-width: 0; }
.v2-trouveur > * { min-width: 0; }
.v2-trouveur__pastilles small { margin-left: 4px; font-size: 12px; opacity: .7; }
.v2-al-carte__cmp:has(input:disabled) { opacity: .45; cursor: not-allowed; }
/* Listes de lieux : la clé (règle, politique, discipline) d'abord, sur la carte. */
.v2-lieux__chercher { display: flex; gap: 8px; margin: 12px 0 4px; }
.v2-lieux__chercher label { flex: 1; min-width: 0; }
.v2-lieux__chercher input { box-sizing: border-box; width: 100%; min-height: 48px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-papier); padding: 10px 16px; font: inherit; font-size: 16px; }
.v2-regle-mini { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--v2-sauge); color: var(--v2-sauge-fonce); }
.v2-regle-mini--interdit { background: var(--v2-peche); color: var(--v2-rouille-fonce); }
.v2-regle-mini--inconnu { background: var(--v2-sable); color: var(--v2-brun); }
.v2-lieu-carte__clair { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--v2-noisette); }
.v2-lieux .v2-annuaire__cols { margin-top: 8px; }
/* Agenda : la date d'abord. */
.v2-agenda__mois { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 8px 0 16px; padding-bottom: 2px; position: sticky; top: 72px; z-index: 5; background: var(--v2-creme); padding-top: 6px; }
.v2-agenda__mois a { flex: none; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; background: var(--v2-papier); color: var(--v2-encre) !important; text-decoration: none !important; font-size: 15px; }
.v2-agenda__mois a span { font-size: 13px; color: var(--v2-noisette); }
.v2-agenda__section { margin-bottom: 24px; }
html:has(.v2-agenda__mois) { --v2-rangee: 80px; }
.v2-agenda__section h2 { font-size: var(--v2-h2-bloc) !important; margin: 0 0 10px; }
.v2-agenda__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v2-agenda__evt { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 14px 16px; }
.v2-agenda__date { margin: 0; display: grid; justify-items: center; background: var(--v2-sauge); color: var(--v2-sauge-fonce); border-radius: var(--v2-r-champ); padding: 6px 0; font-size: 13px; text-transform: uppercase; font-weight: 600; }
.v2-agenda__date span { font-family: var(--v2-titre); font-size: 24px; line-height: 1; text-transform: none; }
.v2-agenda__evt h3 { margin: 0 0 4px; font-size: var(--v2-h3) !important; line-height: 1.3; }
.v2-agenda__evt h3 a { color: var(--v2-encre) !important; text-decoration: none; }
.v2-agenda__evt .v2-note { margin: 0; }
.v2-agenda__chien { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--v2-sauge-fonce); }
.v2-agenda__chien.est-non { color: var(--v2-rouille-fonce); }
.v2-agenda__ics { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; font-weight: 600; }
.v2-agenda__panneau .cg-facets-sidebar { position: static !important; transform: none !important; width: auto !important; box-shadow: none !important; background: transparent !important; }
.v2-agenda__panneau .filters-close-btn { display: none; }
/* Pastilles de filtres actifs rendues par la V1 (agenda) : même apparence que les pastilles V2. */
.v2-v1 .races-active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.v2-v1 .race-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 14px; border-radius: 999px; background: var(--v2-peche); color: var(--v2-encre) !important; text-decoration: none !important; font-size: 15px; }
.v2-v1 .race-chip-remove::after { content: "×"; }
.v2-v1 .race-chip-clear-all { background: transparent; color: var(--v2-rouille) !important; text-decoration: underline !important; }

/* ── Pages géographiques : la commune comme pivot (v2/gabarits/page-geo.php), métier × province ── */
.v2-geo__tete { margin: 8px 0 20px; }
.v2-geo__tete h1 { margin: 6px 0 8px; }
.v2-geo__gestes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.v2-geo__gestes .v2-note { margin: 0; }
.v2-geo__tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 28px; }
@media (min-width: 760px) { .v2-geo__tuiles { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } }
.v2-geo__tuiles a { display: flex; flex-direction: column; gap: 2px; min-height: 72px; padding: 12px 16px; border-radius: var(--v2-r-carte); background: var(--v2-papier); color: var(--v2-encre); text-decoration: none; border: 1px solid var(--v2-lin); }
.v2-geo__tuiles a:hover, .v2-geo__tuiles a:focus-visible { border-color: var(--v2-rouille); }
.v2-geo__tuiles strong { font-family: var(--v2-titre); font-size: 26px; font-weight: 500; line-height: 1.1; }
.v2-geo__tuiles span { font-size: 15px; color: var(--v2-noisette); }
.v2-geo__section { margin: 0 0 var(--v2-esp-section); }
.v2-geo__section > h2, .v2-geo__section > .v2-pli > summary > h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 12px; }
.v2-geo__nb { font-family: var(--v2-texte); font-size: 15px; font-weight: 600; color: var(--v2-noisette); }
.v2-geo__metiers, .v2-geo__voisins { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.v2-so-rang { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 0 8px; }
.v2-so-rang::-webkit-scrollbar { display: none; }
.v2-so-rang a { flex: none; display: inline-flex; align-items: center; min-height: 44px; }
.v2-so-rang a[aria-current] { background: var(--v2-encre); color: var(--v2-papier); }
.v2-geo__metiers a, .v2-geo__voisins a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: var(--v2-r-pastille); background: var(--v2-peche); color: var(--v2-encre); text-decoration: none; font-size: 15px; }
.v2-geo__voisins a { background: var(--v2-sauge); }
.v2-geo__metiers a span { font-weight: 700; color: var(--v2-rouille-fonce); }
.v2-geo__suite { margin: 14px 0 0; }
.v2-geo__texte { margin: 0 0 36px; max-width: 72ch; }
.v2-geo__signaler { margin-top: 8px; }
.v2-communes-index__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 12px; }
.v2-communes-index__liste a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px; border-radius: var(--v2-r-champ); background: var(--v2-papier); color: var(--v2-encre); text-decoration: none; }
.v2-communes-index__liste a span { font-size: 14px; color: var(--v2-noisette); }
.v2-communes-index__liste a:hover, .v2-communes-index__liste a:focus-visible { outline: 2px solid var(--v2-rouille); outline-offset: -2px; }
.v2-geo__ma { margin: 0 0 12px; font-weight: 600; }
.v2-communes-index .v2-trouveur { margin-bottom: 16px; }

/* ── Recherche (v2/gabarits/search.php) ── */
.v2-recherche-page__tete { margin: 8px 0 18px; }
.v2-recherche-page__tete h1 { margin: 0 0 14px; overflow-wrap: anywhere; }
.v2-recherche-page__form { display: flex; gap: 8px; align-items: stretch; }
.v2-recherche-page__sug { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: min(60vh, 420px); padding: 6px; background: var(--v2-papier); border-radius: var(--v2-r-champ); box-shadow: 0 10px 30px rgba(43, 30, 20, .18); }
.v2-recherche-page__legende { margin: 10px 0 0; font-size: 15px; color: var(--v2-noisette); }
.v2-recherche-page__form .v2-trouveur__q { flex: 1; min-width: 0; }
.v2-recherche-page__familles { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; margin: 10px 0 0; scrollbar-width: none; }
.v2-recherche-page__familles a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: var(--v2-r-pastille); background: var(--v2-papier); border: 1px solid var(--v2-lin); color: var(--v2-encre); text-decoration: none; font-size: 15px; }
.v2-recherche-page__familles a span { font-weight: 700; color: var(--v2-noisette); }
.v2-recherche-page__familles a[aria-current] { background: var(--v2-encre); border-color: var(--v2-encre); color: var(--v2-papier); }
.v2-recherche-page__familles a[aria-current] span { color: var(--v2-abricot-doux); }
.v2-recherche-page__repli { margin: 0 0 14px; font-weight: 600; }
.v2-recherche-page__groupe { margin: 0 0 28px; }
.v2-recherche-page__groupe > h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; }
.v2-trouves { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v2-trouve a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 12px 8px 8px; border-radius: var(--v2-r-champ); background: var(--v2-papier); color: var(--v2-encre); text-decoration: none; }
.v2-trouve a:hover, .v2-trouve a:focus-visible { outline: 2px solid var(--v2-rouille); outline-offset: -2px; }
.v2-trouve__vignette { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--v2-sable); color: var(--v2-encre); }
.v2-trouve__vignette--professionnel { background: var(--v2-peche); }
.v2-trouve__vignette--espace-promenade, .v2-trouve__vignette--restaurant, .v2-trouve__vignette--club-canin, .v2-trouve__vignette--refuge, .v2-trouve__vignette--evenement-canin { background: var(--v2-sauge); }
.v2-trouve__vignette--races, .v2-trouve__vignette--aliment-chien, .v2-trouve__vignette--accessoire { background: var(--v2-miel); }
.v2-trouve__vignette img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-trouve__texte { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-trouve__titre { font-weight: 600; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.v2-trouve__type { font-size: 14px; color: var(--v2-noisette); }
.v2-recherche-page__vide { font-size: 18px; margin: 8px 0 16px; }
.v2-recherche-page__aide h2 { font-size: 18px; margin: 20px 0 10px; font-family: var(--v2-texte); font-weight: 700; }

/* ── Canimap dans le cadre V2 (v2/gabarits/autour-de-moi.php) : la feuille du moteur (cg-canimap.css) sans global.css ;
   ses jetons et les classes partagées qu'elle suppose reçoivent ici leurs valeurs V2.
   :where() : ces classes gardent la spécificité qu'elles ont en V1 (une classe), pour que les règles du moteur (ex. .cg-canimap__ordi
   caché au téléphone) l'emportent comme en V1. ── */
.v2-canimap {
	--cg-bg: var(--v2-papier); --cg-bg-soft: var(--v2-creme); --cg-cream: var(--v2-creme); --cg-border: var(--v2-lin); --cg-border-field: #8c7b62;
	--cg-text: var(--v2-encre); --cg-heading: var(--v2-encre); --cg-primary: var(--v2-encre); --cg-accent-ink: var(--v2-rouille); --cg-text-muted: var(--v2-noisette);
	--cg-info: #245f99; --cg-success: #1c8246; --cg-success-bg: #eefaf2; --cg-status-mid: #c79a4b;
	--cg-font-sans: var(--v2-texte); --cg-text-xs: 0.8125rem; --cg-text-sm: 0.9375rem; --cg-text-base: 1rem; --cg-text-lg: 1.125rem; --cg-leading-relaxed: 1.6;
	--cg-radius-sm: 10px; --cg-radius-md: var(--v2-r-champ); --cg-radius-lg: var(--v2-r-carte); --cg-radius-pill: var(--v2-r-pastille);
	--cg-shadow-sm: 0 1px 2px rgba(43, 30, 21, .05); --cg-shadow-md: var(--v2-ombre-feuille);
	--cg-space-1: 4px; --cg-space-2: 8px; --cg-space-3: 12px; --cg-space-4: 16px; --cg-space-5: 20px; --cg-space-6: 24px; --cg-space-7: 32px; --cg-space-8: 40px; --cg-space-10: 64px;
	--cg-cible-tactile: 44px; --cg-focus-trait-fonce: var(--v2-encre); --cg-z-surcouche: 90010; --cg-header-collant: 0px;
	padding-bottom: 24px;
}
:where(.v2-canimap) .cg-catalogue, :where(.v2-canimap) .cg-container { display: block; width: auto; max-width: none; margin: 0; padding: 0; }
:where(.v2-canimap) .cg-rangee-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
:where(.v2-canimap) .cg-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 16px; border-radius: var(--v2-r-pastille); border: 1px solid var(--v2-lin); background: var(--v2-papier); color: var(--v2-encre); font: inherit; font-size: 15px; text-decoration: none; cursor: pointer; }
:where(.v2-canimap) .cg-chip[aria-pressed="true"] { background: var(--v2-encre); border-color: var(--v2-encre); color: var(--v2-papier); }
:where(.v2-canimap) .cg-button, :where(.v2-canimap) .btn-load-more { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: var(--v2-r-pastille); border: 0; background: var(--v2-encre); color: var(--v2-papier); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
:where(.v2-canimap) .cg-button-secondary, :where(.v2-canimap) .btn-load-more { background: var(--v2-sauge); color: var(--v2-encre); }
:where(.v2-canimap) .load-more-container { margin: 16px 0 0; text-align: center; }
:where(.v2-canimap) .cg-field { display: grid; gap: 6px; }
:where(.v2-canimap) .cg-field-lbl { font-weight: 600; }
:where(.v2-canimap) .cg-field input, :where(.v2-canimap) .cg-field select { min-height: 52px; padding: 0 16px; border: 1px solid var(--cg-border-field); border-radius: var(--v2-r-champ); background: var(--v2-papier); color: var(--v2-encre); font: inherit; font-size: 16px; width: 100%; box-sizing: border-box; }
:where(.v2-canimap) .cg-titre-section { font-family: var(--v2-titre); font-weight: 500; font-size: 26px; margin: 32px 0 12px; }
:where(.v2-canimap) .cg-map-note { font-size: 14px; color: var(--v2-noisette); }

/* ── 404 (v2/gabarits/404.php) ── */
.v2-introuvable .v2-recherche-page__form { margin: 0 0 24px; }
.v2-introuvable__portes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 24px; }
@media (min-width: 760px) { .v2-introuvable__portes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v2-introuvable__portes a { display: flex; flex-direction: column; gap: 4px; min-height: 72px; padding: 14px 18px; border-radius: var(--v2-r-carte); background: var(--v2-papier); color: var(--v2-encre); text-decoration: none; border: 1px solid var(--v2-lin); }
.v2-introuvable__portes a.v2-teinte--peche { background: var(--v2-peche); } .v2-introuvable__portes a.v2-teinte--sauge { background: var(--v2-sauge); }
.v2-introuvable__portes a.v2-teinte--miel { background: var(--v2-miel); } .v2-introuvable__portes a.v2-teinte--sable { background: var(--v2-sable); }
.v2-introuvable__portes strong { font-family: var(--v2-titre); font-weight: 500; font-size: 22px; }
.v2-introuvable__portes span { font-size: 15px; color: var(--v2-brun); }

/* ── Pages de texte (v2/gabarits/page-default.php) : le texte tel quel, mis en lecture. ── */
.v2-page-texte--seul { grid-template-columns: minmax(0, 1fr); }
.v2-page-texte__corps { display: block; font-size: 17px; line-height: 1.65; }
.v2-page-texte__corps > :first-child { margin-top: 0; }
.v2-page-texte__corps h2 { font-family: var(--v2-titre); font-weight: 500; font-size: var(--v2-h2-bloc); line-height: 1.25; margin: 40px 0 12px; }
.v2-page-texte__corps h3 { font-size: var(--v2-h3); font-weight: 700; margin: 28px 0 8px; }
.v2-page-texte__corps p, .v2-page-texte__corps ul, .v2-page-texte__corps ol { margin: 0 0 16px; }
.v2-page-texte__corps ul, .v2-page-texte__corps ol { padding-left: 1.3em; }
.v2-page-texte__corps li { margin: 0 0 6px; }
.v2-page-texte__corps a { color: var(--v2-rouille); overflow-wrap: anywhere; }
.v2-page-texte__corps img { max-width: 100%; height: auto; border-radius: var(--v2-r-champ); }
.v2-page-texte__tableau { overflow-x: auto; margin: 0 0 20px; background: linear-gradient(to right, var(--v2-creme) 30%, transparent) left / 28px 100% no-repeat local, linear-gradient(to left, var(--v2-creme) 30%, transparent) right / 28px 100% no-repeat local, linear-gradient(to right, rgb(0 0 0 / .14), transparent) left / 10px 100% no-repeat scroll, linear-gradient(to left, rgb(0 0 0 / .14), transparent) right / 10px 100% no-repeat scroll; } /* lot 6 : une ombre au bord dit qu'il reste à faire défiler */
.v2-page-texte__tableau table { border-collapse: collapse; min-width: 100%; font-size: 15px; }
.v2-page-texte__tableau th, .v2-page-texte__tableau td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--v2-lin); }
.v2-page-texte__pli { display: none; margin: 0 0 20px; padding: 12px 16px; border-radius: var(--v2-r-champ); background: var(--v2-papier); }
.v2-page-texte__pli summary { font-weight: 700; cursor: pointer; min-height: 44px; }
@media (max-width: 959px) {
	.v2-page-texte .v2-guide__cols { grid-template-columns: minmax(0, 1fr); }
	.v2-page-texte .v2-guide__sommaire { display: none; }
	.v2-page-texte__pli { display: block; }
}

/* ── Contact (v2/gabarits/page-contact.php) ── */
.v2-contact__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 960px) { .v2-contact__cols { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }
.v2-contact__form { display: grid; gap: 18px; max-width: 720px; }
.v2-contact__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.v2-contact__motifs { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.v2-contact__motifs legend { font-weight: 700; margin: 0 0 8px; padding: 0; }
.v2-contact__motif { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--v2-r-champ); background: var(--v2-papier); border: 1px solid var(--v2-lin); cursor: pointer; }
.v2-contact__motif:has(input:checked) { border-color: var(--v2-encre); box-shadow: inset 0 0 0 1px var(--v2-encre); }
.v2-contact__motif input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--v2-encre); flex: none; }
.v2-contact__motif span { display: grid; gap: 2px; }
.v2-contact__motif small { font-size: 15px; color: var(--v2-noisette); }
.v2-contact__ligne { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 640px) { .v2-contact__ligne { grid-template-columns: 1fr 1fr; } }
.v2-contact .v2-champ { display: grid; gap: 6px; font-weight: 600; }
.v2-contact .v2-champ input, .v2-contact .v2-champ textarea { width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 16px; border: 1px solid #8c7b62; border-radius: var(--v2-r-champ); background: var(--v2-papier); color: var(--v2-encre); font: inherit; font-size: 16px; font-weight: 400; }
.v2-contact .v2-champ textarea { min-height: 150px; resize: vertical; }
.v2-contact__envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.v2-contact__avis { padding: 16px 18px; border-radius: var(--v2-r-champ); margin: 0 0 18px; }
.v2-contact__avis p { margin: 0 0 6px; }
.v2-contact__avis--ok { background: #eefaf2; border: 1px solid #1c8246; }
.v2-contact__avis--erreur { background: #fdeee8; border: 1px solid var(--v2-rouille); }
.v2-contact__conseils ul { margin: 0; padding-left: 1.2em; }

/* ── Contenu écrit en V1, rendu en composants V2 (v2/contenu-v1.php) : races, guides. ── */
.v2-contenu-v1 { font-size: 17px; line-height: 1.65; }
.v2-contenu-v1 > :first-child { margin-top: 0; }
.v2-contenu-v1 h2 { font-family: var(--v2-titre); font-weight: 500; font-size: var(--v2-h2-bloc); line-height: 1.2; margin: 44px 0 14px; }
.v2-contenu-v1 h3 { font-size: var(--v2-h3); font-weight: 700; margin: 26px 0 8px; }
.v2-contenu-v1 p, .v2-contenu-v1 ul, .v2-contenu-v1 ol { margin: 0 0 16px; }
.v2-contenu-v1 ul, .v2-contenu-v1 ol { padding-left: 1.25em; }
.v2-contenu-v1 li { margin: 0 0 6px; }
.v2-contenu-v1 a { color: var(--v2-rouille); }
.v2-contenu-v1 img { max-width: 100%; height: auto; border-radius: var(--v2-r-champ); }
/* Paires libellé / valeur (ex-tableaux à deux colonnes). */
.v2-paires { margin: 0 0 20px; padding: 6px 18px; border-radius: var(--v2-r-carte); background: var(--v2-papier); }
.v2-paires__titre { margin: 10px 0 2px !important; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--v2-noisette); }
.v2-paires dl { margin: 0; }
.v2-paires dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--v2-lin); }
.v2-paires dl > div:last-child { border-bottom: 0; }
.v2-paires dt { font-weight: 600; color: var(--v2-brun); }
.v2-paires dd { margin: 0; }
@media (max-width: 479px) { .v2-paires dl > div { grid-template-columns: minmax(0, 1fr); } .v2-paires dt { font-size: 15px; color: var(--v2-noisette); } }
/* Tableau à trois colonnes ou plus : tableau sur grand écran, une carte par ligne au téléphone. */
.v2-tableau { margin: 0 0 20px; }
.v2-tableau table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--v2-papier); border-radius: var(--v2-r-carte); overflow: hidden; font-size: 16px; }
.v2-tableau th, .v2-tableau td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--v2-lin); overflow-wrap: normal; hyphens: auto; }
.v2-tableau thead th { font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: var(--v2-noisette); background: var(--v2-sable); }
.v2-tableau tbody th { font-weight: 600; color: var(--v2-brun); }
.v2-tableau tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 639px) {
	.v2-tableau table, .v2-tableau tbody, .v2-tableau tr, .v2-tableau th, .v2-tableau td { display: block; }
	.v2-tableau table { background: none; border-radius: 0; }
	.v2-tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.v2-tableau tbody tr { margin: 0 0 10px; padding: 4px 16px; border-radius: var(--v2-r-carte); background: var(--v2-papier); }
	.v2-tableau tbody th { padding: 12px 0 6px; border-bottom: 0; font-family: var(--v2-titre); font-weight: 500; font-size: 19px; color: var(--v2-encre); }
	.v2-tableau tbody td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--v2-lin); }
	.v2-tableau tbody td::before { content: attr(data-libelle); font-size: 15px; color: var(--v2-noisette); }
	.v2-tableau tbody tr > :last-child { border-bottom: 0; }
}
/* « À retenir » (ex-encadré cg-insight). */
.v2-encart--retenir { display: block; margin: 0 0 22px; padding: 16px 18px; border-radius: var(--v2-r-carte); background: var(--v2-miel); border-left: 4px solid var(--v2-miel-fonce); }
.v2-encart__titre { display: block; margin: 0 0 6px; font-family: var(--v2-titre); font-weight: 500; font-size: 19px; }
/* « Idéal pour / Moins adapté pour ». */
.v2-pour-contre { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0 0 22px; }
@media (min-width: 640px) { .v2-pour-contre { grid-template-columns: 1fr 1fr; } }
.v2-pour-contre section { padding: 14px 18px; border-radius: var(--v2-r-carte); background: var(--v2-papier); }
.v2-pour-contre .est-pour { border-top: 4px solid #1c8246; }
.v2-pour-contre .est-contre { border-top: 4px solid var(--v2-rouille); }
.v2-pour-contre h3 { margin: 0 0 8px !important; font-size: 17px; }
.v2-pour-contre ul { margin: 0; }
/* Photo de race : l'illustration entière, à ses proportions. */
.v2-race__photo { margin: 0; border-radius: var(--v2-r-carte); overflow: hidden; background: var(--v2-sable); aspect-ratio: 3 / 2; }
.v2-race__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 759px) { .v2-race__visuel { max-width: none !important; justify-self: stretch !important; } }
.v2-race__pli { display: none; }
@media (max-width: 959px) { .v2-race__pli { display: block; } .v2-race .v2-guide__sommaire .v2-fil, .v2-guide-publie .v2-guide__sommaire { display: none; } }
.v2-lieux__maille { margin: 4px 0 16px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.v2-lieux__maille a { flex: none; }
.v2-lieux__maille a span { font-weight: 700; color: var(--v2-sauge-fonce); }
.v2-lieux__maille a[aria-current] { background: var(--v2-encre); color: var(--v2-papier); }
.v2-lieux__maille a[aria-current] span { color: var(--v2-sauge); }

/* ── Hub des pays d'origine ── */
.v2-pays { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.v2-pays a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; border-radius: var(--v2-r-champ); background: var(--v2-papier); color: var(--v2-encre); text-decoration: none; }
.v2-pays a:hover, .v2-pays a:focus-visible { outline: 2px solid var(--v2-rouille); outline-offset: -2px; }
.v2-pays__drapeau { width: 40px; height: 28px; border-radius: 4px; overflow: hidden; background: var(--v2-sable); }
.v2-pays__drapeau img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v2-pays__nom { font-weight: 600; }
.v2-pays__n { font-size: 14px; color: var(--v2-noisette); }

/* ── Portes d'univers (v2/gabarits/page-ou-aller.php…) — classe v2-univers (v2-porte est la page « revendiquer »). ── */
.v2-univers__tete { margin: 8px 0 20px; }
.v2-univers__depart { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 32px; }
@media (min-width: 760px) { .v2-univers__depart { grid-template-columns: 2fr 1fr; align-items: stretch; } }
.v2-univers__autour { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--v2-r-carte); background: var(--v2-encre); color: var(--v2-papier); text-decoration: none; }
.v2-univers a.v2-univers__autour, .v2-univers a.v2-univers__autour strong, .v2-univers a.v2-univers__autour span { color: var(--v2-papier); }
.v2-univers__autour strong { font-family: var(--v2-titre); font-weight: 500; font-size: 24px; }
.v2-univers__autour span { font-size: 15px; opacity: .85; }
.v2-univers__commune { display: flex; align-items: center; padding: 16px 20px; border-radius: var(--v2-r-carte); background: var(--v2-papier); }
.v2-univers__commune p { margin: 0; }
.v2-univers__section { margin: 0 0 36px; }
.v2-univers__section > h2, .v2-univers__section > .v2-pli > summary > h2 { margin: 0 0 12px; }
.v2-univers__rubriques { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .v2-univers__rubriques { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.v2-univers__rubriques a { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 84px; padding: 14px 16px; border-radius: var(--v2-r-carte); background: var(--v2-papier); border: 1px solid var(--v2-lin); color: var(--v2-encre); text-decoration: none; }
.v2-univers__rubriques strong { font-size: 17px; line-height: 1.25; }
.v2-univers__rubriques span { font-family: var(--v2-titre); font-size: 22px; color: var(--v2-sauge-fonce); }
.v2-univers__rubriques a:hover, .v2-univers__rubriques a:focus-visible { border-color: var(--v2-rouille); }

/* ── Guides publiés et leurs listes ── */
.v2-guide-publie__tete { max-width: 1000px; } /* sans image, le titre prend la largeur ; le chapeau garde sa largeur de lecture */
.v2-guide-publie__tete > p { max-width: 46rem; }
.v2-guide-publie__etiquettes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.v2-etiquette--lien { text-decoration: none; color: inherit; }
.v2-guide-publie__chapeau { font-size: 19px; line-height: 1.55; color: var(--v2-brun); margin: 8px 0 12px; }
.v2-guide-publie__signature .editorial-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 15px; color: var(--v2-noisette); }
.v2-guide-publie__signature .editorial-meta > span::before { content: none; }
.v2-guide-publie__signature a { color: var(--v2-rouille); }
.v2-guide-publie__visuel { margin: 0 0 28px; max-width: 820px; border-radius: var(--v2-r-carte); overflow: hidden; background: var(--v2-sable); }
.v2-guide-publie__visuel img { display: block; width: 100%; height: auto; } /* format naturel : certaines illustrations portent un titre incrusté, un recadrage le couperait */
.v2-guide-publie__visuel figcaption { padding: 8px 12px; }
.v2-guide-publie__auteur { margin: 28px 0 0; padding: 16px 18px; border-radius: var(--v2-r-carte); background: var(--v2-papier); }
.v2-guide-publie__auteur p { margin: 0 0 4px; }
.v2-faq { margin: 0 0 8px; padding: 0 16px; border-radius: var(--v2-r-champ); background: var(--v2-papier); }
.v2-faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style-position: outside; }
.v2-faq summary h3 { display: inline; font-size: 17px; margin: 0 !important; }
.v2-faq > div { padding: 0 0 14px; }
.v2-guides { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 700px) { .v2-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .v2-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v2-guide-carte a { display: flex; flex-direction: column; height: 100%; border-radius: var(--v2-r-carte); overflow: hidden; background: var(--v2-papier); color: var(--v2-encre); text-decoration: none; border: 1px solid var(--v2-lin); }
.v2-guide-carte a:hover, .v2-guide-carte a:focus-visible { border-color: var(--v2-rouille); }
.v2-guide-carte__visuel { display: block; background: var(--v2-sable); }
.v2-guide-carte__visuel img { display: block; width: 100%; height: auto; }
.v2-guide-carte__visuel picture, .v2-guide-publie__visuel picture { display: contents; }
.v2-guide-carte__texte { display: grid; gap: 6px; padding: 14px 16px 16px; }
.v2-guide-carte__cat { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--v2-rouille); }
.v2-guide-carte__titre { font-family: var(--v2-titre); font-weight: 500; font-size: 21px; line-height: 1.25; }
.v2-guide-carte__ex { font-size: 15px; color: var(--v2-brun); }
@media (min-width: 700px) {
	.v2-guide-carte--grande { grid-column: 1 / -1; }
	.v2-guide-carte--grande a { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
	.v2-guide-carte--grande .v2-guide-carte__visuel { display: flex; align-items: center; }
	.v2-guide-carte--grande .v2-guide-carte__titre { font-size: 28px; }
	.v2-guide-carte--grande .v2-guide-carte__texte { padding: 24px; align-content: center; }
}

/* ── Mon compte (v2/gabarits/mon-compte.php) : corps V1 (formulaires et traitements inchangés) habillé en V2. :where() garde aux
   classes V1 leur spécificité d'une classe : leurs règles d'état (masqué, courant…) gardent la main. ── */
.v2-compte__carnet { margin: 0 0 28px; }
.v2-compte__carnet > h2 { margin: 0 0 12px; }
.v2-compte__carnet-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 8px; }
@media (min-width: 760px) { .v2-compte__carnet-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v2-compte a.v2-compte__raccourci { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--v2-r-carte); background: var(--v2-papier); border: 1px solid var(--v2-lin); color: var(--v2-encre); text-decoration: none; }
.v2-compte__raccourci strong { font-family: var(--v2-titre); font-weight: 500; font-size: 20px; }
.v2-compte__raccourci span { font-size: 15px; color: var(--v2-noisette); }
.v2-compte__onglets nav, .v2-compte__onglets ul { display: flex; gap: 8px; list-style: none; margin: 8px 0 0; padding: 0; flex-wrap: wrap; }
.v2-compte__onglets a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border-radius: var(--v2-r-pastille); background: var(--v2-papier); color: var(--v2-encre); text-decoration: none; border: 1px solid var(--v2-lin); }
.v2-compte__onglets a[aria-current], .v2-compte__onglets .est-actif a { background: var(--v2-encre); color: var(--v2-papier); border-color: var(--v2-encre); }
:where(.v2-compte) .cg-compte, :where(.v2-compte) .cg-compte-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 960px) { :where(.v2-compte) .cg-compte-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
:where(.v2-compte) .cg-panel, :where(.v2-compte) .cg-compte-carte { display: block; padding: 18px 20px; border-radius: var(--v2-r-carte); background: var(--v2-papier); border: 1px solid var(--v2-lin); }
:where(.v2-compte) .cg-panel__titre { font-family: var(--v2-titre); font-weight: 500; font-size: 24px; margin: 0 0 10px; }
:where(.v2-compte) .cg-compte-bloc { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--v2-lin); }
:where(.v2-compte) .cg-compte-bloc__titre { font-size: 18px; font-weight: 700; margin: 0 0 8px; font-family: var(--v2-texte); }
:where(.v2-compte) .cg-compte-bloc:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
:where(.v2-compte) .cg-compte-carte__entete, :where(.v2-compte) .cg-compte-carte__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
:where(.v2-compte) .cg-compte-carte__vignette { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--v2-sable); flex: none; }
:where(.v2-compte) .cg-compte-carte__vignette img, :where(.v2-compte) .cg-avatar { width: 100%; height: 100%; object-fit: cover; display: block; }
:where(.v2-compte) .cg-compte-carte__nom { font-family: var(--v2-titre); font-size: 22px; margin: 0; }
:where(.v2-compte) .cg-compte-carte__role, :where(.v2-compte) .cg-compte-note { font-size: 15px; color: var(--v2-noisette); }
:where(.v2-compte) .cg-compte-deconnexion { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--v2-rouille); }
:where(.v2-compte) .cg-compte-deconnexion svg, :where(.v2-compte) .cg-ic { width: 18px; height: 18px; }
:where(.v2-compte) .cg-avatar-galerie__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; list-style: none; margin: 10px 0; padding: 0; }
:where(.v2-compte) .cg-avatar-galerie__bouton { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 50%; overflow: hidden; background: var(--v2-sable); cursor: pointer; }
:where(.v2-compte) .cg-avatar-galerie__item.est-courant .cg-avatar-galerie__bouton, :where(.v2-compte) .cg-avatar-galerie__bouton[aria-pressed="true"] { border-color: var(--v2-encre); }
:where(.v2-compte) .cg-avatar-galerie__img { width: 100%; height: 100%; object-fit: cover; display: block; }
:where(.v2-compte) .cg-avatar-galerie > summary, :where(.v2-compte) details > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--v2-brun); }
:where(.v2-compte) .cg-id-list { list-style: none; margin: 8px 0; padding: 0; }
:where(.v2-compte) .cg-id-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--v2-lin); }
:where(.v2-compte) .cg-id-row__k { color: var(--v2-noisette); font-size: 15px; }
:where(.v2-compte) .cg-id-row__v { overflow-wrap: anywhere; }
:where(.v2-compte) .cg-id-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
:where(.v2-compte) .cg-form, :where(.v2-compte) form { display: grid; gap: 12px; margin: 10px 0 0; }
:where(.v2-compte) .cg-field { display: grid; gap: 6px; }
:where(.v2-compte) label { font-weight: 600; }
:where(.v2-compte) input[type="text"], :where(.v2-compte) input[type="search"], :where(.v2-compte) input[type="tel"], :where(.v2-compte) input[type="url"], :where(.v2-compte) input[type="number"], :where(.v2-compte) input[type="email"], :where(.v2-compte) input[type="password"], :where(.v2-compte) select, :where(.v2-compte) textarea { width: 100%; box-sizing: border-box; min-height: 52px; padding: 10px 16px; border: 1px solid var(--v2-lin); border-radius: var(--v2-r-champ); background: var(--v2-creme); color: var(--v2-encre); font: inherit; font-size: 16px; font-weight: 400; }
:where(.v2-compte) .cg-champ-case { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
:where(.v2-compte) .cg-champ-case input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--v2-encre); flex: none; }
:where(.v2-compte) .cg-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: var(--v2-r-pastille); border: 0; background: var(--v2-encre); color: var(--v2-papier); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
:where(.v2-compte) .cg-button-secondary { background: var(--v2-peche); color: var(--v2-encre); }
:where(.v2-compte) .cg-button-danger { background: #9b2c1c; color: #fff; }
:where(.v2-compte) .cg-callout { padding: 14px 16px; border-radius: var(--v2-r-champ); background: var(--v2-creme); border-left: 4px solid var(--v2-noisette); margin: 0 0 12px; }
:where(.v2-compte) .cg-callout-info { background: var(--v2-creme); border-left-color: var(--v2-noisette); }
:where(.v2-compte) .cg-callout-success { background: var(--v2-sauge); border-left-color: var(--v2-sur-sauge); color: var(--v2-sur-sauge); }
:where(.v2-compte) .cg-callout-danger { background: var(--v2-peche); border-left-color: var(--v2-rouille-fonce); color: var(--v2-rouille-fonce); }
:where(.v2-compte) .cg-badge { display: inline-block; padding: 2px 10px; border-radius: var(--v2-r-pastille); background: var(--v2-sable); font-size: 14px; }
:where(.v2-compte) .cg-danger-zone { border-color: #e2b4a8; }
:where(.v2-compte) .cg-danger-card { padding: 14px 16px; border-radius: var(--v2-r-champ); background: #fdeee8; }
.cg-hp, :where(.v2-compte) .cg-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:where(.v2-compte) a { color: var(--v2-rouille); }
:where(.v2-compte) ul { padding-left: 1.2em; }
/* Boutons du compte : la feuille du bandeau de consentement (règles V1 lues dans global.css) porte un .cg-button orange ; ici la V2 l'emporte. */
.v2-compte .cg-button, .v2-compte a.cg-button { background: var(--v2-encre); color: var(--v2-papier); border: 0; text-decoration: none; }
.v2-compte .cg-button-secondary, .v2-compte a.cg-button-secondary { background: var(--v2-peche); color: var(--v2-encre); }
.v2-compte .cg-button-danger { background: #9b2c1c; color: #fff; }
/* Coquille d'une page V1 découpée : son fil d'Ariane et sa bande d'en-tête prennent la forme V2. */
.v2-coquille .cg-breadcrumb-wrap, .v2-coquille .cg-breadcrumbs { padding-top: 16px; font-size: 15px; color: var(--v2-noisette); }
.v2-coquille .cg-breadcrumb-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; }
.v2-coquille .cg-breadcrumb-item:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--v2-noisette); } /* R2-230 : le séparateur finit l'élément, une ligne coupée ne commence plus par « / » */
.v2-coquille .cg-breadcrumb-list a { color: var(--v2-noisette); }
.v2-coquille .cg-entete, .v2-coquille .cg-entete__inner { background: none; padding: 0; margin: 0; max-width: none; }
.v2-coquille .cg-entete__titre, .v2-coquille h1 { font-family: var(--v2-titre); font-weight: 500; font-size: var(--v2-h1-liste); line-height: 1.1; margin: 12px 0 14px; }
.v2-coquille .cg-entete__intro, .v2-coquille .cg-kicker { color: var(--v2-noisette); }
.v2-coquille .cg-kicker { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--v2-rouille); font-weight: 600; }

/* Recherche de fiche (revendiquer, demander le retrait) servie dans une page de compte. */
.v2-compte .cg-revendiquer-liste { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.v2-compte .cg-revendiquer-item { display: grid; gap: 4px 12px; padding: 14px 16px; border-radius: var(--v2-r-champ); background: var(--v2-creme); }
.v2-compte .cg-revendiquer-item__nom { font-family: var(--v2-titre); font-size: 19px; color: var(--v2-encre); text-decoration: none; }
.v2-compte .cg-revendiquer-item__sous { font-size: 15px; color: var(--v2-noisette); }
.v2-compte .cg-revendiquer-item .cg-ctx-form { margin: 6px 0 0; }
.v2-compte .cg-revendiquer-recherche { display: flex; flex-wrap: wrap; gap: 10px; }
.v2-compte .cg-revendiquer-recherche input[type="search"] { flex: 1 1 240px; }

/* ── Garder (v2/carnet.php) ── */
.v2-garder { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: var(--v2-r-pastille); border: 1px solid var(--v2-lin); background: var(--v2-papier); color: var(--v2-encre); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; margin: 6px 0 4px; }
.v2-garder[aria-pressed="true"] { background: var(--v2-encre); border-color: var(--v2-encre); color: var(--v2-papier); }
.v2-garder[aria-pressed="true"] path { fill: currentColor; }
.v2-garder[aria-busy="true"] { opacity: .6; }
.v2-compte__sous-titre { font-size: 18px; font-family: var(--v2-texte); font-weight: 700; margin: 18px 0 8px; display: flex; gap: 8px; align-items: baseline; }
.v2-gardes { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.v2-gardes li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 16px; border-radius: var(--v2-r-champ); background: var(--v2-papier); }
.v2-gardes li.est-retire { opacity: .5; }
.v2-gardes a { display: grid; gap: 2px; color: var(--v2-encre); text-decoration: none; min-width: 0; }
.v2-gardes__type { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--v2-rouille); }
.v2-gardes__titre { font-weight: 600; overflow-wrap: anywhere; }
.v2-gardes .v2-garder { margin: 0; flex: none; }
.v2-coquille .cg-auth__logo { display: none; } /* le logo de la carte V1 : la V2 a déjà le sien dans l’en-tête */

/* ── Prototype de site vitrine (v2/gabarits/vitrine.php) : deux modèles réellement différents. Classe v2-sitepro : .v2-vitrine est un
   bloc de l'accueil, masqué au téléphone. ── */
.v2-vit__bandeau { background: #fff4d6; border-bottom: 1px solid #e8cf8a; font-size: 15px; padding: 10px 0; }
.v2-vit__bandeau .v2-cadre { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.v2-vit__modeles { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; }
.v2-vit__modeles a { padding: 4px 12px; border-radius: var(--v2-r-pastille); background: #fff; color: var(--v2-encre); text-decoration: none; border: 1px solid #e8cf8a; }
.v2-vit__modeles a[aria-current] { background: var(--v2-encre); color: #fff; border-color: var(--v2-encre); }
.v2-vit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.v2-vit__action { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; border-radius: var(--v2-r-pastille); background: var(--v2-papier); color: var(--v2-encre); border: 1px solid var(--v2-lin); text-decoration: none; font-weight: 600; }
.v2-vit__action--plein { background: var(--v2-encre); color: var(--v2-papier); border-color: var(--v2-encre); }
.v2-vit__statut { margin: 8px 0 0; font-weight: 600; }
.v2-vit__reglages, .v2-vit__sources { margin: 40px 0 0; padding: 20px 22px; border-radius: var(--v2-r-carte); background: var(--v2-papier); border: 1px dashed var(--v2-noisette); }
.v2-vit__sources { border-style: solid; border-color: var(--v2-lin); margin-bottom: 32px; font-size: 15px; }
.v2-vit__reglages h2, .v2-vit__sources h2 { font-size: 22px; margin: 0 0 8px; }
.v2-vit__reglages li { margin: 0 0 6px; }
/* Modèle « Clair » : utilitaire, lumineux, l'essentiel d'abord. */
.v2-sitepro--clair { background: #fbfaf7; }
.v2-vit-c__tete { padding: 28px 0 16px; }
.v2-vit-c__tete h1 { margin: 6px 0 0; font-size: clamp(32px, 7vw, 52px); }
.v2-vit-c__essentiel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 8px 0 24px; }
.v2-vit-c__essentiel > div { padding: 12px 16px; border-radius: var(--v2-r-champ); background: #fff; border: 1px solid var(--v2-lin); }
.v2-vit-c__essentiel dt { font-size: 14px; color: var(--v2-noisette); }
.v2-vit-c__essentiel dd { margin: 2px 0 0; font-weight: 600; }
.v2-vit-c__grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 900px) { .v2-vit-c__grille { grid-template-columns: 2fr 1fr; } .v2-vit-c__bloc--large { grid-row: span 3; } }
.v2-vit-c__bloc { padding: 18px 20px; border-radius: var(--v2-r-carte); background: #fff; border: 1px solid var(--v2-lin); }
.v2-vit-c__bloc h2 { font-size: 22px; margin: 0 0 12px; }
.v2-vit__soin { border-top: 1px solid var(--v2-lin); }
.v2-vit__soin summary { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; cursor: pointer; }
.v2-vit__soin summary span { color: var(--v2-noisette); }
.v2-vit__soin ul { margin: 0 0 12px; }
.v2-vit__equipe { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.v2-vit__equipe li { display: grid; gap: 2px; }
.v2-vit__equipe span { font-size: 15px; color: var(--v2-noisette); }
/* Modèle « Récit » : éditorial, sombre en tête, chapitres numérotés, contact collant. */
.v2-sitepro--recit { background: var(--v2-creme); }
.v2-vit-r__tete { background: #1f2a24; color: #f3efe6; padding: 48px 0 40px; }
.v2-vit-r__tete h1 { color: #f3efe6; font-size: clamp(40px, 10vw, 84px); line-height: 1.02; margin: 8px 0 12px; letter-spacing: -.01em; }
.v2-vit-r__metier { text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: #c9d8c4; margin: 0; }
.v2-vit-r__lieu { margin: 0; color: #d9d4c7; font-size: 18px; }
.v2-vit-r__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
@media (min-width: 960px) { .v2-vit-r__cols { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .v2-vit-r__contact { position: sticky; top: 16px; } }
@media (min-width: 960px) { .v2-vit-r__cols--seul { grid-template-columns: minmax(0, 560px); } .v2-vit-r__cols--seul .v2-vit-r__contact { position: static; } } /* vitrine « récit » sans chapitre : le contact seul, en colonne de lecture (13/11) */
.v2-vit-r__contact { order: -1; padding: 20px; border-radius: var(--v2-r-carte); background: #fff; box-shadow: var(--v2-ombre-feuille); }
@media (min-width: 960px) { .v2-vit-r__contact { order: 0; } }
.v2-vit-r__contact h2 { font-size: 20px; margin: 18px 0 8px; }
.v2-vit-r__chapitres section { padding: 28px 0; border-bottom: 1px solid var(--v2-lin); }
.v2-vit-r__num { font-family: var(--v2-titre); font-size: 40px; color: #6f8f68; margin: 0; line-height: 1; }
.v2-vit-r__chapitres h2 { font-size: clamp(26px, 5vw, 36px); margin: 6px 0 16px; }
.v2-vit-r__soins { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .v2-vit-r__soins { grid-template-columns: 1fr 1fr; } }
.v2-vit__soin-r { padding: 14px 16px; border-radius: var(--v2-r-champ); background: #fff; }
.v2-vit__soin-r h3 { font-size: 17px; margin: 0 0 6px; }
.v2-vit__soin-r ul { margin: 0; padding-left: 1.1em; font-size: 15px; }
.v2-vit-r__equipe { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.v2-vit-r__equipe li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 2px 14px; align-items: center; }
.v2-vit-r__initiales { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; background: #1f2a24; color: #f3efe6; display: grid; place-items: center; font-family: var(--v2-titre); font-size: 20px; }
.v2-vit-r__equipe span:last-child { font-size: 15px; color: var(--v2-noisette); }
.v2-vit-r__puces { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.v2-vit-r__puces li { padding: 8px 14px; border-radius: var(--v2-r-pastille); background: #fff; }
.v2-vit-r__pratique > div { padding: 10px 0; border-bottom: 1px solid var(--v2-lin); }
.v2-vit-r__pratique dt { font-weight: 700; }
.v2-vit-r__pratique dd { margin: 2px 0 0; }
.v2-sitepro a.v2-vit__action { color: var(--v2-encre); }
.v2-sitepro a.v2-vit__action--plein { color: var(--v2-papier); }

/* ── Transversal : liens dans la règle d'un lieu (fond coloré) ; bloc « à proximité » de la V1 (pros, refuges, lieux) en forme V2. ── */
.v2-regle a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.v2-v1 .cg-maillage-pro__title { font-family: var(--v2-titre); font-weight: 500; font-size: 22px; margin: 0 0 6px; }
.v2-v1 .cg-maillage-pro__ordre { font-size: 15px; color: var(--v2-noisette); margin: 0 0 12px; }
.v2-v1 .cg-pro-mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v2-v1 .cg-pro-mini { display: flex; align-items: center; gap: 12px; }
.v2-v1 .cg-pro-mini__mono { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--v2-sable); color: var(--v2-brun); font-family: var(--v2-titre); font-size: 18px; }
.v2-v1 .cg-pro-mini__body { display: grid; gap: 2px; min-width: 0; }
.v2-v1 .cg-pro-mini__name { font-weight: 600; color: var(--v2-encre); }
.v2-v1 .cg-pro-mini__city { font-size: 15px; color: var(--v2-noisette); }
/* Lignes « libellé / valeur » rendues par la V1 (<li><span.attr-label><span.attr-value>) : aliments, accessoires, fiches. */
.v2-v1 li:has(> .attr-label) { list-style: none; display: grid; gap: 4px; margin: 0 0 14px; padding: 0; }
.v2-v1 .attr-label { font-weight: 700; }
.v2-v1 .attr-value { display: block; }
dd.v2-v1 li:has(> .attr-label) { margin: 0; }
dd.v2-v1 .attr-label { display: none; } /* le libellé est déjà le <dt> */
.v2-v1 .cg-champ-cite { display: block; margin: 4px 0 0; padding-left: 12px; border-left: 3px solid var(--v2-lin); color: var(--v2-brun); }
.v2-v1 .cg-champ-constat { font-size: 14px; color: var(--v2-noisette); }

/* ── Jetons V1 (--cg-*) traduits en V2 sur TOUTE page V2 : les composants V1 servis tels quels (outils de l'extension
   caniguide-outils-conso, Canimap, blocs « v2-v1 ») restent lisibles sans global.css, aux couleurs et mesures V2.
   Les deux masques (chevron, coche) sont ceux de global.css, recopiés tels quels (assets/css/global.css). ── */
body.cg-v2 {
	--cg-bg: var(--v2-papier); --cg-bg-soft: var(--v2-creme); --cg-cream: var(--v2-creme); --cg-cream-border: var(--v2-lin);
	--cg-border: var(--v2-lin); --cg-border-field: #8c7b62; --cg-border-strong: var(--v2-noisette);
	--cg-text: var(--v2-encre); --cg-text-soft: var(--v2-noisette); --cg-text-muted: var(--v2-noisette); --cg-heading: var(--v2-encre);
	--cg-primary: var(--v2-encre); --cg-accent: var(--v2-abricot); --cg-accent-ink: var(--v2-rouille); --cg-on-accent: #fff; --cg-on-dark: var(--v2-papier);
	--cg-success: #1c8246; --cg-success-bg: #eefaf2; --cg-warning: #8a5a00; --cg-warning-bg: #fff4d6; --cg-danger: #9b2c1c; --cg-danger-bg: #fdeee8; --cg-danger-ink: #7a1f12;
	--cg-info: #245f99; --cg-status-mid: #c79a4b;
	--cg-font-sans: var(--v2-texte); --cg-font-serif: var(--v2-titre);
	--cg-text-xs: 0.8125rem; --cg-text-sm: 0.9375rem; --cg-text-base: 1rem; --cg-text-md: 1.0625rem; --cg-text-lg: 1.125rem; --cg-text-xl: 1.375rem; --cg-text-2xl: 1.75rem;
	--cg-leading-snug: 1.3; --cg-leading-relaxed: 1.6;
	--cg-radius-xs: 6px; --cg-radius-sm: 10px; --cg-radius-md: var(--v2-r-champ); --cg-radius-lg: var(--v2-r-carte); --cg-radius-pill: var(--v2-r-pastille);
	--cg-shadow-sm: 0 1px 2px rgba(43, 30, 21, .05); --cg-shadow-md: var(--v2-ombre-feuille);
	--cg-space-1: 4px; --cg-space-2: 8px; --cg-space-3: 12px; --cg-space-4: 16px; --cg-space-5: 20px; --cg-space-6: 24px; --cg-space-7: 32px; --cg-space-8: 40px; --cg-space-10: 64px;
	--cg-cible-tactile: 44px; --cg-barre-admin-hauteur: 0px; --cg-focus-trait-fonce: var(--v2-encre); --cg-z-surcouche: 90010; --cg-header-collant: 0px;
	--cg-masque-chevron: url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 16 16%22 fill%3D%22none%22 stroke%3D%22black%22 stroke-width%3D%221.5%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%3E%3Cpath d%3D%22M4 6.4 8 10.4l4-4%22%2F%3E%3C%2Fsvg%3E");
	--cg-masque-oui: url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 16 16%22 fill%3D%22none%22 stroke%3D%22black%22 stroke-width%3D%221.8%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%3E%3Cpath d%3D%22M3.2 8.4 6.2 11.4 12.8 4.8%22%2F%3E%3C%2Fsvg%3E");
}
.v2-outil input[type="number"], .v2-outil input[type="text"], .v2-outil select { min-height: 48px; padding: 8px 14px; font-size: 16px; border: 1px solid #8c7b62; border-radius: var(--v2-r-champ); background: #fff; }
/* Outils de l'extension dans le cadre V2 : aucun champ plus large que sa carte. */
.v2-outil select, .v2-outil input, .v2-outil button, .v2-outil textarea { max-width: 100%; box-sizing: border-box; }
.v2-outil form, .v2-outil fieldset, .v2-outil label, .v2-outil div { min-width: 0; }
.v2-outil select { width: 100%; }

/* ── Barre basse (téléphone) : chaque case prend la largeur de SON libellé (« Pros » n'a pas besoin de la place de
   « Comprendre »), le reste se répartit ; libellé 12–14 px selon la largeur ; cible ≥ 64 px de haut. Texte agrandi par le
   téléphone : le mot passe sur deux lignes, coupé proprement, jamais sur la case voisine. Mesuré à 320/360/390 px, ×1 et ×1,3. ── */
@media (max-width: 759px) {
	.v2-barre ul { display: flex; }
	.v2-barre li { flex: 1 1 auto; min-width: 0; }
	.v2-barre__lien { padding: 8px 4px; }
	.v2-barre__lien span { font-size: clamp(12px, 3.5vw, 14px); line-height: 1.1; max-width: 100%; text-align: center; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
}

/* ── Fiche race, DA V2 : illustration paysage 3:2 entière (chien entier, studio crème) et choix de robe en pastilles. ── */
.v2-race__photo--da { aspect-ratio: 3 / 2; background: #f6efe4; }
.v2-race__photo--da img { object-fit: contain; }
.v2-robes { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 0; }
.v2-robes__choix { display: grid; justify-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--v2-encre); cursor: pointer; min-width: 64px; }
.v2-robes__choix img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 28% 32%; transform-origin: 28% 32%; border: 2px solid transparent; background: #f6efe4; }
.v2-robes__choix[aria-pressed="true"] img { border-color: var(--v2-encre); }
.v2-robes__choix[aria-pressed="true"] span { font-weight: 700; }
.v2-robes__legende { display: none; } /* UX-3 G2 : affichée au téléphone seulement (bloc max-width: 759px, juste après) */
/* Robes du héros, ordinateur et tablette (signalement de Jordan, 16/11, Bulldog continental) : un libellé du standard FCI ne passait jamais à la ligne, son bouton
   s'élargissait (302 et 340 px) et la rangée se cassait. Colonnes égales : base nulle, jusqu'à 88 px, jamais sous 64 px ; le libellé passe à la ligne sous sa vignette. */
@media (min-width: 760px) {
	.v2-robes { align-items: flex-start; }
	.v2-robes__choix { flex: 1 1 0; min-width: 64px; max-width: 88px; }
	.v2-robes__choix span { line-height: 1.25; text-align: center; overflow-wrap: anywhere; text-wrap: balance; }
}
@media (max-width: 759px) {
	.v2-robes { flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin: 6px 0 0; padding-bottom: 2px; scrollbar-width: none; }
	.v2-robes__choix { flex: none; min-width: 72px; font-size: 12.5px; }
	.v2-robes__choix img { width: 44px; height: 44px; }
	/* UX-3 G2 : la rangée ne porte que des choix ; le libellé reste le nom accessible du bouton, caché à l'œil. La légende dessous le dit. */
	.v2-robes__choix span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
	.v2-robes__choix { min-width: 52px; }
	.v2-robes__legende { display: block; margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
	.v2-race__photo--da + .v2-race__credit { margin: 4px 0 0; }
}

/* ── Signaler une erreur (v2/signalement.php) ── */
[data-cg-retrait-mes-fiches] { margin-bottom: 16px; }
.v2-ep-retirer { display: inline-block; margin-top: 10px; padding: 6px 0; font-size: 14px; color: var(--v2-brun); }
.v2-avis-signaler { margin-top: 12px; }
.v2-avis-signaler > summary { padding: 8px 12px; min-height: 0; font-size: 14px; font-weight: 500; }
.v2-avis-signaler .v2-champ { padding: 0; }
.v2-avis-signaler button[type="submit"] { background: var(--v2-encre); color: var(--v2-papier) !important; }
.v2-avis-signaler-lien { display: inline-block; margin-top: 8px; padding: 6px 0; font-size: 14px; color: var(--v2-brun); }
.v2-signaler { margin: 20px 0 0; border-radius: var(--v2-r-champ); background: var(--v2-papier); border: 1px solid var(--v2-lin); }
.v2-signaler > summary { cursor: pointer; padding: 14px 16px; font-weight: 600; color: var(--v2-rouille); min-height: 44px; }
.v2-signaler__form { display: grid; gap: 14px; padding: 0 16px 16px; }
.v2-signaler .v2-champ { display: grid; gap: 6px; min-height: 0; padding: 0; background: none; font-weight: 600; } /* lot 6 : le libellé héritait du retrait d'un champ : trois bords gauches dans le même formulaire */
.v2-signaler .v2-champ small { font-weight: 400; color: var(--v2-noisette); }
.v2-signaler select, .v2-signaler textarea, .v2-signaler input[type="url"], .v2-signaler input[type="email"] { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1px solid #8c7b62; border-radius: var(--v2-r-champ); background: #fff; font: inherit; font-size: 16px; font-weight: 400; color: var(--v2-encre); }
.v2-signaler__case { display: flex; gap: 10px; align-items: center; }
.v2-signaler__case input { width: 22px; height: 22px; accent-color: var(--v2-encre); }
.v2-signaler__retour { margin: 0; padding: 12px 14px; border-radius: var(--v2-r-champ); font-weight: 600; }
.v2-signaler__retour.est-ok { background: #eefaf2; color: #14532d; }
.v2-signaler__retour.est-erreur { background: #fdeee8; color: #7a1f12; }
.v2-robes__source { margin: 6px 0 0; }

/* ── Compatibilité entre deux races (v2/gabarits/page-test-compatibilite.php) ── */
.v2-compat { display: grid; gap: 20px; padding-bottom: 40px; }
.v2-compat__intro p { margin: 0 0 8px; }
.v2-compat__champs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: end; }
.v2-compat__champ { display: grid; gap: 6px; font-weight: 600; }
.v2-compat__champ .v2-champ { width: 100%; background: var(--v2-creme); }
.v2-compat__et { font: 600 24px var(--v2-titre); color: var(--v2-noisette); padding-bottom: 10px; }
.v2-compat__erreur { margin: 0; padding: 14px 16px; border-radius: 18px; background: #F7E1D7; color: var(--v2-rouille-fonce); font-weight: 500; }
.v2-compat__resultat { display: grid; gap: 16px; }
.v2-compat__score { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: clamp(18px, 3vw, 28px); border-radius: var(--v2-r-carte); background: var(--v2-papier); border-left: 6px solid var(--v2-jauge, var(--v2-miel-fonce)); }
.v2-compat__score h2 { margin: 2px 0 6px; font-size: var(--v2-h2-bloc); }
.v2-compat__score p { margin: 0; }
.v2-compat__pc { font-family: var(--v2-titre); line-height: 1; }
.v2-compat__pc strong { font-size: clamp(44px, 8vw, 64px); }
.v2-compat__pc span { font-size: 18px; color: var(--v2-noisette); }
.v2-compat__duo { font-weight: 600; }
.v2-compat__duo a { color: inherit; }
.v2-compat__dims { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.v2-compat__dim { background: var(--v2-papier); border-radius: 18px; padding: 14px 16px; display: grid; gap: 8px; align-content: start; }
.v2-compat__dim-tete { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-weight: 600; }
.v2-compat__jauge { display: block; height: 8px; border-radius: 4px; background: var(--v2-creme); overflow: hidden; }
.v2-compat__jauge span { display: block; height: 100%; border-radius: 4px; background: var(--v2-jauge, var(--v2-miel-fonce)); }
.v2-compat__details { margin: 0; padding-left: 18px; font-size: 15px; color: var(--v2-noisette); }
.v2-compat__score--bon, .v2-compat__dim--bon { --v2-jauge: var(--v2-sauge-fonce); }
.v2-compat__score--moyen, .v2-compat__dim--moyen { --v2-jauge: var(--v2-miel-fonce); }
.v2-compat__score--faible, .v2-compat__dim--faible { --v2-jauge: var(--v2-rouille-fonce); }
.v2-compat__resultat .v2-encart--retenir { margin: 0; }
.v2-compat__resultat .v2-encart--retenir h3 { margin: 0 0 6px; font-size: var(--v2-h3); }
.v2-compat__resultat .v2-encart--retenir ul { margin: 0; padding-left: 18px; }
.v2-compat__suite { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.v2-compat__methode summary { cursor: pointer; list-style: none; }
.v2-compat__methode summary::-webkit-details-marker { display: none; }
.v2-compat__methode summary h2 { display: inline; }
.v2-compat__methode summary::after { content: " +"; font: 600 22px var(--v2-titre); color: var(--v2-noisette); }
.v2-compat__methode[open] summary::after { content: " −"; }
@media (max-width: 599px) {
	.v2-compat__champs { grid-template-columns: minmax(0, 1fr); }
	.v2-compat__et { display: none; }
	.v2-compat__score { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* ── Prénom (v2/gabarits/page-prenom-chien.php ; moteur et script V1) ── */
.v2-prenom { display: grid; gap: 20px; padding-bottom: 40px; }
.v2-prenom__intro p { margin: 0 0 8px; }
.v2-prenom__choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v2-prenom__champ { display: grid; gap: 6px; font-weight: 600; position: relative; }
.v2-prenom__champ .v2-champ { width: 100%; background: var(--v2-creme); }
.v2-prenom__champ small { font-weight: 400; }
.v2-prenom__affichage { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 20px; align-items: start; }
.v2-prenom__lettre { display: grid; justify-items: center; gap: 2px; min-width: 96px; padding: 12px 14px; border-radius: 18px; background: var(--v2-miel); color: var(--v2-miel-fonce); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.v2-prenom__lettre strong { font: 600 56px/1 var(--v2-titre); color: var(--v2-encre); letter-spacing: 0; }
.v2-prenom__desc p { margin: 0 0 6px; }
.v2-prenom__exemples { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.v2-prenom__exemples h3 { margin: 0 0 8px; font-size: 17px; }
.v2-prenom__puces { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-prenom__puces .prenom-exemple-item { padding: 6px 12px; border-radius: var(--v2-r-pastille); background: var(--v2-creme); font-size: 15px; }
.v2-prenom__contexte { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--v2-creme); }
.v2-prenom fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.v2-prenom legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.v2-prenom__axes { display: grid; gap: 12px; }
.v2-prenom__axes > legend { font-size: 18px; }
.v2-prenom__axe-t { display: block; font-size: 15px; color: var(--v2-noisette); margin-bottom: 6px; }
.v2-prenom__options { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-prenom__options label { position: relative; }
.v2-prenom__options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.v2-prenom__options span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--v2-r-pastille); background: var(--v2-creme); border: 2px solid transparent; font-size: 15px; }
.v2-prenom__options input:checked + span { background: var(--v2-encre); color: var(--v2-papier); }
.v2-prenom__options input:focus-visible + span { border-color: var(--v2-rouille); }
.v2-prenom__suggestions { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--v2-papier); border-radius: 12px; box-shadow: var(--v2-ombre-flotte); max-height: 280px; overflow: auto; font-weight: 400; }
.v2-prenom__suggestions .race-result-item { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.v2-prenom__suggestions .race-result-item:hover, .v2-prenom__suggestions .race-result-item[aria-selected="true"] { background: var(--v2-miel); }
.v2-prenom__suggestions .race-result-item[aria-disabled="true"] { cursor: default; color: var(--v2-noisette); background: none; }
.v2-prenom__apercu summary { cursor: pointer; font-weight: 600; }
.v2-prenom__apercu pre { white-space: pre-wrap; font: 14px/1.5 var(--v2-texte); background: var(--v2-creme); padding: 12px 14px; border-radius: 12px; margin: 8px 0 0; }
.v2-prenom__ias { display: flex; flex-wrap: wrap; gap: 10px; }
.v2-prenom .prenom-message { padding: 12px 14px; border-radius: 12px; background: var(--v2-sauge); }
.v2-prenom .prenom-message--error { background: #F7E1D7; color: var(--v2-rouille-fonce); }
.v2-prenom .prenom-message textarea { min-height: 160px; font: 14px/1.5 var(--v2-texte); border-radius: 8px; border: 0; padding: 10px; }
@media (max-width: 599px) {
	.v2-prenom__choix { grid-template-columns: minmax(0, 1fr); }
	.v2-prenom__affichage { grid-template-columns: minmax(0, 1fr); }
	.v2-prenom__lettre { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; }
	.v2-prenom__lettre strong { font-size: 44px; }
	.v2-prenom__ias .v2-bouton { flex: 1 1 auto; }
}

/* En-tête à 360 px et moins : logo + trois icônes de 44 px débordaient de 4 px (mesuré le 02/11 sur toutes les pages). */
@media (max-width: 400px) {
	.v2-entete__barre { gap: 8px; }
	.v2-entete__outils { gap: 0; }
	.v2-entete__commune, .v2-entete__icone { padding: 0 8px; }
}
.v2-prenom__savoir { max-width: 72ch; }
.v2-prenom__savoir p { margin: 0 0 14px; line-height: 1.65; }

/* ── Porte « Accueillir » (v2/gabarits/porte-accueillir.php) ── */
.v2-panneau__porte { margin: 10px 0 0; font-weight: 600; }
.v2-panneau__porte a { display: inline-flex; align-items: center; min-height: 44px; }
.v2-accueillir .v2-univers__rubriques span { color: var(--v2-miel-fonce); }
.v2-accueillir__num { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; border-radius: 50%; background: var(--v2-encre); color: var(--v2-papier); font: 600 20px/1 var(--v2-titre); flex: none; }
.v2-accueillir__trouveur { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin: 0 0 36px; padding: clamp(18px, 3vw, 32px); border-radius: var(--v2-r-carte); background: var(--v2-miel); }
.v2-accueillir__trouveur h2 { margin: 4px 0 8px; }
.v2-accueillir__trouveur p { margin: 0 0 12px; }
.v2-accueillir__cherche { display: flex; gap: 8px; margin: 0 0 14px; }
.v2-accueillir__cherche .v2-champ { flex: 1 1 auto; min-width: 0; }
.v2-accueillir__departs-t { font-weight: 600; }
.v2-accueillir__departs { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v2-accueillir__departs a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--v2-r-pastille); background: var(--v2-papier); color: var(--v2-encre) !important; text-decoration: none !important; font-size: 15px; }
.v2-accueillir__departs a:hover, .v2-accueillir__departs a:focus-visible { background: var(--v2-encre); color: var(--v2-papier) !important; }
.v2-accueillir__etape-tete { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 12px; }
.v2-accueillir__etape-tete h2 { margin: 4px 0 2px; }
.v2-accueillir__etape-tete p.v2-second { margin: 0; }
@media (max-width: 599px) {
	.v2-accueillir__trouveur { grid-template-columns: minmax(0, 1fr); }
	.v2-accueillir__trouveur > .v2-accueillir__num { display: none; }
}

/* ── Vitrine autonome (02/11) : son identité (réglages : --vit-fonce, --vit-doux, --vit-titre, --vit-texte), aucune pièce de
   l'habillage Caniguide. Les règles des modèles plus haut prennent ici leurs couleurs et polices dans les réglages. ── */
.v2-sitepro { font-family: var(--vit-texte); min-height: 100vh; }
.v2-sitepro h1, .v2-sitepro h2, .v2-sitepro h3 { font-family: var(--vit-titre); font-variation-settings: normal; }
.v2-sitepro .v2-surtitre { color: var(--vit-fonce); }
.v2-sitepro a { color: var(--vit-fonce); }
.v2-sitepro a.v2-vit__action--plein, .v2-sitepro .v2-vit__action--plein { background: var(--vit-fonce); border-color: var(--vit-fonce); color: #fff; }
.v2-sitepro--clair { background: #fbfaf7; }
.v2-sitepro--clair .v2-vit-c__tete { background: var(--vit-doux); margin: 0 calc(-1 * var(--v2-gouttiere)); padding: 28px var(--v2-gouttiere) 22px; border-radius: 0 0 var(--v2-r-carte) var(--v2-r-carte); }
.v2-sitepro--recit .v2-vit-r__tete { background: var(--vit-fonce); }
.v2-sitepro--recit .v2-vit-r__metier, .v2-sitepro--recit .v2-vit-r__lieu { color: rgba(255, 255, 255, .82); }
.v2-sitepro--recit .v2-vit-r__num { color: var(--vit-fonce); }
.v2-sitepro--recit .v2-vit-r__initiales { background: var(--vit-fonce); }
.v2-sitepro--recit { background: var(--vit-doux); }
.v2-vit__barre { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--v2-lin); }
.v2-vit__barre .v2-cadre { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.v2-vit__marque { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1.2 var(--vit-titre); min-width: 0; }
.v2-vit__marque > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-vit__monogramme { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--vit-fonce); color: #fff; font: 600 16px/1 var(--vit-titre); letter-spacing: .02em; }
.v2-vit__nav { margin-left: auto; display: flex; gap: 4px; }
.v2-vit__nav a { padding: 8px 12px; border-radius: 8px; color: var(--v2-encre) !important; text-decoration: none; font-size: 15px; }
.v2-vit__nav a:hover { background: var(--vit-doux); }
.v2-vit__pied { margin-top: 40px; padding: 32px 0 40px; background: var(--vit-fonce); color: #fff; }
.v2-vit__pied .v2-cadre { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.v2-vit__pied p { margin: 0 0 8px; }
.v2-vit__pied a { color: #fff !important; }
.v2-vit__pied-nom { font: 600 22px/1.2 var(--vit-titre); }
.v2-vit__pied .v2-vit__action { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff !important; }
.v2-vit__pied .v2-vit__action--plein { background: #fff; color: var(--vit-fonce) !important; border-color: #fff; }
.v2-vit__pied-source { font-size: 14px; opacity: .9; }
.v2-vit__mobile-actions { display: none; }
.v2-vit__perso { position: fixed; z-index: 40; right: 16px; bottom: 16px; max-width: min(420px, calc(100vw - 32px)); background: #fff; border-radius: 16px; box-shadow: 0 10px 32px rgba(0, 0, 0, .18); font-family: system-ui, sans-serif; font-size: 15px; }
.v2-vit__perso summary { cursor: pointer; padding: 12px 18px; font-weight: 600; list-style: none; }
.v2-vit__perso summary::-webkit-details-marker { display: none; }
.v2-vit__perso[open] summary { border-bottom: 1px solid var(--v2-lin); }
.v2-vit__perso form { padding: 6px 18px 16px; max-height: min(70vh, 640px); overflow: auto; }
.v2-vit__perso fieldset { border: 0; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.v2-vit__perso legend { font-weight: 600; margin-bottom: 6px; padding: 0; width: 100%; }
.v2-vit__perso label { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.v2-vit__pastille span { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--p) 50%, var(--q) 50%); border: 1px solid rgba(0, 0, 0, .15); }
.v2-vit__fournis { margin: 0; padding-left: 18px; color: var(--v2-noisette); }
.v2-vit__perso-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 8px; }
@media (max-width: 759px) {
	.v2-vit__nav { display: none; }
	.v2-vit__mobile-actions { display: flex; gap: 8px; position: sticky; bottom: 0; z-index: 30; margin: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--v2-lin); }
	.v2-vit__mobile-actions .v2-vit__action { flex: 1 1 0; justify-content: center; }
	.v2-sitepro .v2-vit-c__tete .v2-vit__actions, .v2-sitepro .v2-vit-r__contact .v2-vit__actions { display: none; }
	.v2-vit__perso { right: 12px; bottom: 80px; }
	.v2-vit__perso:not([open]) summary { padding: 8px 14px; font-size: 14px; }
}

/* Fil d'Ariane au téléphone : la page courante (son titre suit juste en dessous) tient sur une ligne, tronquée. */
@media (max-width: 599px) {
	.v2-ariane .cg-breadcrumb-list { flex-wrap: nowrap; min-width: 0; }
	.v2-ariane .cg-breadcrumb-item { flex: none; white-space: nowrap; }
	.v2-ariane .cg-breadcrumb-item:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
	.v2-ariane { min-width: 0; max-width: 100%; overflow: hidden; overflow: clip; overflow-clip-margin: 16px; } /* la coupe laisse passer l'anneau et les 44 px du lien, pas le texte trop long */
	.v2-ariane .cg-breadcrumb-wrap, .v2-ariane nav { flex: 1 1 auto; min-width: 0; max-width: 100%; }
}

/* ── Espace pro · « Mes établissements » (rendu V1 dans le cadre V2) : cartes de fiche, comme sur « Revendiquer ». ── */
.v2-espace .cg-ep-section__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 14px; }
.v2-espace .cg-ep-section__tete .cg-button { width: auto; }
.v2-espace .cg-fiche-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v2-espace .cg-fiche-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; align-items: start; background: var(--v2-creme); border-radius: 18px; padding: 16px 18px; }
.v2-espace .cg-fiche-card__logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--v2-papier); color: var(--v2-brun); }
.v2-espace .cg-fiche-card__body { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.v2-espace .cg-fiche-card__name { flex: 1 0 100%; margin: 0; font-size: 20px; }
.v2-espace .cg-fiche-card__meta { font-size: 15px; color: var(--v2-noisette); }
.v2-espace .cg-fiche-badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: var(--v2-r-pastille); background: var(--v2-sauge); color: var(--v2-sur-sauge); font-size: 14px; font-weight: 600; }
.v2-espace .cg-fiche-card__action { grid-column: 2; }
.v2-espace .cg-fiche-card__action .cg-button { display: inline-flex; width: auto; min-height: 44px; padding: 8px 18px; }

/* ── Formulaire « Éditer ma fiche » (corps V1 dans la coquille V2, template-parts/comptes/editer-fiche-corps.php). ── */
:where(.v2-coquille) .cg-edit-section { margin: 0 0 18px; padding: clamp(18px, 3vw, 28px); border-radius: var(--v2-r-carte); background: var(--v2-papier); display: grid; gap: 16px; }
/* PV-05 (14/11, mesuré au banc, comptes jetables) : au téléphone, un champ fichier (bouton et nom du fichier, sans retour à la ligne : 349 px au moins)
   élargissait sa colonne : l'édition d'une fiche, plis ouverts (11 px de débordement à 390, 41 px à 360), le logo d'un refuge (26 px à 360), la photo d'un chien
   (23 px à 360). v2 (relecture de 74) : TOUT champ fichier des pages V2, pas seulement ceux de l'édition. Le champ prend la largeur de sa colonne, à spécificité
   NULLE : tout composant qui style le sien l'emporte (ex. le champ caché des photos). Le pli d'édition ne s'élargit plus par son contenu (cette règle-là a la
   spécificité d'une classe, comme ses voisines). */
:where(.v2-coquille) details.cg-edit-section { min-width: 0; }
:where(.cg-v2 input[type="file"]) { width: 100%; min-width: 0; max-width: 100%; }
:where(.v2-coquille) .cg-edit-section__title { margin: 0; font-size: clamp(24px, 3vw, 30px); }
:where(.v2-coquille) .cg-edit-section__intro { margin: -8px 0 0; color: var(--v2-noisette); font-size: 15px; }
:where(.v2-coquille) .cg-edit-field { display: grid; gap: 6px; margin: 0; }
:where(.v2-coquille) .cg-edit-field + .cg-edit-field { margin-top: 18px; } /* chaque champ se détache de l'aide du précédent */
:where(.v2-coquille) .cg-edit-field > label, :where(.v2-coquille) .cg-edit-label { font-weight: 600; font-size: 16px; }
:where(.v2-coquille) .cg-edit-field input[type=text], :where(.v2-coquille) .cg-edit-field input[type=url], :where(.v2-coquille) .cg-edit-field input[type=email], :where(.v2-coquille) .cg-edit-field input[type=tel], :where(.v2-coquille) .cg-edit-field input[type=number], :where(.v2-coquille) .cg-edit-field select, :where(.v2-coquille) .cg-edit-field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--v2-lin); border-radius: var(--v2-r-champ); background: var(--v2-creme); color: var(--v2-encre); font: 16px/1.4 var(--v2-texte); }
:where(.v2-coquille) .cg-edit-field input[type=file] { font-size: 15px; max-width: 100%; }
:where(.v2-coquille) .cg-edit-help, :where(.v2-coquille) .cg-edit-consent__hint, :where(.v2-coquille) .cg-edit-counter { margin: 0; font-size: 14px; color: var(--v2-noisette); line-height: 1.5; }
:where(.v2-coquille) .cg-edit-vis { display: inline-flex; align-items: center; margin-right: 6px; padding: 1px 8px; border-radius: var(--v2-r-pastille); background: var(--v2-sauge); color: var(--v2-sur-sauge); font-size: 13px; font-weight: 600; }
:where(.v2-coquille) .cg-edit-vis--masque { background: var(--v2-sable); color: var(--v2-brun); }
:where(.v2-coquille) .cg-edit-checkboxes { display: flex; flex-wrap: wrap; gap: 8px; }
:where(.v2-coquille) .cg-edit-check { display: inline-flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 14px; border-radius: 12px; background: var(--v2-creme); font-size: 15px; line-height: 1.4; cursor: pointer; }
:where(.v2-coquille) .cg-edit-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--v2-encre); }
:where(.v2-coquille) .cg-edit-consent .cg-edit-check { font-weight: 600; }
:where(.v2-coquille) .cg-acc { border-radius: 18px; background: var(--v2-creme); }
:where(.v2-coquille) .cg-acc .cg-acc { background: var(--v2-papier); margin: 0 0 10px; }
:where(.v2-coquille) .cg-acc__head { cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: 17px; }
:where(.v2-coquille) .cg-acc__body { display: grid; gap: 14px; padding: 0 16px 16px; }
:where(.v2-coquille, .v2-parcours, .v2-espace) .cg-callout { margin: 0; padding: 12px 16px; border-radius: var(--v2-r-champ); background: var(--v2-creme); border-left: 4px solid var(--v2-noisette); font-size: 15px; }
:where(.v2-coquille, .v2-parcours, .v2-espace) .cg-callout-warning { background: #FBEFD9; border-left-color: var(--v2-miel-fonce); }
:where(.v2-coquille, .v2-parcours, .v2-espace) .cg-callout-info { background: var(--v2-creme); border-left-color: var(--v2-noisette); }
:where(.v2-coquille) .cg-phone-group { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; }

/* ══ MODE SOMBRE (02/11) : il suit le réglage de l'appareil. Les composants lisent les jetons, on remappe donc les jetons ;
   « encre » devient le texte clair, et un bouton plein (fond encre, texte papier) s'inverse de lui-même. Les surfaces qui
   restent SOMBRES dans les deux modes (pied, bloc encre, bulle de source : texte clair écrit en dur) prennent --v2-nuit.
   La vitrine d'un pro garde son identité claire.
   Palette (équipe Sombre, 04/11) : le carnet à la lampe, pas une appli noire. Trois marches qu'on voit (fond 1 ; feuille 1,22 ; sable 1,39 ; lin 1,65), des teintes d'univers qui restent des couleurs, le tout d'un brun chaud. Une ombre ne se voit presque pas sur du sombre : c'est la marche de ton qui détache, le liseré du haut des feuilles l'appuie.
   Les images à fond crème : baissées et fondues dans leur carte (--v2-lampe), les planches de toises baissées d'un bloc (--v2-plaque). ══ */
@media (prefers-color-scheme: dark) {
	:root {
		color-scheme: dark;
		--v2-creme: #1A1410;
		--v2-papier: #2F251C;
		--v2-encre: #F1E8DC;
		--v2-brun: #E2D4C4;
		--v2-noisette: #C8B8A6;
		--v2-abricot: #EA8A52;
		--v2-abricot-doux: #8A4A26;
		--v2-rouille: #F2A57D;
		--v2-rouille-fonce: #F8C6A8;
		--v2-peche: #432B1C;
		--v2-sauge: #2B3822;
		--v2-sur-sauge: #DCE7CE;
		--v2-sur-miel: #F0E2B8;
		--v2-sauge-fonce: #BACCA9;
		--v2-miel: #412F15;
		--v2-miel-fonce: #E4C87C;
		--v2-sable: #3A2E24;
		--v2-lin: #463A2E;
		--v2-ombre-feuille: inset 0 1px 0 rgba(255, 240, 220, .07), 0 18px 48px rgba(0, 0, 0, .6); --v2-ombre-page: inset 0 1px 0 rgba(255, 240, 220, .06), 0 14px 40px rgba(0, 0, 0, .42); --v2-ombre-flotte: inset 0 1px 0 rgba(255, 240, 220, .06), 0 8px 20px rgba(0, 0, 0, .5);
		--v2-plaque: brightness(.74) sepia(.12);
		--v2-lampe: radial-gradient(ellipse farthest-corner at 50% 50%, #000 38%, rgba(0, 0, 0, .86) 56%, rgba(0, 0, 0, .5) 76%, transparent 100%);
		--v2-nuit: #0F0B08;
	}
	/* Surfaces sombres dans les deux modes (urgence, interdit, bloc de la race, jour plein, billet) : le fond est écrit avec un jeton « foncé » devenu clair en sombre.
	   Elles gardent les jetons du clair, leurs contrastes sont ceux du clair (03/11 : essai-sombre, plage pêche de 358×881 sur /guides/, texte clair sur pêche dans une règle interdite). */
	.v2-regle--interdit, .v2-gl-rayon--urgence, .cg-v2 a.v2-gl-moment--urgence, .v2-g > .v2-g-forme--geste, .v2-g-mot--non, .v2-race .v2-quotidien.est-repondu .v2-quotidien__resultat, .v2-ag-cal td.est-plein, .v2-le__feuille-j, .v2-pc-billets a:not(.v2-pc-bientot a),
	/* Le panneau fort (audit carnet 2, construction n° 11) : un bloc brun reste un bloc brun, il ne devient pas une plaque claire qui éblouit. La règle en note de marge (.v2-marge, sans fond, carnet.css) n'en est pas : elle garde les jetons sombres (tour visiteur du 05/11, 1,1 à 1,7:1 en sombre sur les communes). */
	.v2-c-essentiel, .v2-lecture__reponse, .v2-carnet--passages .v2-passage--en-une-phrase, .v2-au-regle:not(.v2-marge), .v2-rr, .v2-mc-faire:not(.est-calme), .v2-pc-urgent, .v2-pc-autour, .v2-univers__autour, .v2-pc-quiz, .v2-pc-ch--encre, .v2-rh__plateau, .v2-al-plateau, .v2-fp-gestion, .v2-rh__bilan-c > div + div {
		--v2-sur-sauge: #2B3A24; --v2-sur-miel: #3E2F12; /* 03/11 : sans eux, un fond sauge rendu clair portait un texte encore clair (Mon compte, « Rien ne vous attend », contraste 1,0) */
		--v2-creme: #F6EFE4; --v2-papier: #FFFBF5; --v2-encre: #2B1E15; --v2-brun: #4E3A2E; --v2-noisette: #6A5040; --v2-abricot: #E3763A; --v2-abricot-doux: #F2A979; --v2-rouille: #A4441A; --v2-rouille-fonce: #7A3112;
		--v2-peche: #F8DEC7; --v2-sauge: #E2E6D3; --v2-sauge-fonce: #4A5E3F; --v2-miel: #F3E4BE; --v2-miel-fonce: #7A5A12; --v2-sable: #EDE2D1; --v2-lin: #E9DCCB;
	}
	/* Les cartes posées dans un rayon d'urgence restent des cartes du mode sombre. */
	.v2-gl-rayon--urgence .v2-gl-carte, .v2-pc-ch--encre .v2-pc-panneaux a, .v2-pc-so__e span, .v2-pc-so__d input[type="text"], .v2-pc-so__r { --v2-creme: #1A1410; --v2-papier: #2F251C; --v2-encre: #F1E8DC; --v2-brun: #E2D4C4; --v2-noisette: #C8B8A6; --v2-abricot: #EA8A52; --v2-abricot-doux: #8A4A26; --v2-rouille: #F2A57D; --v2-rouille-fonce: #F8C6A8; --v2-peche: #432B1C; --v2-sauge: #2B3822; --v2-sauge-fonce: #BACCA9; --v2-miel: #412F15; --v2-miel-fonce: #E4C87C; --v2-sable: #3A2E24; --v2-lin: #463A2E; }
	.v2-regle--interdit .v2-regle__signe { --v2-peche: #432B1C; --v2-rouille-fonce: #F8C6A8; }
	.cg-v2 a.v2-g-geste__bouton.est-plein { --v2-papier: #F1E8DC; }
	.v2-pc-billets a:not(.v2-pc-bientot a) .v2-pc-billets__d { --v2-creme: #1A1410; --v2-encre: #F1E8DC; }
	.v2-pied, .v2-bloc--encre, .v2-source-bulle { background: var(--v2-nuit); }
	/* Un voile brun ÉCLAIRAIT la page sombre derrière une fenêtre, et la fenêtre n'avait plus de bord. */
	.v2-al-comparaison::backdrop { background: rgba(0, 0, 0, .66); }
	.v2-auth__voile { background: rgba(0, 0, 0, .66); }
	.v2-al-comparaison { box-shadow: var(--v2-ombre-feuille), inset 0 0 0 1px var(--v2-lin); }
	/* Les photos posées sur fond crème : moins de plaque blanche la nuit, le texte n'est pas touché. La vitrine reste claire (décision 16). */
	main img:not(.v2-vit img, .v2-tailles img, .v2-o-duo-chiens__sol img, .v2-o-exemples__sol img, .v2-ot-c__sol img) { filter: brightness(.88); } /* pas sur les chiens détourés : leur fond est transparent */
	/* Le fond crème de nos illustrations : la lumière tombe sur le chien, le bord se fond dans la carte. Aucun chien coupé : le fondu n'est complet qu'aux coins. */
	.cg-v2 main img[src*="/cg-v2-da/"]:not(.v2-tailles img, .v2-o-duo-chiens__sol img, .v2-o-exemples__sol img, .v2-ot-c__sol img), .cg-v2 main img[src*="cg-v2-rayon-"], .cg-v2 main :is(.v2-race__photo, .v2-rc--ancienne .v2-rc__img) img { filter: brightness(.8) sepia(.06); -webkit-mask-image: var(--v2-lampe); mask-image: var(--v2-lampe); }
	.v2-race__photo--da { background: transparent; }
		.v2-o-duo-chiens__sol:has(img:not(.est-detoure)) { filter: var(--v2-plaque); }
	/* Une race sans chien détouré garde son illustration en multiply : elle reçoit sa planche. */
	.v2-o-duo-chiens__sol:has(img:not(.est-detoure)) { background: #F3E4BE; border-radius: var(--v2-r-champ) var(--v2-r-champ) 0 0; }
	/* Un bloc inversé (fond encre) devenait la plus claire des surfaces de la page. */
	.cg-v2 .v2-o-prenom { background: var(--v2-sable); color: var(--v2-encre) !important; }
	/* Un en-tête de tableau inversé devenait une bande crème au milieu de la nuit. */
	.cg-v2 .v2-carnet .v2-tableau thead th { background: var(--v2-lin); color: var(--v2-encre); }
	.cg-v2 .v2-carnet .v2-comparatif .v2-tableau thead th a { color: var(--v2-rouille); }
	/* La carte de Wallonie : les provinces couvertes restent le repère, sans être la chose la plus claire de la page. */
	.v2-pc-prov.est-promenades { fill: #93AB81; }
	.v2-pied a:hover { color: #FFFFFF; }
	a.v2-carte:hover { background: var(--v2-sable); }
	.v2-contact__avis--ok, :where(.v2-compte) .cg-callout-success, .v2-signaler__retour.est-ok { background: #18301F; color: #CDEBD6; }
	.v2-contact__avis--erreur, :where(.v2-compte) .cg-callout-danger, :where(.v2-compte) .cg-danger-card, .v2-signaler__retour.est-erreur { background: #3A1C14; color: #F6CDBF; }
	.v2-compat__erreur, .v2-prenom .prenom-message--error { background: #3A1C14; color: #F6CDBF; }
	:where(.v2-coquille, .v2-parcours, .v2-espace) .cg-callout-warning { background: #412F15; }
	:where(.v2-coquille, .v2-parcours, .v2-espace) .cg-callout-info { background: var(--v2-creme); border-left-color: var(--v2-noisette); }
	.cg-v2 .v2-vit__bandeau { color: #2B1E15; }
	.v2-pastille--ferme { background: #432B1C; color: #F8C6A8; }
	.v2-pastille--ouvert { color: #CFE3C0; }
	.v2-pied__titre, .v2-bloc--encre .v2-bloc__titre { color: #F6EFE4; }
	/* Fonds écrits en dur pour le clair : texte clair sur blanc une fois en sombre (mesuré par outils/essai-sombre.mjs). */
	.v2-signaler select, .v2-signaler textarea, .v2-signaler input[type="url"], .v2-signaler input[type="email"], .v2-outil input[type="number"], .v2-outil input[type="text"], .v2-outil select,
	:where(.v2-compte) input[type="text"], :where(.v2-compte) input[type="search"], :where(.v2-compte) input[type="tel"], :where(.v2-compte) input[type="url"], :where(.v2-compte) input[type="number"], :where(.v2-compte) input[type="email"], :where(.v2-compte) input[type="password"], :where(.v2-compte) select, :where(.v2-compte) textarea { background: var(--v2-creme); color: var(--v2-encre); }
	::placeholder { color: var(--v2-noisette); opacity: 1; }
	.v2-bouton--plein:hover { background: var(--v2-brun); }
	.cg-v2 :not(.v2-geste--plein) > .cg-button-secondary:hover { background: var(--v2-sable); }
	.v2-facettes__nb { color: #1A120C; }
	.cgoc-point > .cgoc-case:hover, .cgoc-details__bascule:hover, #cgoc-budget .cgoc-options label:has(input:checked) { background: var(--v2-sable); }
	/* Les couleurs d'état de la V1, écrites pour un fond clair : mêmes valeurs que Canimap et les avis ci-dessus. */
	body.cg-v2:not(.v2-sitepro-page) { --cg-success: #7FD39E; --cg-success-bg: #18301F; --cg-warning: #E4C87C; --cg-warning-bg: #412F15; --cg-danger: #F2A57D; --cg-danger-bg: #3A1C14; --cg-danger-ink: #F6CDBF; --cg-info: #8DB7D4; --cg-on-accent: #1A120C; --cg-border-field: #8A7A68; }
	.v2-canimap { --cg-canimap-tout: var(--v2-encre); --cg-canimap-pro: #8DB7D4; --cg-canimap-promenade: #7FD39E; --cg-canimap-club: #F2A57D; --cg-canimap-refuge: #C3A8EA; }
	.v2-canimap { --cg-info: #8DB7D4; --cg-success: #7FD39E; --cg-success-bg: #18301F; --cg-on-accent: #1A120C; --cg-border-field: #8A7A68; --cg-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); }
	/* La vitrine : son identité, claire, quel que soit l'appareil. */
	body.v2-sitepro-page { color-scheme: light; --v2-creme: #F6EFE4; --v2-papier: #FFFBF5; --v2-encre: #2B1E15; --v2-brun: #4E3A2E; --v2-noisette: #6A5040;
		--v2-sur-sauge: #2B3A24; --v2-sur-miel: #3E2F12; --v2-rouille: #A4441A; --v2-rouille-fonce: #7A3112; --v2-sauge: #E2E6D3; --v2-sauge-fonce: #4A5E3F; --v2-miel: #F3E4BE; --v2-miel-fonce: #7A5A12;
		--v2-sable: #EDE2D1; --v2-lin: #E9DCCB; --v2-peche: #F8DEC7; --v2-abricot: #E3763A; }
}

/* Porte « Accueillir », version compacte (02/11, retour de Jordan) : les étapes 2 à 4 en colonnes de liens (une ligne, le nombre à
   droite) ; au téléphone, les départs du trouveur défilent sur une ligne. */
.v2-accueillir__aussi { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid color-mix(in srgb, var(--v2-encre) 12%, transparent); display: grid; gap: 6px; font-size: 15px; }
.v2-accueillir__aussi a { font-weight: 600; }
.v2-accueillir__etapes { list-style: none; counter-reset: etape 1; margin: 0 0 36px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.v2-accueillir__etape { counter-increment: etape; background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 18px 18px 10px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; align-content: start; }
.v2-accueillir__etape::before { content: counter(etape); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--v2-encre); color: var(--v2-papier); font: 600 18px/1 var(--v2-titre); }
.v2-accueillir__etape h2 { margin: 2px 0 0; font-size: var(--v2-h2-bloc); }
.v2-accueillir__etape > .v2-second { margin: 2px 0 10px; font-size: 15px; }
.v2-accueillir__liens { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; }
.v2-accueillir__liens li + li { border-top: 1px solid var(--v2-lin); }
.v2-accueillir__liens a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 8px 2px; color: var(--v2-encre) !important; text-decoration: none !important; font-weight: 500; }
.v2-accueillir__liens a:hover span:first-child { text-decoration: underline; }
.v2-accueillir__n { flex: none; font-family: var(--v2-titre); font-size: 17px; color: var(--v2-miel-fonce); }
.v2-accueillir__n::after { content: " ›"; color: var(--v2-noisette); }
@media (max-width: 599px) {
	.v2-accueillir__trouveur { padding: 18px 16px; }
	.v2-accueillir__departs { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
	.v2-accueillir__departs li { flex: none; }
	.v2-accueillir .v2-univers__tete h1 { font-size: var(--v2-h1-porte); }
}

/* Compatibilité, résultat d'abord (02/11) : le couple replié en une ligne, le score nommé « similitude des profils » et sa portée,
   les actions juste dessous, les dimensions en lignes compactes (la plus faible en tête), détail dépliable. */
.v2-compat__changer { background: var(--v2-papier); border-radius: 18px; }
.v2-compat__changer > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; font-weight: 600; }
.v2-compat__changer > summary::-webkit-details-marker { display: none; }
.v2-compat__changer > summary a { color: var(--v2-encre); }
.v2-compat__changer-l { flex: none; font-size: 15px; color: var(--v2-rouille); text-decoration: underline; }
.v2-compat__changer[open] .v2-compat__changer-l { visibility: hidden; }
.v2-compat__changer .v2-compat__form { padding: 0 16px 16px; }
.v2-compat__score { grid-template-columns: auto minmax(0, 1fr); }
.v2-compat__pc { display: grid; justify-items: start; }
.v2-compat__pc small { font: 600 12px/1.2 var(--v2-texte); text-transform: uppercase; letter-spacing: .06em; color: var(--v2-noisette); max-width: 9em; }
.v2-compat__portee { grid-column: 1 / -1; margin: 4px 0 0 !important; padding-top: 10px; border-top: 1px solid var(--v2-lin); font-size: 15px; color: var(--v2-brun); }
.v2-compat__dims-t { margin: 6px 0 0; font-size: 20px; }
.v2-compat__dims { grid-template-columns: minmax(0, 1fr); gap: 0; background: var(--v2-papier); border-radius: 18px; padding: 4px 16px; }
.v2-compat__dim { background: none; border-radius: 0; padding: 0; }
.v2-compat__dim + .v2-compat__dim { border-top: 1px solid var(--v2-lin); }
.v2-compat__dim summary { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; cursor: pointer; list-style: none; }
.v2-compat__dim summary::-webkit-details-marker { display: none; }
.v2-compat__dim-nom { font-weight: 600; font-size: 15px; line-height: 1.25; }
.v2-compat__dim-pts { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 15px; }
.v2-compat__dim-pts::after { content: " ▾"; color: var(--v2-noisette); font-size: 12px; }
.v2-compat__dim details[open] .v2-compat__dim-pts::after { content: " ▴"; }
.v2-compat__dim .v2-compat__details { margin: 0 0 12px; }
@media (max-width: 599px) {
	.v2-compat__score { grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; }
	.v2-compat__pc strong { font-size: 44px; }
	.v2-compat__dim summary { grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) auto; gap: 10px; }
	.v2-compat__suite .v2-bouton { flex: 1 1 100%; justify-content: center; }
}

/* Texte pour lecteurs d'écran seulement, partout en V2 (la règle n'existait que sous .v2-porte). */
.cg-v2 .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Prénom, en trois temps (02/11) : la lettre, les exemples, l'assistant ; affinage replié. */
.v2-prenom__choix { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.v2-prenom__affiner { border-radius: var(--v2-r-champ); background: var(--v2-creme); padding: 0 14px; }
.v2-prenom__affiner > summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.v2-prenom__affiner[open] { padding-bottom: 14px; }
.v2-prenom__affiner .v2-prenom__axes { margin-bottom: 12px; }
.v2-prenom__affiner .v2-prenom__options span { background: var(--v2-papier); }
.v2-prenom__savoir .v2-prenom__intro p { margin: 0 0 14px; line-height: 1.65; }
@media (max-width: 599px) {
	.v2-prenom__puces { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
	.v2-prenom__puces .prenom-exemple-item { flex: none; }
	.v2-prenom__exemples h3 { font-size: 15px; margin-bottom: 6px; }
}
.v2-prenom__affichage > *, .v2-prenom__exemples > div, .v2-prenom__regle { min-width: 0; }

/* Vitrine (02/11) : « Personnaliser » dans le bandeau du prototype, replié (il ne recouvre plus les actions) ; infos pratiques
   allégées et placées après les soins. */
.v2-vit__bandeau .v2-vit__perso { position: static; max-width: none; margin: 8px 0 0; box-shadow: none; border: 1px solid #e8cf8a; background: #fffaf0; color: #2B1E15; }
.v2-vit__bandeau .v2-vit__perso:not([open]) summary { padding: 8px 14px; }
.v2-vit__bandeau .v2-vit__perso form { max-height: none; }
@media (max-width: 759px) { .v2-vit__bandeau .v2-vit__perso { right: auto; bottom: auto; } }
.v2-sitepro--clair .v2-vit-c__essentiel { margin: 14px 0 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.v2-sitepro--clair .v2-vit-c__essentiel > div { padding: 10px 14px; }
.v2-sitepro--clair .v2-vit-c__essentiel dd { font-weight: 400; font-size: 15px; line-height: 1.45; }
.v2-sitepro--clair .v2-vit-c__essentiel dt { font-weight: 600; color: var(--vit-fonce); }

/* Contrastes relevés par l'audit automatique (02/11, clair et sombre) : une feuille extérieure donnait à legend et strong un gris
   ardoise fixe (#1E293B), illisible en sombre ; le bouton plein du pied de vitrine prenait fond et texte de la même couleur ; le
   bouton abricot de Canimap portait du blanc à 3:1. */
.cg-v2 legend, .v2-contact__motif strong { color: inherit; }
.v2-sitepro .v2-vit__pied a.v2-vit__action--plein { background: #fff; border-color: #fff; color: var(--vit-fonce); }
.v2-canimap { --cg-on-accent: #1A120C; }
.v2-vit__legal { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 14px; }
.v2-vit__legal summary { cursor: pointer; font-weight: 600; }
.v2-vit__legal small { font-weight: 400; opacity: .8; }
.v2-vit__legal dl { display: grid; gap: 10px; margin: 12px 0 0; }
.v2-vit__legal dt { font-weight: 600; }
.v2-vit__legal dd { margin: 2px 0 0; opacity: .9; }

/* Avatars hors des cartes de compte (relevé le 02/11 avec un sujet et un profil d'essai) : la règle « 100 % » du compte, sans
   conteneur dimensionné, donnait un avatar pleine largeur au profil et de 150 px dans un message du forum. */
:where(.v2-coquille) .cg-membre-profil__avatar { width: 96px; height: 96px; margin: 0 0 12px; border-radius: 50%; overflow: hidden; background: var(--v2-sable); }
:where(.v2-coquille) .cg-forum__msg-vignette { display: block; flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--v2-sable); }
:where(.v2-coquille) .cg-forum__msg-tete { display: flex; align-items: center; gap: 12px; }

/* ── Composants d'un dossier de page (v2/page-composants.php) ── */
.v2-acces-officiel { display: grid; gap: 2px; margin: 0 0 18px; padding: 18px 20px; border-radius: var(--v2-r-carte); background: var(--v2-papier); border-left: 6px solid var(--v2-rouille); }
.v2-acces-officiel p { margin: 0; }
.v2-acces-officiel__sur { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--v2-rouille); }
.v2-acces-officiel__nom { font: 500 30px/1.1 var(--v2-titre); }
.v2-acces-officiel__quoi { color: var(--v2-brun); margin-bottom: 10px !important; }
.v2-demarches { margin: 0 0 28px; padding: 18px 20px; border-radius: var(--v2-r-carte); background: var(--v2-sable); }
.v2-demarches h2 { margin: 0 0 12px; font-size: var(--v2-h2-bloc); }
.v2-demarches__choix, .v2-colonnes__choix { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.v2-demarches__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v2-demarche { background: var(--v2-papier); border-radius: 18px; padding: 14px 16px; }
.v2-demarche h3 { margin: 0 0 8px; font-size: var(--v2-h3); }
.v2-demarche__faits { display: grid; gap: 8px; margin: 0; }
.v2-demarche__faits > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px; }
.v2-demarche__faits dt { font-weight: 600; color: var(--v2-noisette); font-size: 15px; }
.v2-demarche__faits dd { margin: 0; }
.v2-demarche__articles { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--v2-lin); display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--v2-brun); }
.v2-demarche__articles span { font-weight: 600; }
.v2-colonnes--une .v2-tableau table { table-layout: auto; }
@media (max-width: 599px) { .v2-demarche__faits > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
/* Tableau filtrable par colonne : il reste un VRAI tableau au téléphone (le libellé de ligne, puis la colonne choisie) ; « Toutes »
   défile horizontalement. La mise en cartes des tableaux convertis ne s'applique pas ici. */
@media (max-width: 759px) {
	[data-v2-colonnes] .v2-tableau { overflow-x: auto; }
	[data-v2-colonnes] .v2-tableau table { display: table; min-width: 100%; background: var(--v2-papier); border-radius: var(--v2-r-carte); }
	[data-v2-colonnes] .v2-tableau thead { display: table-header-group; position: static; width: auto; height: auto; overflow: visible; clip: auto; }
	[data-v2-colonnes] .v2-tableau tbody { display: table-row-group; }
	[data-v2-colonnes] .v2-tableau tr { display: table-row; margin: 0; padding: 0; }
	[data-v2-colonnes] .v2-tableau th, [data-v2-colonnes] .v2-tableau td { display: table-cell; padding: 10px 12px; border-bottom: 1px solid var(--v2-lin); font-size: 15px; overflow-wrap: break-word; }
	[data-v2-colonnes] .v2-tableau [hidden] { display: none; }
	[data-v2-colonnes] .v2-tableau tbody th { font-family: var(--v2-texte); font-size: 15px; font-weight: 600; width: 34%; }
	[data-v2-colonnes] .v2-tableau td::before { content: none; }
	[data-v2-colonnes]:not(.v2-colonnes--une) .v2-tableau table { min-width: 720px; }
	[data-v2-colonnes].v2-colonnes--une .v2-tableau table { table-layout: fixed; }   /* deux colonnes égales : un long domaine se coupe sans écraser l'autre colonne */
}
@media (max-width: 959px) { .v2-guide-propose .v2-guide__sommaire { display: none; } }

/* ── Plateforme : démonstration, Tout Caniguide, produits, offres, recettes (01/11) ── */
.v2-demo-bandeau { margin: 0; padding: 10px 16px; background: var(--v2-miel); color: var(--v2-encre); font-size: 14px; text-align: center; }
.v2-demo-bandeau strong { margin-right: 6px; }
.v2-demo-puce { font-size: 12px; font-weight: 500; padding: 1px 8px; border-radius: 999px; background: var(--v2-miel); color: var(--v2-encre); }
.v2-tout { display: grid; gap: 28px; padding-block: 24px; }
.v2-tout__univers h2 { margin: 0 0 10px; }
.v2-tout__univers h3 { margin: 18px 0 8px; font-size: 16px; }
.v2-tout__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.v2-tout__liste a { display: grid; gap: 2px; padding: 14px 16px; background: var(--v2-papier); border-radius: 18px; text-decoration: none; color: inherit; min-height: 48px; }
.v2-tout__liste a span { color: var(--v2-noisette); font-size: 14px; }
.v2-tout__puces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v2-tout__puces a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 14px; background: var(--v2-papier); border-radius: 999px; text-decoration: none; color: inherit; font-size: 15px; }
.v2-liste-neuve { display: grid; gap: 20px; padding-block: 24px; }
.v2-pub { margin: 0 0 12px; font-size: 14px; color: var(--v2-noisette); }
.v2-pub > summary { cursor: pointer; padding: 2px 0; }
.v2-pub > summary strong { margin-right: 4px; color: var(--v2-encre); font-weight: 600; }
.v2-pub > p { margin: 6px 0 0; font-size: 14px; }
.cg-v2 .v2-produit-carte__nom { margin: 0; font-size: 18px; }
.v2-produit-carte__img { width: 100%; height: auto; border-radius: 12px; }
.v2-produit-case { display: grid; gap: 8px; align-content: start; }
.v2-produit-case__comparer { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; }
.v2-selection, .v2-comparatif { margin-block: 8px; }
.v2-selection > h2, .v2-comparatif > h2 { margin: 0 0 10px; }
.v2-carac { margin: 0; display: grid; gap: 8px; }
.v2-carac > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--v2-lin); }
.v2-carac dt { font-weight: 600; }
.v2-carac dd { margin: 0; overflow-wrap: anywhere; }
.v2-offre { display: grid; gap: 6px; }
.v2-lien-offre { color: var(--v2-rouille); }
.v2-liens-fiche { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.v2-recette { display: grid; gap: 20px; padding-block: 24px; }
.v2-recette__image { margin: 0; }
.v2-recette__image img, .v2-recette-carte img { width: 100%; height: auto; border-radius: var(--v2-r-carte); display: block; }
.v2-recette__repere { margin: 0; padding: 12px 16px; background: var(--v2-miel); color: var(--v2-encre); border-radius: 18px; }
.v2-recette__repere strong { display: block; }
.v2-recette__infos { margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.v2-recette__infos > div { background: var(--v2-papier); border-radius: var(--v2-r-champ); padding: 10px 14px; }
.v2-recette__infos dt { font-size: 13px; color: var(--v2-noisette); }
.v2-recette__infos dd { margin: 0; font-weight: 600; }
.v2-recette__etapes { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.v2-recette__ingredients { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v2-recette__ingredients .v2-note { display: block; }
.v2-recette__qte { font-weight: 600; }
.v2-recette__precautions { border: 2px solid var(--v2-miel); }
.v2-recette-carte { text-decoration: none; color: inherit; }
.v2-recette-filtre { display: grid; gap: 4px; }
.v2-recette-filtre .v2-note { margin: 0; }
.v2-tout__puces small { margin-left: 4px; font-size: 12px; opacity: .7; }
.v2-tout__puces a[aria-current] { background: var(--v2-encre); color: var(--v2-papier); }
/* Recette au téléphone (une colonne, voir .v2-fiche__cols) : les ingrédients d'abord, puis les précautions, puis les étapes. */
@media (max-width: 1099px) {
	.v2-recette .v2-recette__bloc-ingredients { order: 1; }
	.v2-recette .v2-fiche__main > .v2-recette__precautions { order: 2; }
	.v2-recette .v2-fiche__main > .v2-recette__preparation { order: 3; }
}
.v2-carac dt::first-letter { text-transform: uppercase; }
.v2-produit-carte .v2-bouton--teinte { background: var(--v2-sable); color: var(--v2-brun); }
.v2-barre__lien.v2-teinte--papier.est-actif { background: var(--v2-sable); }
@media (max-width: 420px) {   /* logo et quatre icônes doivent tenir à 360 px */
	.v2-entete__barre { gap: 4px; }
	.v2-entete__marque { min-width: 0; flex: 0 1 auto; }
	.v2-entete__marque .v2-logo { zoom: .78; }
	.v2-entete__outils { gap: 0; flex: none; }
	.v2-entete__icone, .v2-entete__commune { width: 40px; min-width: 40px; padding: 0; justify-content: center; }
}

/* Filtres : le bloc défile avec la page, une barre fine prend le relais. Il ne recouvre plus jamais les cartes (retour de Jordan). */
.v2-trouveur { position: static; max-height: none; overflow: visible; }
@media (min-width: 760px) { .v2-trouveur:not(:has(fieldset, details)) { position: sticky; top: 72px; } html:has(.v2-trouveur:not(:has(fieldset, details))) { --v2-rangee: 64px; } }
.v2-trouveur__voir { margin-left: auto; }
@media (min-width: 760px) { .v2-trouveur__voir { display: none; } }
.v2-filtres-rappel { position: fixed; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 16px; background: var(--v2-papier); border-bottom: 1px solid var(--v2-lin); box-shadow: var(--v2-ombre-flotte); font-size: 14px; }
.v2-filtres-rappel[hidden] { display: none; }
.v2-filtres-rappel__etat { margin: 0; min-width: 0; font-weight: 600; }
.v2-filtres-rappel__etat span { font-weight: 400; color: var(--v2-noisette); }
.v2-filtres-rappel .v2-bouton { flex: none; min-height: 44px; padding: 2px 14px; font-size: 14px; }
/* Cinq univers et les outils sur une ligne : rien ne passe à la ligne dans l'en-tête. */
.v2-entete__univ, .v2-entete__pro { white-space: nowrap; }
@media (max-width: 1499px) { .v2-entete__commune span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .v2-entete__barre { gap: 10px; } .v2-entete__univ { padding: 0 10px; } }
@media (min-width: 1100px) and (max-width: 1299px) { .v2-entete__marque .v2-logo { zoom: .82; } .v2-entete__univ { padding: 0 8px; font-size: 15px; } .v2-entete__univ .v2-point { display: none; } }
/* Retours n° 1 et 7 de Jordan (13/11, « mieux aérer le menu ») : la barre plafonnait à 1440 px, si bien qu'à 1600-1920 px la forme large (dès 1500 px) y était serrée : « Arl… », « Se connecter » sur deux lignes, et à un pixel près la forme compacte. La barre va jusqu'à 1680 px (plus haut). Les outils ne passent plus à la ligne et ne se laissent plus écraser : s'il manque vraiment de place, la barre déborde, et v2.js pose alors la forme serrée (R2-034) au lieu d'un libellé coupé. Au-delà de 1700 px, de l'air entre les blocs. */
.v2-entete__outils > * { flex-shrink: 0; white-space: nowrap; }
@media (min-width: 1700px) { .v2-entete__barre { gap: 28px; } .v2-entete__univers ul { gap: 6px; } .v2-entete__outils { gap: 10px; } }
/* Réglage 3 (Jordan, 13/11 : les points de couleur du menu restent visibles de 1100 à 1440 px). Avant : cachés de 1100 à 1299 px, et la forme serrée
   (v2.js, R2-034) les retirait aussi de 1300 à 1399 px dès qu'un nom de commune long faisait déborder la barre d'un visiteur (copie, 14/11 : 12 à 75 px).
   On resserre les écarts et le blanc autour des mots, le point passe à 8 px ; le logo à .82 et les mots à 15 px tiennent jusqu'à 1379 px (au lieu de 1299 :
   la marche de 1300 px faisait déborder de 39 px) ; de 1100 à 1199 px, logo à .76 et mots à 14,5 px. Le libellé de la commune (« Ma commune » ou son nom)
   paraît à 1248 px au lieu de 1200 : avec les points, il débordait de 2 à 24 px de 1200 à 1228 px. Jeu entre le menu et les outils, mesuré tous les 4 px
   de 1100 à 1440, visiteur (le plus serré) avec et sans commune longue : voir reglages-1311/LISEZMOI.md. Au-delà de 1440 px, rien ne change. La forme serrée
   reste le repli d'un en-tête qui ne tient vraiment plus (texte agrandi). v1 (16d1be6b) : paliers 1100-1299 / 1300-1440, débordements à 1200 et 1300. */
@media (min-width: 1100px) and (max-width: 1379px) {
	.v2-entete__marque .v2-logo { zoom: .82; }
	.v2-entete__univ { gap: 5px; padding: 0 6px; font-size: 15px; }
	.v2-entete__univ .v2-point { display: inline-block; width: 8px; height: 8px; }
	.v2-entete__univers ul { gap: 2px; }
	.v2-entete__barre { gap: 8px; }
	.v2-entete__outils { gap: 2px; }
	.v2-entete__commune, .v2-entete__icone, .v2-entete__pro { padding: 0 10px; }
}
@media (min-width: 1100px) and (max-width: 1199px) {
	.v2-entete__marque .v2-logo { zoom: .76; }
	.v2-entete__univ { font-size: 14.5px; }
}
@media (min-width: 1200px) and (max-width: 1247px) { .v2-entete__outils .v2-entete__commune span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); max-width: none; } }
@media (min-width: 1380px) and (max-width: 1440px) {
	.v2-entete__univ { gap: 7px; padding: 0 7px; }
	.v2-entete__univers ul { gap: 2px; }
	.v2-entete__barre { gap: 8px; }
	.v2-entete__outils { gap: 4px; }
	.v2-entete__commune, .v2-entete__icone, .v2-entete__pro { padding: 0 10px; }
}
/* R2-034 (WCAG 1.4.12) : l'en-tête qui ne tient plus sur sa ligne (texte espacé, police agrandie) prend la forme compacte de 1100-1299 px, au lieu de déborder de la page ou de couper « Ma commune ». La classe vient de v2.js (« L'en-tête serré ») ; tant que l'en-tête tient, rien ne change. « Ma commune » se lit alors au lecteur d'écran, comme sous 1500 px. */
@media (min-width: 1100px) { html.v2-entete-serre .v2-entete__marque .v2-logo { zoom: .82; } html.v2-entete-serre .v2-entete__barre { gap: 10px; } html.v2-entete-serre .v2-entete__univ { padding: 0 8px; font-size: 15px; } html.v2-entete-serre .v2-entete__univ .v2-point { display: none; } html.v2-entete-serre .v2-entete__outils .v2-entete__commune span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; max-width: none; } }
/* PV-26 (14/11, ab) : SANS script, la classe v2-entete-serre ne vient jamais ; l'en-tête qui ne tient pas passe à la ligne au lieu de déborder de la page
   (mesuré au banc : 8 largeurs sur 284 débordaient de 4 à 37 px, polices bloquées, toutes de 1100 à 1530 ; 0 avec cette règle). Avec script, (scripting: none)
   est faux : rien ne change. v2 (ROUGE de 74) : bornée à 1000 px et plus ; au téléphone, rien ne débordait et la règle ajoutait une 2e ligne (12 mesures). */
@media (scripting: none) and (min-width: 1000px) { .v2-entete__barre { flex-wrap: wrap; row-gap: 4px; } }
.v2-puces-liens a { background: var(--v2-creme); }
.v2-rayon-image { margin: 0; }
.v2-rayon-image img { width: 100%; max-height: 320px; object-fit: cover; object-position: var(--v2-focale, 50% 50%); height: auto; border-radius: var(--v2-r-carte); display: block; }   /* Q64 : le point focal de l'image (_cg_image_cadrage, posé sur la figure par cg_v2_image_focale_style), le centre sinon */
.v2-rayon-vignette { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: var(--v2-focale, 50% 50%); border-radius: 12px; margin-bottom: 6px; display: block; }
.v2-tout__bientot { display: grid; gap: 2px; padding: 14px 16px; border: 1px dashed var(--v2-lin); border-radius: 18px; }
.v2-tout__bientot span { color: var(--v2-noisette); font-size: 14px; }
.v2-sources-produit { overflow-wrap: anywhere; font-size: 15px; }
/* Un tableau large ne doit jamais élargir sa colonne de page : il défile dans son cadre. */
.v2-guide__corps > *, .v2-liste-neuve > *, .v2-comparatif { min-width: 0; max-width: 100%; }
.v2-offre-pub { display: inline-block; margin-left: 6px; font-size: 12px; color: var(--v2-noisette); }
@media (max-width: 759px) {
	/* Comparatif de produits : le critère reste à gauche, les produits défilent à côté. */
	.v2-comparatif .v2-tableau { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.v2-comparatif:not(.v2-colonnes--une) .v2-tableau table { table-layout: fixed; min-width: 0; width: calc(128px + var(--v2-n, 3) * 158px); }
	.v2-comparatif:not(.v2-colonnes--une) .v2-tableau th:first-child { width: 128px; font-size: 14px; overflow-wrap: normal; hyphens: none; position: sticky; left: 0; z-index: 1; background: var(--v2-papier); box-shadow: 1px 0 0 var(--v2-lin); }
	.v2-comparatif:not(.v2-colonnes--une) .v2-tableau thead th:first-child { background: var(--v2-sable); }
	.v2-comparatif .v2-tableau td, .v2-comparatif .v2-tableau thead th { overflow-wrap: break-word; }
}
@media (max-width: 759px) { .v2-comparatif .v2-tableau table { overflow: visible; border-radius: 0; } .v2-comparatif .v2-tableau { border-radius: var(--v2-r-carte); background: var(--v2-papier); } }
.v2-trouveur__plus > .v2-trouveur__q-groupe { margin-top: 12px; }
.v2-trouveur__marque-case { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-size: 15px; }
.v2-fermeture { border: 2px solid var(--v2-rouille); background: var(--v2-papier); border-radius: 18px; padding: 14px 16px; margin: 0 0 16px; }
.v2-fermeture p { margin: 0 0 6px; }
.v2-fermeture__titre strong { color: var(--v2-rouille-fonce); }
.v2-prestations a.est-actif { background: var(--v2-encre); color: var(--v2-papier); }
.v2-prestations small { color: var(--v2-noisette); }
.v2-prestations a.est-actif small { color: inherit; }
.v2-metiers-plus > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--v2-noisette); }
.v2-metiers-plus > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.v2-metiers-plus[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.v2-metiers-plus > nav { margin-top: 6px; }

/* Rejoindre, proposer, corriger (v2/portes.php) */
.v2-rejoindre, .v2-proposer { display: grid; gap: 20px; }
.v2-rejoindre__recherche { display: grid; gap: 10px; }
.v2-rejoindre__recherche label { font-weight: 600; }
.v2-rejoindre__recherche input { min-height: 52px; padding: 0 18px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-lin); font: 400 17px var(--v2-texte); color: var(--v2-brun); width: 100%; }
.v2-rejoindre__suite { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.v2-rejoindre__suite a { display: inline-flex; align-items: center; min-height: 44px; color: var(--v2-rouille); font-weight: 600; }
/* Le pli commun : ce qui se déplie le montre. Sert partout où un détail se replie au téléphone. */
.v2-pli > summary, .v2-rejoindre__pli > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; list-style: none; }
.v2-pli > summary::-webkit-details-marker, .v2-rejoindre__pli > summary::-webkit-details-marker { display: none; }
.v2-pli > summary::after, .v2-rejoindre__pli > summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.v2-pli[open] > summary::after, .v2-rejoindre__pli[open] > summary::after { transform: rotate(-135deg); }
/* Lire au téléphone (v2/lecture.php) : v2-lecture, sections repliées sous leur titre, dépliées au bureau. */
@media (max-width: 959px) {
	.v2-lecture__pli { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 4px 18px; margin: 0 0 10px; }
	.v2-lecture__pli > summary { min-height: 60px; }
	.v2-contenu-v1 .v2-lecture__pli > summary h2, .v2-passage .v2-lecture__pli > summary h2 { margin: 8px 0; font-size: 21px; line-height: 1.25; min-width: 0; }
	.v2-lecture__corps { padding: 4px 0 8px; }
	.v2-lecture__reponse { background: var(--v2-miel); border-radius: var(--v2-r-carte); padding: 14px 18px; margin: 0 0 16px; font-size: 16px; line-height: 1.55; }
	.v2-lecture__reponse h2 { margin: 0 0 6px; font-size: 21px; }
	.v2-lecture__reponse > :last-child { margin-bottom: 0; }
	.v2-lecture__reponse hr { display: none; }
	.v2-race__pli { margin: 0; padding: 4px 16px; }
	.v2-guide-publie .v2-race__pli, .v2-guide .v2-race__pli { margin: 0 0 12px; }
	.v2-guide-publie__tete .v2-guide-publie__signature { margin-bottom: 12px; }
	.v2-race__pli > summary { min-height: 44px; }
	.v2-race__pli[open] > summary { margin-bottom: 10px; }
	.v2-race__corps { gap: 24px; }
	.v2-race__convient { font-size: 16px; line-height: 1.42; }
	.v2-race__convient .v2-pour-contre { margin: 0; gap: 10px; }
	.v2-race__convient .v2-pour-contre section { padding: 8px 16px; }
	.v2-race__convient li { margin: 0 0 3px; }
	.v2-race__tuiles { margin-top: 16px; gap: 8px; }
	.v2-race__tete { padding-bottom: 12px; }
	.v2-race__corps { padding-top: 16px; }
	.v2-race__tuiles .v2-fait { padding: 8px 12px; gap: 0; align-content: start; }
	.v2-race__tuiles .v2-fait strong { font-size: 19px; }
	.v2-race__tuiles .v2-note { font-size: 13px; }
	.v2-quotidien { padding: 16px; gap: 12px; }
	.v2-quotidien fieldset { margin-top: 10px; gap: 6px; }
	.v2-quotidien legend { margin-bottom: 6px; line-height: 1.3; }
	.v2-quotidien label { padding: 4px 12px; font-size: 15px; }
	.v2-traits { gap: 10px; }
	.v2-traits__groupe { padding: 14px 18px; }
	details.v2-traits__groupe { padding: 4px 18px; }
	details.v2-traits__groupe h3 { margin: 0; }
}
@media (min-width: 960px) {
	.v2-lecture__pli[open] > summary, details.v2-traits__groupe[open] > summary { pointer-events: none; }
	.v2-lecture__pli[open] > summary::after, details.v2-traits__groupe[open] > summary::after { display: none; }
	[data-v2-lecture-pli]:not([open])::details-content { display: block; content-visibility: visible; }
	.v2-lecture__reponse { max-width: 820px; margin: 0 0 24px; }
	.v2-contenu-v1 > .v2-lecture__pli:first-child h2 { margin-top: 0; }
}
@media print { [data-v2-lecture-pli]::details-content { display: block; content-visibility: visible; } }
.v2-rejoindre__pli[open] > summary { margin-bottom: 8px; }
.v2-rejoindre__pli > :not(summary) { margin-top: 10px; }
/* Pli « téléphone » : replié sous 600 px, ouvert au-delà (v2.js), où son résumé redevient un titre. --fondu : au-delà, ses enfants rejoignent la grille du parent, sans boîte. --sans-titre : au-delà, le résumé disparaît. @supports : montré sans attendre le script, donc sans saut de page. */
@media (min-width: 600px) {
	.v2-pli--telephone[open] > summary { display: block; min-height: 0; cursor: default; pointer-events: none; }
	.v2-pli--telephone[open] > summary::after { display: none; }
	.v2-pli--sans-titre[open] > summary { display: none; }
	/* Séparé : un sélecteur inconnu dans une liste fait tomber TOUTE la règle (Safari avant 18.4 ne connaît pas ::details-content). */
	.v2-pli--fondu[open], .v2-pli--fondu[open] > .v2-boutons, .v2-pied__service ul { display: contents; }
	@supports selector(::details-content) {
		.v2-pli--fondu[open]::details-content { display: contents; }
		.v2-pli--telephone::details-content { content-visibility: visible; }
		.v2-pli--telephone > summary { display: block; min-height: 0; cursor: default; pointer-events: none; }
		.v2-pli--telephone > summary::after { display: none; }
		.v2-pli--sans-titre > summary { display: none; }
		.v2-pli--fondu, .v2-pli--fondu::details-content, .v2-pli--fondu > .v2-boutons { display: contents; }
	}
	.v2-accueil > .v2-moment { order: -1; }
	.v2-accueil__confiance > summary { margin-bottom: 24px; }
}
@media (max-width: 599px) {
	.v2-pli > summary > h2 { margin: 0; }
	.v2-grille > .v2-pli > :not(summary) { display: grid; margin-top: 16px; }
	.v2-boutons > .v2-pli { flex: 1 1 100%; }
	.v2-boutons > .v2-pli > .v2-boutons { margin-top: 8px; }
	/* Accueil : les intentions et la commune avant le reste. */
	.v2-accueil { gap: 40px; }
	.v2-chiffre { padding: 12px; }
	.v2-chiffre strong { font-size: 28px; }
	/* Pied : moins d'un écran, chaque colonne en pli. */
	.v2-pied { margin-top: 56px; padding-top: 24px; padding-bottom: 12px; }
	.v2-pied__dedans { gap: 0; }
	.v2-pied__marque { gap: 4px; margin-bottom: 4px; font-size: 15px; line-height: 1.45; }
	.v2-pied__marque a, .v2-pied__colonne a, .v2-pied__service a, .v2-pied__choix, .v2-pied__autres a { display: inline-flex; align-items: center; min-height: 44px; }
	.v2-pied__titre { margin: 0; }
	.v2-pied__colonne, .v2-pied__pro { display: block; box-shadow: 0 -1px 0 rgba(239, 229, 214, .15); }
	.v2-pied__colonne ul { gap: 0; padding-bottom: 8px; }
	.v2-pied__pro .v2-pli > :not(summary) { margin-bottom: 10px; }
	.v2-pied__service { display: block; margin-top: 0; padding-top: 0; font-size: 15px; }
	.v2-pied__service ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
}
@media (max-width: 380px) { .v2-pied__service { font-size: 14px; } .v2-pied__service ul { gap: 0 12px; } }
.v2-pied__service ul { list-style: none; margin: 0; padding: 0; }
.v2-rejoindre__metiers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.v2-rejoindre__metiers li { background: var(--v2-creme); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.v2-rejoindre__regles { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }
.v2-proposer .v2-formulaire { max-width: 720px; }
.v2-proposer select.v2-champ { appearance: auto; }
.v2-champ--court { min-height: 110px; line-height: 1.5; padding: 12px 16px; resize: vertical; }
.v2-contribs .v2-ep-fiche > div:first-child { min-width: 0; flex: 1 1 280px; }
.v2-contribs__retirer summary { cursor: pointer; font-size: 14px; color: var(--v2-noisette); text-decoration: underline; }
.v2-contribs__retirer form { margin-top: 8px; display: grid; gap: 8px; max-width: 340px; }
.v2-metiers__groupe { font-weight: 600; margin: 14px 0 6px; font-size: 15px; }
.v2-metiers__libre { margin-top: 16px; }
.v2-relations { margin-top: 4px; }
.v2-exercice { margin-top: 8px; }
.v2-geo__tete h1, .v2-espace__tete h1, .v2-porte__tete h1 { overflow-wrap: anywhere; }
.v2-ep-gestes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; flex-basis: 100%; }
.v2-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.v2-suggestions .v2-champ-aide { flex-basis: 100%; }
.v2-suggestion { background: var(--v2-creme); border: 0; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; min-height: 44px; color: inherit; }
.v2-suggestion[aria-pressed="true"] { background: var(--v2-sauge); }
.v2-espace .cg-fiche-card > .v2-ep-gestes { grid-column: 1 / -1; margin-top: 0; min-width: 0; }
.v2-espace .cg-fiche-card > .cg-fiche-card__action { grid-column: 1 / -1; justify-self: start; }
.v2-ep-gestes .v2-bouton { max-width: 100%; white-space: normal; text-align: center; }
.v2-proposer fieldset.v2-champ-bloc { border: 0; padding: 0; min-width: 0; }
.v2-proposer fieldset.v2-champ-bloc legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 6px; }
.v2-signaler__case input { flex: none; }
.cg-hours-shortcut, .cg-hours-state { min-height: 44px; }
.v2-trouveur__lettres .v2-trouveur__pastilles { gap: 4px; }
.v2-trouveur__lettres input:disabled + span { opacity: .35; cursor: default; }
.v2-trouveur__lettres label span { min-width: 36px; text-align: center; justify-content: center; }
.v2-trouveur__lettres { min-width: 0; }
.v2-trouveur__lettres .v2-trouveur__pastilles { flex-wrap: wrap; overflow: visible; }

/* Note sur les cartes (cg_carte_note_html) : rien sans avis */
.cg-card-note { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--v2-noisette); }
.cg-card-note__etoile { color: var(--v2-abricot); }
.cg-card-note__val { font-weight: 600; color: var(--v2-encre); }
/* Note moyenne en tête de fiche (cg_v2_note_tete) : rien sans avis. Les étoiles reprennent la feuille V1 (cg-reviews.css, retirée en V2) : sans ses règles, 4,5 se dessinait en six étoiles. */
.v2-fiche__note .cg-reviews__aggregate { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-height: 44px; color: var(--v2-encre); text-decoration: none; }
.v2-fiche__note .cg-reviews__score { font-weight: 600; font-variant-numeric: tabular-nums; }
.v2-fiche__note .cg-reviews__count { color: var(--v2-noisette); }
.v2-geo__tete .v2-fiche__note { margin-top: 6px; }
.cg-v2 .cg-stars { display: inline-flex; gap: 1px; line-height: 1; }
.cg-v2 .cg-star { position: relative; display: inline-flex; color: var(--v2-noisette); }
.cg-v2 .cg-star.is-full, .cg-v2 .cg-star__moitie { color: var(--v2-abricot); }
.cg-v2 .cg-star__moitie { position: absolute; left: 0; top: 0; width: 50%; height: 100%; overflow: hidden; }
.cg-v2 .cg-star__moitie > .cg-star__dessin { max-width: none; }
.v2-lieux__a-confirmer, .v2-lieux__bascule { margin-block: 8px; font-size: 15px; }
.v2-lieux__communes { margin-top: 24px; }
.v2-races__banniere { margin-block: 8px 16px; max-width: 72ch; }
.v2-races__apropos { margin-block-start: -4px; }
.v2-races__editorial { margin-top: 32px; }
.v2-annuaire > * { min-width: 0; }
.v2-lieux__communes .cg-maillage__titre { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 22px; margin: 0 0 10px; }
.v2-lieux__communes .cg-maillage__corps, .v2-lieux__bascule .cg-maillage__corps { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; overflow: visible; }
.v2-lieux__communes .cg-chip, .v2-lieux__bascule .cg-chip, .v2-lieux__bascule a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 4px 14px; border-radius: 999px; background: var(--v2-creme); color: var(--v2-encre) !important; font-size: 15px; text-decoration: none; }
.v2-lieux__bascule [aria-current] { background: var(--v2-encre); color: var(--v2-papier) !important; }
.v2-lieux__bascule > * { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }

/* Mon compte : une hiérarchie lisible. Les règles :where() d'origine n'ont aucune spécificité, le titre de base les écrasait. */
.v2-compte .cg-panel__titre { font-size: 24px; line-height: 1.2; }
.v2-compte__carnet > h2, .v2-compte__contribuer > h2 { font-size: var(--v2-h2-bloc); margin: 0 0 12px; }
.v2-compte__contribuer { margin: 0 0 28px; }
.v2-compte__sommaire { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.v2-compte__sommaire a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 14px; border-radius: 999px; background: var(--v2-papier); color: var(--v2-encre) !important; font-size: 15px; text-decoration: none; }
@media (min-width: 760px) { .v2-compte__contribuer .v2-compte__carnet-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .v2-compte .cg-compte-grille > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.v2-compte #cg-compte-securite ~ * { max-width: 560px; }
.v2-appel-proposer { margin-top: 24px; }
.v2-geo__proposer { margin-block: 16px; }

/* Accessibilité : axe-core sur 40 pages (outils/audit-axe.mjs) */
.cgoc-outil .cg-button { background: var(--v2-encre); color: var(--v2-papier); }
.v2-v1 .cg-chip { min-height: 44px; display: inline-flex; align-items: center; }
.v2-prenom__puces:focus-visible { outline: 3px solid var(--v2-focus); outline-offset: 2px; }

/* ── Grille d'horaires (assets/js/cg-hours-grid.js) : fiche complète et préparation d'une fiche. Ses règles V1 sont dans cg-comptes.css, que la V2 ne charge pas : sans elles, l'état actif ne se voyait pas. ── */
.cg-hours-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.cg-hours-shortcut, .cg-hours-add { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; font: inherit; font-weight: 600; color: var(--v2-encre); background: transparent; border: 1px solid var(--v2-noisette); border-radius: var(--v2-r-pastille); cursor: pointer; }
.cg-hours-add { border-style: dashed; }
.cg-hours-shortcut:hover, .cg-hours-add:hover { border-color: var(--v2-rouille); color: var(--v2-rouille); }
.cg-hours-day { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px 0; border-top: 1px solid var(--v2-lin); }
.cg-hours-day:first-of-type { border-top: 0; }
.cg-hours-day__name { flex: 0 0 92px; font-weight: 700; color: var(--v2-encre); }
.cg-hours-states { display: inline-flex; border: 1px solid var(--v2-noisette); border-radius: var(--v2-r-champ); overflow: hidden; }
.cg-hours-state { min-height: 44px; padding: 0 14px; font: inherit; font-weight: 600; color: var(--v2-encre); background: transparent; border: 0; border-left: 1px solid var(--v2-noisette); cursor: pointer; }
.cg-hours-state:first-child { border-left: 0; }
.cg-hours-state:hover { background: var(--v2-sable); }
.cg-hours-state.is-active, .cg-hours-state.is-active:hover { color: var(--v2-papier); background: var(--v2-encre); }
.cg-hours-periods { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex-basis: 100%; }
.cg-hours-period { display: inline-flex; align-items: center; gap: 8px; }
.cg-hours-time.cg-hours-time { width: auto; min-height: 44px; padding: 0 10px; }
.cg-hours-sep { color: var(--v2-noisette); }
.cg-hours-remove { width: 44px; height: 44px; font-size: 18px; line-height: 1; color: var(--v2-noisette); background: transparent; border: 1px solid var(--v2-noisette); border-radius: var(--v2-r-champ); cursor: pointer; }
.cg-hours-remove:hover { color: var(--v2-rouille); border-color: var(--v2-rouille); }
.cg-hours-fallback__label { font-weight: 600; }

/* ── « Et ensuite ? » : le besoin suivant, en bas de fiche (v2/chemins.php). ── */
.v2-chemins__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.v2-chemins__lien { display: flex; flex-direction: column; gap: 4px; height: 100%; min-height: 44px; padding: 14px 16px; border-radius: var(--v2-r-champ); background: var(--v2-sable); color: var(--v2-encre); text-decoration: none; }
.v2-chemins__lien:hover, .v2-chemins__lien:focus-visible { background: var(--v2-lin); }
.v2-chemins__lien strong { color: var(--v2-rouille); font-weight: 600; }
.v2-chemins__lien span { font-size: 14px; color: var(--v2-noisette); }

/* ── Revue des comptes (02/11) : retour lisible, Espace pro sur téléphone, confirmation de « Garder », ancres sous l'en-tête. ── */
.v2-retour { margin: 0 0 10px; font-size: 15px; }
.v2-retour a { display: inline-flex; align-items: center; min-height: 44px; color: var(--v2-rouille); font-weight: 600; text-decoration: none; }
.v2-retour a:hover { text-decoration: underline; }
.v2-compte__pro { margin: 0 0 14px; }
.v2-compte__sous-titre { margin-top: 24px; }
.cg-review-form__echelle { margin: 0 0 10px; font-size: 14px; color: var(--v2-noisette); }
.cg-review-form__echelle:empty { display: none; }
.v2-toast { position: fixed; left: 50%; bottom: calc(var(--v2-barre-h) + var(--v2-plateau-h, 0px) + 16px); transform: translateX(-50%); z-index: 90; width: max-content; max-width: calc(100vw - 32px); margin: 0; padding: 10px 18px; border-radius: var(--v2-r-pastille); background: var(--v2-encre); color: var(--v2-papier); box-shadow: var(--v2-ombre-feuille); }
.v2-toast[hidden] { display: none; }
.v2-toast { box-shadow: 0 0 0 1px color-mix(in srgb, var(--v2-papier) 28%, transparent), 0 8px 24px rgb(0 0 0 / .22); } /* posé sur le pied, encre sur encre : le texte semblait écrit dans le pied (04/11) */
.v2-toast a { color: inherit; text-decoration: underline; margin-left: 6px; }
@media (max-width: 1099px) {
	.v2-entete__pro.v2-entete__pro--compte { display: inline-flex; padding-inline: 12px; font-size: 14px; white-space: nowrap; }
}
@media (max-width: 460px) {
	.v2-entete__pro.v2-entete__pro--compte { font-size: 0; padding-inline: 10px; min-width: 44px; }
	.v2-entete__pro--compte::before { content: attr(data-court); font-size: 14px; }
}
@media (max-width: 379px) {
	.v2-entete__outils:has(.v2-entete__pro--compte) .v2-entete__commune { display: none; }
}
/* Réglage 1b (14/11, défaut DÉJÀ EN PROD à d7cd589a, relevé par dd, mesuré sur la copie avec un VRAI pro jetable) : de 421 à 511 px, l'en-tête d'un pro
   connecté sortait de l'écran (43 px à 421, 4 px à 508 ; l'icône du menu coupée), avec ou sans commune. Sous 421 px, logo réduit et outils serrés le tenaient ;
   à 421 px le logo reprenait toute sa taille avec cinq boutons au lieu de quatre. Avec le bouton « Pro », de 421 à 559 px : logo à .78, outils sans écart,
   « Pro » en court (comme sous 461 px). Sans bouton « Pro » (visiteur, membre), rien ne change. */
@media (min-width: 421px) and (max-width: 559px) {
	.v2-entete__barre:has(.v2-entete__pro--compte) .v2-entete__marque .v2-logo { zoom: .78; }
	.v2-entete__barre:has(.v2-entete__pro--compte) .v2-entete__outils { gap: 0; }
	.v2-entete__pro.v2-entete__pro--compte { font-size: 0; padding-inline: 10px; min-width: 44px; }
	.v2-entete__pro--compte::before { content: attr(data-court); font-size: 14px; }
}

/* ── « Du nouveau » dans Mon compte (v2/nouveautes.php) ── */
.v2-nouveautes { margin-bottom: 14px; }
.v2-nouveautes__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v2-nouveautes__liste li { padding-left: 14px; border-left: 3px solid var(--v2-lin); }
.v2-nouveautes__liste li.est-neuf { border-left-color: var(--v2-abricot); }
.v2-nouveautes__liste a { color: var(--v2-encre); }
a.v2-entete__icone { position: relative; }
@media (min-width: 760px) { :where(.v2-coquille) .cg-form-editer > .cg-edit-actions { position: sticky; bottom: 12px; z-index: 3; padding: 10px 12px; border-radius: var(--v2-r-carte); background: var(--v2-papier); box-shadow: var(--v2-ombre-feuille); } } /* Éditer ma fiche, au bureau : dix écrans ouverts, Enregistrer reste à portée */
.cg-v2 .cg-button:not(.cg-button-secondary, .cg-button-danger):hover { background: var(--v2-brun); color: var(--v2-papier) !important; } /* le survol de la V1 était orange vif, resté collé après un toucher (Enregistrer d'Éditer ma fiche) */
.cg-v2 .cg-button-secondary:hover { background: var(--v2-abricot-doux); color: var(--v2-encre) !important; }
a.v2-entete__icone.est-connecte { background: var(--v2-peche); color: var(--v2-sur-peche, var(--v2-encre)); }
html:not(.v2-connecte) body:not(.logged-in) [data-v2-seul-connecte] { display: none !important; }
.v2-commune__compte { margin: 10px 0 0; font-size: 15px; }
.v2-commune__compte a { display: inline-flex; align-items: center; min-height: 44px; }
.v2-entete__pastille { position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--v2-abricot); box-shadow: 0 0 0 2px var(--v2-creme); }
@media (min-width: 1100px) { .v2-entete__compte .v2-entete__pastille { right: auto; left: 30px; } } /* R2-301 : avec le mot « Mon carnet », la pastille reste sur la silhouette, pas sur le « t » (mesuré par 6e, 12/11) */
.v2-recherche-page__racc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.v2-liste-commune { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0 0; }
.v2-liste-commune__ou { margin: 0; }
.v2-liste-commune__ailleurs { flex: 1 0 100%; }
.v2-liste-commune + .v2-lieux__chercher { margin-top: 12px; }
.v2-liste-attente #v2-contenu .v2-annuaire__tete ~ * { visibility: hidden; }
.v2-liste-attente #v2-contenu .v2-annuaire__tete form { display: none; }
/* L'agenda a sa propre tête : sa liste attend aussi la barre, sinon elle paraît puis saute (essai-commune-partout, partie K : 568→659). */
.v2-liste-attente #v2-contenu .v2-ag__outils ~ * { visibility: hidden; }
.v2-liste-attente #v2-contenu .v2-annuaire__tete::after { content: ""; display: block; grid-column: 1 / -1; height: 132px; margin: 16px 0 148px; border-radius: var(--v2-r-carte); background: var(--v2-papier); box-shadow: 0 148px 0 var(--v2-papier); }
.v2-ma-commune { margin: 16px 0 0; }
.v2-compte .v2-ma-commune { margin: 16px 0 24px; }
.v2-compte .v2-ma-commune select { background: var(--v2-papier); }
.v2-ma-commune__ligne { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.v2-ma-commune__ligne select { flex: 1 1 200px; min-width: 0; }
.v2-lieu-carte { display: flex; flex-direction: column; } /* le geste au bas de la carte, à la même hauteur que sa voisine */
.v2-lieu-carte > * { margin-block: 0; }
.cg-v2 .v2-lieu-carte > .v2-lieu-carte__appel { margin: auto 0 0; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.v2-lieu-carte__appel .v2-geste--lien { margin-left: auto; } /* Appeler à gauche, Son site à droite : chacun à sa place, l'autre présent ou non */
.v2-lieu-carte__appel .v2-geste > a { min-height: 44px; padding: 8px 18px; }
.v2-lieux__proches { margin: 0 0 12px; }
.v2-lieux__proches a { display: inline-flex; align-items: center; min-height: 44px; color: var(--v2-rouille); font-weight: 600; }

/* Chantier « comprendre » (02/11) : usages au téléphone. */
.v2-resultat.est-suite { display: none; }
.v2-resultats__suite { display: flex; margin: 16px auto 0; }
.v2-resultats__suite[hidden] { display: none; }
.v2-al-plateau .v2-bouton--plein { background: var(--v2-papier); color: var(--v2-encre) !important; }
.v2-trouveur__plus > summary { gap: 8px; }
.v2-trouveur__plus > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.v2-trouveur__plus[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.v2-faq summary { list-style-position: inside; }
.v2-race__autres { margin: 0 0 16px; font-size: 15px; }
@media (max-width: 759px) {
	.v2-trouveur__marque { display: block; }
	.v2-trouveur__marque select { display: block; width: 100%; margin: 4px 0 0; }
	.v2-annuaire .v2-metiers.v2-prestations { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.v2-annuaire .v2-prestations > * { flex: none; }
}
@media (max-width: 599px) {
	.v2-accueillir__trouveur { display: block; }
	.v2-accueillir__trouveur > .v2-accueillir__num { display: grid; float: left; margin: 0 12px 4px 0; }
}
@media (max-width: 479px) {
	.v2-annuaire .v2-filtres .v2-filtre { padding: 6px 11px; font-size: 14px; }
}
.v2-race__visuel { min-width: 0; } /* des robes nombreuses défilent dans leur rangée, sans élargir la page (Dogue allemand, 41 px à 360) */
.v2-annuaire__liste { display: grid; gap: 28px; min-width: 0; }
.v2-annuaire__liste > * { min-width: 0; }
.v2-resultat__pied > .v2-note:empty { display: none; } /* sans provenance, les gestes partaient à droite, sous une carte qui les avait à gauche */
/* Le survol de .cg-button-secondary (V1) éclaircissait le fond, le texte restait clair : le numéro disparaissait, et au téléphone le survol reste après le toucher. */
.v2-geste--plein > a:hover, .v2-geste--plein > a:focus, .v2-geste--plein > a:active { background: var(--v2-encre); color: var(--v2-papier) !important; }
.v2-al-plateau [data-v2-ra-plateau-txt] { white-space: normal; min-width: 0; line-height: 1.25; }
.v2-al-plateau > .v2-bouton { flex: none; }
/* Un lien qui doit porter un contexte est un bouton de formulaire (cg_outil_contexte_formulaire) : la V1 le rend nu dans une feuille que la V2 ne charge pas. Sans ceci : bouton gris du navigateur sur la fiche (« Demander le retrait »). */
.cg-v2 button.cg-pro-retrait__link { appearance: none; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; color: var(--v2-rouille); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* Imprimer, Voir la ration : même défaut de survol que le téléphone (contraste 2,9 et 3,3). */
.cg-v2 .v2-outil .cg-button:not(.cgoc-introuvable__bouton):hover, .cg-v2 .v2-outil .cg-button:not(.cgoc-introuvable__bouton):focus { background: var(--v2-encre); color: var(--v2-papier) !important; }

/* ── Communauté au téléphone (02/11) : forum et avis dans la coquille V2, mêmes tailles et même rail que le reste du site ; les règles d'étoiles et de cartes de la feuille V1 (cg-reviews.css, retirée en V2) manquaient : sans elles, les notes se lisaient à l'envers. ── */
.v2-coquille .cg-forum { max-width: none; padding: 0 0 32px; }
.v2-coquille .cg-forum__h2 { font: 500 26px/1.2 var(--v2-titre); margin: 28px 0 12px; }
.v2-coquille .cg-forum__section-tete { margin: 24px 0 14px; gap: 12px; }
.v2-coquille .cg-forum__section-tete .cg-forum__cta { font-size: 16px; }
.v2-coquille .cg-forum .cg-button { font-size: 16px; min-height: 48px; }
/* 03/11 (connecte) : le même champ que tous les formulaires du site (crème sans cadre, net au focus), plus un cadre blanc de plus ici. */
.v2-coquille .cg-forum__form { display: grid; gap: 16px; padding: clamp(16px, 3vw, 28px); border-radius: var(--v2-r-carte); background: var(--v2-papier); }
.v2-coquille .cg-forum__form .cg-field { margin: 0; }
.v2-coquille .cg-forum__form > .cg-button { justify-self: start; }
.v2-coquille .cg-forum .cg-field :is(input[type=text], textarea), .v2-signaler__form :is(input:not([type=checkbox]):not([type=radio]), textarea, select) { width: 100%; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-creme); color: var(--v2-encre); font-size: 17px; padding: 12px 16px; }
.v2-coquille .cg-forum .cg-field input[type=text], .v2-signaler__form :is(input:not([type=checkbox]):not([type=radio]), select) { min-height: 52px; }
.v2-coquille .cg-forum .cg-field :is(input[type=text], textarea):focus, .v2-signaler__form :is(input, textarea, select):focus { outline: 3px solid var(--v2-focus); outline-offset: 1px; background: var(--v2-papier); }
.v2-parcours .quiz-question { margin: 0 0 6px; padding: 0; font: 500 clamp(22px, 2.6vw, 28px)/1.2 var(--v2-titre); color: var(--v2-encre); }
.v2-parcours .quiz-progress { height: 6px; margin-top: 6px; border-radius: var(--v2-r-pastille); background: var(--v2-sable); overflow: hidden; }
.v2-parcours .quiz-progress-bar { height: 100%; border-radius: inherit; background: var(--v2-rouille); }
.v2-parcours .quiz-progress-text { margin: 0; font-size: 15px; color: var(--v2-noisette); }
/* Mon avis refusé : le formulaire d'édition de l'extension (2 écrans de boutons radio empilés au téléphone) se lit comme celui du dépôt : cinq choix sur une ligne. Le CSS seul, l'extension n'est pas touchée. */
.cg-v2 .cgan-review-form { display: grid; gap: 14px; margin-top: 12px; }
.cg-v2 .cgan-review-form h3 { margin: 4px 0 0; font: 500 22px/1.2 var(--v2-titre); }
.cg-v2 .cgan-review-form fieldset { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.cg-v2 .cgan-review-form legend { padding: 0; margin: 0 0 6px; font-weight: 600; }
.cg-v2 .cgan-review-form fieldset label { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 50px; min-height: 44px; padding: 0 8px; border-radius: var(--v2-r-pastille); background: var(--v2-creme); font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer; }
.cg-v2 .cgan-review-form fieldset input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cg-v2 .cgan-review-form fieldset label:has(input:checked) { background: var(--v2-peche); color: var(--v2-sur-peche, var(--v2-encre)); font-weight: 600; }
.cg-v2 .cgan-review-form fieldset label:has(input:focus-visible) { outline: 2px solid var(--v2-encre); outline-offset: 1px; }
.cg-v2 .cgan-review-form textarea { display: block; width: 100%; min-height: 120px; margin-top: 6px; padding: 12px 16px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-creme); color: var(--v2-encre); font-size: 17px; }
.cg-v2 .cgan-review-form button[type=submit] { justify-self: start; min-height: 48px; padding: 8px 22px; border: 0; border-radius: var(--v2-r-pastille); background: var(--v2-encre); color: var(--v2-papier) !important; font: inherit; font-weight: 600; cursor: pointer; }
/* Les boutons du bloc Avis : ils se lisaient comme du texte posé sur la carte. */
.cg-v2 .v2-fp-avis .cg-review-form__submit, .cg-v2 .cg-reviews .cg-review-form__submit { min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--v2-r-pastille); background: var(--v2-encre); color: var(--v2-papier) !important; font-weight: 600; cursor: pointer; }
.cg-v2 .cg-reviews .cg-reviews__gate form button:not(.cg-reviews__login-link) { min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--v2-r-pastille); background: var(--v2-sable); color: var(--v2-encre); font-weight: 500; cursor: pointer; }
/* Son avis attend ou a été refusé, ou la fiche est la sienne : « Votre avis aidera le prochain » n'a plus de sens au-dessus. */
.cg-reviews:has(> .cg-reviews__gate):not(:has(.cg-reviews__login-link)) > .cg-reviews__empty { display: none; }
.cg-compte-verif .cg-auth__card > p > a:not(.cg-button):only-child { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border-radius: var(--v2-r-pastille); background: var(--v2-peche); color: var(--v2-sur-peche); font-weight: 600; text-decoration: none; }
.v2-toast[data-v2-compte-cree] { width: min(420px, calc(100vw - 32px)); padding: 14px 18px; border-radius: var(--v2-r-carte); font-size: 15px; line-height: 1.4; }
[data-v2-visiteur][hidden] { display: none; }
:where(.v2-compte) .cg-form--courriel button[type=submit] { width: auto; justify-self: start; align-self: start; }
.v2-proposer__plus { margin: 0; }
.v2-proposer__suite { display: grid; gap: 16px; margin-top: 12px; }
.v2-coquille .cg-forum__premiere { display: grid; gap: 10px; padding: 22px; border: 0; border-radius: var(--v2-r-carte); background: var(--v2-papier); font-size: 16px; justify-items: start; }
.v2-coquille .cg-forum__premiere > p:first-child { font: 500 22px/1.25 var(--v2-titre); }
.v2-coquille .cg-forum__premiere-suite { color: var(--v2-noisette); }
.v2-coquille .cg-forum__cats--vierge .cg-forum__cat--vide { background: var(--v2-papier); border-style: solid; }
.v2-coquille .cg-forum__cats--vierge .cg-forum__cat--vide .cg-forum__cat-desc { display: block; }
.v2-coquille .cg-forum__cat, .v2-coquille .cg-forum__sujet-ligne { position: relative; }
.v2-coquille .cg-forum__cat-lien::after, .v2-coquille .cg-forum__sujet-titre::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.v2-coquille .cg-forum__cat-activite a { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 44px; }
.v2-coquille .cg-forum__cat-nom, .v2-coquille .cg-forum__sujet-titre { font: 500 20px/1.25 var(--v2-titre); overflow-wrap: anywhere; }
.v2-coquille .cg-forum__cat-desc, .v2-coquille .cg-forum__cat-chiffres, .v2-coquille .cg-forum__cat-activite, .v2-coquille .cg-forum__sujet-meta, .v2-coquille .cg-forum__sujet-reponses, .v2-coquille .cg-forum__sujet-activite, .v2-coquille .cg-forum__msg-tete, .v2-coquille .cg-forum__mention, .v2-coquille .cg-forum__note, .v2-coquille .cg-forum__msg-pied { font-size: 15px; }
.v2-coquille .cg-forum__sujet-reponses strong { font-size: 16px; }
.v2-coquille .cg-forum__corps { font-size: 17px; overflow-wrap: anywhere; }
.v2-coquille .cg-forum__msg-role, .v2-coquille .cg-forum__attente-badge { font-size: 13px; }
.v2-coquille .cg-forum__msg-pied { gap: 4px 20px; align-items: center; }
.v2-coquille .cg-forum__editer { display: inline-flex; align-items: center; min-height: 44px; color: var(--v2-rouille); }
.v2-coquille .cg-forum__signaler > summary { display: flex; align-items: center; min-height: 44px; color: var(--v2-rouille); }
.v2-coquille .cg-forum__retour, .v2-coquille .cg-forum__regles { margin: 16px 0 0; font-size: 16px; }
.v2-coquille .cg-forum__retour a, .v2-coquille .cg-forum__regles a { display: inline-flex; align-items: center; min-height: 44px; color: var(--v2-rouille); }
.v2-coquille .cg-forum__regles--form { margin: 0 0 14px; }
.v2-coquille .cg-forum__regles--form a { display: inline; }
.v2-coquille .cg-forum .v2-chemins { margin-top: 24px; }
.v2-coquille .cg-forum__pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
:where(.v2-coquille) .cg-forum__choix { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border: 1px solid var(--v2-lin); border-radius: var(--v2-r-pastille); background: var(--v2-papier); font-size: 16px; font-weight: 500; cursor: pointer; }
.v2-coquille .cg-forum__choix-cats > legend { font-size: 16px; font-weight: 600; color: inherit; }
:where(.v2-coquille, .v2-parcours, .v2-espace) .cg-callout-success { background: var(--v2-sauge); border-left-color: var(--v2-sur-sauge); color: var(--v2-sur-sauge); }
:where(.v2-coquille, .v2-parcours, .v2-espace) .cg-callout-danger { background: var(--v2-peche); border-left-color: var(--v2-rouille-fonce); color: var(--v2-rouille-fonce); }
.v2-coquille .cg-membre-profil__chiffres { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.v2-coquille .cg-membre-profil__chiffres li { display: grid; gap: 2px; padding: 12px; border-radius: var(--v2-r-champ); background: var(--v2-papier); font-size: 15px; }
.v2-coquille .cg-membre-profil__chiffres strong { font: 500 24px/1.1 var(--v2-titre); }
.v2-coquille .cg-membre-profil__bloc { margin-top: 28px; }
.v2-coquille .cg-membre-profil__titre { margin: 0 0 10px; font: 500 26px/1.2 var(--v2-titre); }
.v2-coquille .cg-membre-profil .cg-search-results__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v2-coquille .cg-membre-profil .cg-search-results__link { display: block; padding: 12px 16px; border-radius: var(--v2-r-champ); background: var(--v2-papier); color: var(--v2-encre); text-decoration: none; }
.v2-coquille .cg-membre-profil .cg-search-results__meta { display: grid; gap: 2px; }
.v2-coquille .cg-membre-profil .cg-search-results__title { font-weight: 600; overflow-wrap: anywhere; }
.v2-coquille .cg-membre-profil .cg-search-results__subtype { font-size: 15px; color: var(--v2-noisette); }
.cg-v2 .cg-reviews__banner { margin: 0 0 12px; padding: 12px 16px; border-radius: var(--v2-r-champ); }
.cg-v2 .cg-reviews__banner--success { background: var(--v2-sauge); color: var(--v2-sur-sauge); }
.cg-v2 .cg-reviews__banner--error { background: var(--v2-peche); color: var(--v2-rouille-fonce); }
.cg-v2 .cg-reviews__list { display: grid; gap: 12px; margin: 0 0 18px; }
.cg-v2 .cg-review { display: grid; gap: 8px; padding: 14px 16px; border-radius: 18px; background: var(--v2-creme); min-width: 0; }
.cg-v2 .cg-review__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.cg-v2 .cg-review__author { font-weight: 600; }
.cg-v2 .cg-review__date, .cg-v2 .cg-review__reply-head { font-size: 15px; color: var(--v2-noisette); }
.cg-v2 .cg-review__stars { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.cg-v2 .cg-review__criteria { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 15px; color: var(--v2-noisette); }
.cg-v2 .cg-review__criterion { display: inline-flex; gap: 6px; }
.cg-v2 .cg-review__text, .cg-v2 .cg-review__reply-text { overflow-wrap: anywhere; }
.cg-v2 .cg-review__reply { display: grid; gap: 4px; padding: 10px 14px; border-left: 3px solid var(--v2-rouille); border-radius: 0 12px 12px 0; background: var(--v2-papier); }
.cg-v2 .cg-review__reply-head { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.cg-v2 .cg-review__reply-label { width: 100%; font-weight: 600; color: var(--v2-encre); }
.cg-v2 .cg-reply-form, .cg-v2 .cg-reviews__gate { display: grid; gap: 8px; justify-items: start; margin-top: 8px; }
.cg-v2 .cg-reply-form textarea { width: 100%; }
.cg-v2 .cg-reply-form__help, .cg-v2 .cg-review-form__help { margin: 0; font-size: 15px; color: var(--v2-noisette); }
.cg-v2 .cg-review-form__criteria { display: grid; gap: 10px; margin: 0 0 16px; }
.cg-v2 .cg-rating { margin: 0; padding: 0; border: 0; min-width: 0; }
.cg-v2 .cg-rating__label { padding: 0; font-size: 16px; font-weight: 600; }
.cg-v2 .cg-rating__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.cg-v2 .cg-rating__stars input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.cg-v2 .cg-rating__stars label { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 32px; line-height: 1; color: var(--v2-noisette); cursor: pointer; }
.cg-v2 .cg-rating__stars label::before { content: "\2606"; }
.cg-v2 .cg-rating__stars label:hover, .cg-v2 .cg-rating__stars label:hover ~ label, .cg-v2 .cg-rating__stars input:checked ~ label { color: var(--v2-rouille); }
.cg-v2 .cg-rating__stars label:hover::before, .cg-v2 .cg-rating__stars label:hover ~ label::before, .cg-v2 .cg-rating__stars input:checked ~ label::before { content: "\2605"; }
.cg-v2 .cg-rating__stars input:focus-visible + label { outline: 2px solid var(--v2-encre); outline-offset: -2px; border-radius: 8px; }
.cg-v2 .cg-review-form__field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.v2-coquille .cg-forum__sujet-vignette { display: block; flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--v2-sable); align-self: start; }
.v2-coquille .cg-forum__sujet-vignette img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v2-coquille .cg-forum__sujet-titre, .v2-coquille .cg-forum__sujet-titre:hover { text-decoration: none; color: var(--v2-encre); }
.v2-coquille .cg-forum > .cg-callout { margin: 0 0 14px; }
.v2-coquille .cg-forum__repondre > .cg-forum__h2 { margin-top: 0; }
.v2-contribs__ecrits .v2-gardes li { background: var(--v2-creme); }
.v2-contribs__ecrits .v2-gardes a { min-height: 44px; }
.v2-coquille .cg-forum__pagination { flex-wrap: wrap; gap: 4px; }

/* Chantier mobile-familles (02/11) : familles de lieux, catalogue, guides et marques au téléphone. Cartes plus courtes, rien de retiré ; plis par v2/lecture.php (cg_v2_lecture_bloc). */
.v2-agenda__nb { flex: none; font-size: 14px; color: var(--v2-noisette); }
@media (min-width: 600px) { .v2-agenda__nb { display: none; } }
@media print { .v2-pli--telephone::details-content { display: block; content-visibility: visible; } }
/* La fiche pro cache son bloc Contact (ses gestes de tête suffisent) : pas les lieux, dont l'adresse, les horaires et l'organisateur ne sont nulle part ailleurs. */
@media (max-width: 1099px) { .v2-lieu .v2-fiche__aside .v2-contact { display: block; order: 3; } .v2-refuge .v2-fiche__aside .v2-contact { order: 0; } }
@media (max-width: 599px) {
	.v2-fiche .v2-pli--telephone[open] > summary, .v2-lieux .v2-pli--telephone[open] > summary, .v2-tout__univers > .v2-pli--telephone[open] > summary { margin-bottom: 8px; }
	.v2-bloc:has(> .v2-pli--telephone:not([open])) > .v2-note { margin: 0 0 8px; }
	.v2-lieux .v2-pli--telephone > summary > .v2-bloc__titre { margin: 0; font-size: 20px !important; }
	.v2-fiche .v2-pli--telephone > summary > .cgoc-titre { margin: 0; font-size: 20px; }
	.v2-lieu section:not(.v2-bloc) > .v2-pli--telephone { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: 6px 18px; }
	.v2-lieu section:not(.v2-bloc) > .v2-pli--telephone > summary > h2 { margin: 0 !important; font-size: 20px; }
	.v2-tout__univers > .v2-pli--telephone > summary > h2 { margin: 0; }
	.v2-lieux__apropos > summary { font-size: 15px; color: var(--v2-noisette); }
	.v2-club__suite { margin-top: 10px; }
	.v2-club__suite[open] > summary { margin-bottom: 8px; }
	/* Carte de lieu : « Appeler » à droite de la commune, chaque fait sur sa ligne quand il y tient. */
	.v2-lieu-carte { padding: 12px 14px; gap: 4px; }
	.v2-lieu-carte .v2-al-carte__faits { margin-top: 2px; gap: 2px; }
	.v2-lieu-carte:has(> .v2-lieu-carte__appel) { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
	.v2-lieu-carte:has(> .v2-lieu-carte__appel) > * { grid-column: 1; }
	.v2-lieu-carte:has(> .v2-lieu-carte__appel) > .v2-al-carte__nom { grid-column: 1 / -1; grid-row: 1; }
	.v2-lieu-carte:has(> .v2-lieu-carte__appel) > .v2-al-carte__faits { grid-column: 1 / -1; }
	.v2-lieu-carte > .v2-lieu-carte__appel { grid-column: 2; grid-row: 2 / span 2; align-self: center; margin: 0; }
	/* Agenda : un pli par mois (le plus proche ouvert). */
	.v2-agenda-page .v2-agenda__section { margin-bottom: 8px; }
	.v2-agenda-page .v2-agenda__section > .v2-pli > summary > h2 { flex: 1; font-size: var(--v2-h2-bloc) !important; }
	.v2-agenda-page .v2-agenda__section > .v2-pli[open] > summary { margin-bottom: 8px; }
	.v2-agenda__evt { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 12px 14px; }
	/* Aliments, accessoires : « Comparer » sur la ligne de la marque. */
	[data-v2-al-liste] > .v2-al-carte, [data-v2-ac-liste] > .v2-al-carte { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 10px 14px 12px; }
	[data-v2-al-liste] > .v2-al-carte > *, [data-v2-ac-liste] > .v2-al-carte > * { grid-column: 1 / -1; }
	[data-v2-al-liste] > .v2-al-carte > .v2-al-carte__marque, [data-v2-ac-liste] > .v2-al-carte > .v2-al-carte__marque { grid-column: 1; grid-row: 1; align-self: center; }
	[data-v2-al-liste] > .v2-al-carte > .v2-al-carte__cmp, [data-v2-ac-liste] > .v2-al-carte > .v2-al-carte__cmp { grid-column: 2; grid-row: 1; }
	[data-v2-al-liste] .v2-al-carte__faits, [data-v2-ac-liste] .v2-al-carte__faits { margin-top: 2px; gap: 2px; }
	[data-v2-ac-liste] > .v2-al-carte:has(> .v2-al-carte__image--type) { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: none; }
	[data-v2-ac-liste] > .v2-al-carte:has(> .v2-al-carte__image--type) > :is(.v2-al-carte__nom, .v2-al-carte__faits) { grid-column: 1; }
	[data-v2-ac-liste] > .v2-al-carte > .v2-al-carte__image--type { grid-row: 2 / span 2; width: 96px; justify-self: end; }
	[data-v2-al-liste] > .v2-al-carte { contain-intrinsic-size: auto 170px; }
	/* Guides : image à côté du titre ; le chapeau sur 2 lignes, sauf santé et règlement, jamais coupés. */
	.v2-guides-page .v2-guide-carte:not(.v2-guide-carte--grande) a:has(.v2-guide-carte__visuel) { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
	.v2-guides-page .v2-guide-carte:not(.v2-guide-carte--grande) .v2-guide-carte__visuel { position: relative; }
	.v2-guides-page .v2-guide-carte:not(.v2-guide-carte--grande) .v2-guide-carte__visuel img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: var(--v2-focale, 50% 50%); }
	.v2-guides-page .v2-guide-carte:not(.v2-guide-carte--grande) .v2-guide-carte__texte { padding: 10px 14px 12px; gap: 3px; }
	.v2-guides-page .v2-guide-carte:not(.v2-guide-carte--grande) .v2-guide-carte__titre { font-size: 18px; }
	.v2-guides-page .v2-guide-carte:not(.v2-guide-carte--sensible):not(.v2-guide-carte--grande) .v2-guide-carte__ex { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
	/* Marques : deux colonnes. */
	.v2-marques__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.v2-marques__grille .v2-carte { padding: 14px; gap: 4px; overflow-wrap: anywhere; }
	/* Promenade, restaurant : repère plus petit, faits plus denses. */
	.v2-lieu .v2-lieu__carte .v2-plan--galet { max-width: 96px; }
	.v2-lieu .v2-faits { gap: 8px; }
	.v2-lieu .v2-fait { padding: 10px 14px; }
	.v2-lieu .v2-fait strong { font-size: 17px; }
	.v2-recette__image img { aspect-ratio: 16 / 9; object-fit: cover; }
	/* Forum : des catégories plus serrées. */
	.v2-coquille .cg-forum__cats { gap: 8px; }
	.v2-coquille .cg-forum__cat { padding: 12px 14px; }
}

/* Chantier mobile-pros (02/11) : fiche pro, annuaire, parcours de revendication et Espace pro au téléphone. */
.v2-proches__liste { display: grid; gap: 10px; }
@media (max-width: 1099px) {
	/* Téléphone et site sont déjà les gestes de tête ; l'îlot du propriétaire au numéro masqué (pro-aside) n'a pas cette classe, il reste. */
	.v2-fiche__aside .v2-contact { display: none; }
	.v2-fiche__aside > * { order: 7; }
	.v2-fiche__aside > .v2-fiche__ou { order: 2; }
	.v2-fiche__aside > [data-v2-semaine] { order: 3; }
	.v2-fiche__provenance { order: 6 !important; }
}
@media (max-width: 759px) {
	.v2-parcours { gap: 10px; }
	.v2-parcours__titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* le fil d'Ariane dit déjà ce titre ; la question de l'étape prend sa place */
	.v2-parcours__carte { padding: 16px; }
	.v2-parcours .quiz-actions { position: sticky; bottom: calc(var(--v2-barre-h) + env(safe-area-inset-bottom) + 8px); z-index: 3; display: flex; flex-direction: row-reverse; align-items: center; gap: 8px; padding: 8px; margin: 0 -8px; border-radius: var(--v2-r-pastille); background: var(--v2-papier); }
	body.cg-v2.v2-saisie .v2-parcours .quiz-actions { bottom: 8px; }
	/* 04/11 (S-014) : une seule barre en parcours : 170 px sur 844 y coupaient les champs. Celle du site revient à la fin de la demande. */
	body.cg-v2 :where(#v2-contenu):has(.v2-parcours .quiz-actions) ~ .v2-barre { display: none; }
	body.cg-v2 .v2-parcours.v2-parcours .quiz-actions.quiz-actions { bottom: calc(env(safe-area-inset-bottom) + 8px); box-shadow: 0 0 0 8px var(--v2-papier), 0 calc(env(safe-area-inset-bottom) + 8px) 0 8px var(--v2-papier), 0 -8px 24px rgba(43, 30, 21, .14); } /* R2-281 : fond plein autour de la pastille et jusqu'au bas de l'écran ; l'ombre de la feuille collée en bas (l. 471) */
	.v2-parcours .cg-edit-field input, .v2-parcours .cg-edit-field textarea { scroll-margin: 24px 0 88px; }
	.v2-parcours .quiz-actions .btn-quiz-next { flex: 1 1 auto; }
	.v2-parcours .quiz-actions .btn-quiz-prev { flex: none; width: auto; min-height: 44px; }
	.v2-pe-infos__enregistrer { bottom: calc(var(--v2-barre-h) + env(safe-area-inset-bottom) + 8px); }
	body.cg-v2.v2-saisie .v2-pe-infos__enregistrer { bottom: 8px; }
	.v2-parcours [data-cg-envoi] .quiz-actions { position: static; background: none; padding: 8px 0 0; margin: 0; }
	:where(.v2-coquille) .cg-form-editer:has(details[open]) > .cg-edit-actions .cg-button-secondary { display: none; }
	:where(.v2-coquille) .cg-form-editer:has(details[open]) > .cg-edit-actions { position: sticky; bottom: calc(var(--v2-barre-h) + env(safe-area-inset-bottom) + 8px); z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; border-radius: var(--v2-r-carte); background: var(--v2-papier); }
	body.cg-v2.v2-saisie :where(.v2-coquille) .cg-form-editer:has(details[open]) > .cg-edit-actions { bottom: 8px; }
}
@media (max-width: 599px) {
	.v2-fiche { gap: 16px; }
	.v2-fiche__cols, .v2-fiche__main, .v2-fiche__aside { gap: 12px; }
	.v2-fiche__ident { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
	.v2-fiche__ident > * { order: 7; flex: 0 0 100%; min-width: 0; }
	.v2-fiche__ident > .v2-etiquette { order: 1; flex: 0 1 auto; }
	.v2-fiche__ident > .v2-fiche__nom, .v2-fiche__ident > h1 { order: 2; } /* un titre nu (fiche d'accessoire) passait après les boutons */
	.v2-fiche__ident > .v2-fiche__etat { order: 4; flex: 0 1 auto; }
	.v2-fiche__ident > .v2-garder { order: 5; flex: 0 0 auto; }
	.v2-fiche__ident > .v2-fiche__gestes { order: 6; }
	.v2-fiche__ident h1 { font-size: var(--v2-h1-liste); }
	.v2-fiche__gestes { gap: 8px; }
	.v2-fiche__gestes .v2-geste > a, .v2-fiche__gestes .v2-geste > span { padding: 8px 16px; }
	.v2-fiche__dit { margin: 0; }
	.v2-fiche__pro { white-space: nowrap; font-weight: 600; }
	.v2-bloc:has(> .v2-pli--telephone:not([open])) { padding-top: 6px; padding-bottom: 6px; }
	.v2-fiche .v2-pli--telephone > summary > .v2-bloc__titre, .v2-espace .v2-pli--telephone > summary > .v2-bloc__titre { margin: 0; font-size: 20px !important; }
	.v2-proches { gap: 0; }
	.v2-profil__pli > summary > h3 { margin: 0; font-size: 17px; }
	.v2-profil__fiches { gap: 0; }
	.v2-profil__fiche { padding: 0; margin: 0; background: transparent; }
	.v2-annuaire { gap: 8px; }
	.v2-facettes { margin: 0; }
	.v2-facettes > summary { min-height: 44px; padding: 6px 16px; }
	.v2-annuaire__tete { gap: 10px; }
	.v2-annuaire__tete h1 { font-size: var(--v2-h1-liste); }
	.v2-annuaire__intro > summary { font-size: 15px; font-weight: 500; color: var(--v2-noisette); }
	.v2-annuaire__commune .v2-note { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.v2-annuaire__commune .v2-recherche__ligne { flex-direction: row; }
	.v2-annuaire__commune .v2-champ { flex: 1 1 0; }
	.v2-annuaire__commune .v2-bouton { flex: none; }
	.v2-filtres { flex-wrap: nowrap; overflow-x: auto; padding: 8px; scrollbar-width: none; }
	.v2-filtres .v2-filtre, .v2-filtres__compte { flex: none; white-space: nowrap; }
	.v2-filtre { min-height: 44px; }
	.v2-resultat { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 14px 16px; }
	.v2-resultat > * { flex: 0 1 auto; min-width: 0; }
	.v2-resultat__nom, .v2-resultat .v2-etiquettes, .v2-resultat__pied { flex: 0 0 100%; }
	.v2-resultat__nom { font-size: 19px; }
	.v2-resultat__pied { flex-direction: column-reverse; align-items: stretch; gap: 6px; margin-top: 4px; }
	.v2-resultat__pied .v2-note { font-size: 13px; line-height: 1.3; }
	.v2-resultat__pied .v2-note:empty { display: none; }
	.v2-resultat__gestes { flex-wrap: nowrap; align-items: center; }
	.v2-resultat__gestes .v2-geste { flex: 1 1 auto; min-width: 0; }
	.v2-resultat__gestes .v2-geste > a, .v2-resultat__gestes .v2-geste > span { width: 100%; justify-content: center; min-height: 44px; padding: 6px 12px; font-size: 15px; }
	.v2-resultat .v2-bouton { flex: none; min-height: 44px; }
	:where(.v2-coquille) details.cg-edit-section { display: block; margin: 0 0 10px; padding: 6px 18px; }
	:where(.v2-coquille) details.cg-edit-section[open] { padding-bottom: 18px; }
	:where(.v2-coquille) details.cg-edit-section > summary > h2 { font-size: 20px; }
	:where(.v2-coquille) details.cg-edit-section > :not(summary) { margin-top: 12px; }
	.v2-porte:has(.cg-fiche-list) .v2-porte__temps { display: none; }
	.v2-parcours [data-cg-parcours="specialites"] .quiz-options { display: flex; flex-wrap: wrap; gap: 6px; }
	.v2-parcours [data-cg-parcours="specialites"] .quiz-option { flex: 0 1 auto; width: auto; min-height: 44px; margin: 0; padding: 8px 12px; }
	.v2-parcours .cg-parcours__recap { margin: 0; }
	.v2-parcours .cg-parcours__recap dt { font-size: 13px; color: var(--v2-noisette); }
	.v2-parcours .cg-parcours__recap dd { margin: 0 0 4px; }
	.v2-semaine__outils { display: grid; grid-template-columns: 1fr 1fr; }
	.v2-semaine__outils label { grid-column: 1 / -1; }
	.v2-semaine__outils select { display: block; width: 100%; margin: 4px 0 0; }
	.v2-semaine__outils .v2-bouton { min-height: 44px; }
}
/* Pied au téléphone : l'entrée des pros reste visible, sans sa phrase. */
@media (max-width: 599px) { .v2-pied__pro > p:not(.v2-pied__titre):not(.v2-pied__autres) { display: none; } .v2-pied__pro .v2-bouton { min-height: 44px; } .v2-pied__pro .v2-pied__titre { margin: 0 0 6px; } .v2-pied__pro .v2-pied__autres { margin: 0; } }
/* 360 px : le pied tient dans un écran avec la recherche du pro (essai-mobile-entree). */
@media (max-width: 379px) { .v2-pied { padding-top: 16px; } .v2-pied__pro .v2-pied__titre { margin-bottom: 2px; } .v2-pied__pro .v2-dc-f { gap: 2px; } .v2-pied__pro .v2-pied__autres { font-size: 14px; gap: 0 14px; } }
/* Long guide sensible : revenir au sommaire sans remonter à la main. */
.v2-guide__retour { display: none; }
@media (max-width: 959px) { html:has(a.v2-guide__retour) { --v2-rangee: 44px; } a.v2-guide__retour { display: flex; position: sticky; top: var(--v2-haut-fixe, 72px); width: auto; min-width: 0; margin: 0 0 -44px auto; padding: 0 14px; justify-content: flex-end; align-items: center; gap: 6px; z-index: 5; min-height: 44px; font-size: 15px; background: var(--v2-papier); border-radius: var(--v2-r-pastille); box-shadow: var(--v2-ombre-flotte); transition: top .18s ease; visibility: hidden; width: fit-content; }
	a.v2-guide__retour::before { content: "↑"; content: "↑" / ""; } html.v2-loin a.v2-guide__retour { visibility: visible; } }

/* Le tampon d'un guide relu (v2/verification-pro.php) : la forme de la maquette render/Relecture.dc.html, .rl-visa. */
/* « Relu par » (lot AFFICHAGE, 29/11 ; décisions 16, 18 et 19 de Jordan) : un bloc SOBRE sous le titre, ni tampon ni badge ni icône (le tampon .v2-visa est
   retiré avec le modèle 107). Un filet à gauche, le texte en taille courante, les couleurs du thème (clair et sombre par les variables). Au-delà de 3 noms,
   un <details> natif, sans JS. Au téléphone : un corps plus petit et un retrait réduit, pour un poids raisonnable. */
.v2-relu { max-width: 620px; margin: 6px 0 18px; padding: 6px 0 6px 14px; border-left: 2px solid var(--v2-sauge-fonce); color: var(--v2-noisette); font-size: 15px; line-height: 1.45; }
.v2-relu__titre { margin: 0 0 2px; font-weight: 600; color: var(--v2-encre); }
.v2-relu__liste { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.v2-relu__nom { color: var(--v2-encre); }
/* X1 (consolidation 239695d0, § 1.1) : le nom et la qualification, chacun sur sa ligne ; la liste <ul> reste, pour les lecteurs d'écran. */
.v2-relu__nom, .v2-relu__quoi { display: block; }
.v2-relu__plus { margin-top: 4px; }
.v2-relu__plus > summary { cursor: pointer; min-height: 24px; color: var(--v2-rouille); text-decoration: underline; text-underline-offset: 3px; }
.v2-relu__plus[open] > .v2-relu__liste { margin-top: 4px; }
.v2-relu__limite { margin: 6px 0 0; font-size: 14px; }
.v2-relu__rubrique { margin: 4px 0 0; font-size: 14px; }   /* X4 (consolidation 239695d0) : le lien de la rubrique, sous les limites */
.v2-relu__lien { color: var(--v2-rouille); }
.v2-relu__plus > summary:focus-visible, .v2-relu__lien:focus-visible { outline: 3px solid var(--v2-focus); outline-offset: 2px; }
@media (max-width: 759px) { .v2-relu { margin: 4px 0 14px; padding-left: 10px; font-size: 14px; } .v2-relu__limite, .v2-relu__rubrique { font-size: 13.5px; } }
/* La rubrique du pro qualifié (v2/gabarits/relire.php). */
.v2-relire { display: grid; gap: 16px; }
.v2-relire__passage { border: 0; margin: 0; padding: 12px 14px; background: var(--v2-creme); border-radius: 18px; display: grid; gap: 8px; min-width: 0; }
.v2-relire__passage legend { float: left; width: 100%; padding: 0 0 8px; font-weight: 600; }
.v2-relire__reponses { clear: both; display: flex; flex-wrap: wrap; gap: 6px; }
.v2-relire__reponses label { position: relative; display: inline-flex; }
.v2-relire__reponses input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.v2-relire__reponses span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--v2-r-pastille); background: var(--v2-papier); font-size: 15px; }
.v2-relire__reponses input:checked + span { background: var(--v2-encre); color: var(--v2-papier); }
.v2-relire__reponses input:focus-visible + span { outline: 3px solid var(--v2-focus); outline-offset: 2px; }
/* Le nombre de fiches d'un métier, sur le panneau « Je cherche un pro » de l'accueil. */
/* Le quiz (v2/gabarits/page-quiz.php) : le moteur V1 écrit ses classes (quiz-*, cg-button) ; elles reçoivent ici les composants de la V2. */
.v2-quiz { display: grid; gap: 20px; padding-bottom: 40px; }
.v2-quiz__corps { background: var(--v2-papier); border-radius: var(--v2-r-carte); padding: clamp(18px, 3vw, 32px); }
.v2-quiz__autre { margin: 0; color: var(--v2-noisette); }
.quiz-suite { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.v2-quiz__info h2 { font-size: var(--v2-h2-bloc); }
.v2-quiz__texte { display: grid; gap: 10px; margin-top: 12px; }
.v2-quiz__texte p { margin: 0; }
.v2-quiz__texte h3 { margin: 10px 0 0; font-size: var(--v2-h3); }
.v2-quiz .quiz-intro { display: grid; gap: 14px; justify-items: start; }
.v2-quiz .quiz-resume-prompt { display: grid; gap: 10px; }
.v2-quiz .quiz-resume-prompt > div { justify-content: flex-start !important; }
.v2-quiz .cg-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--v2-r-pastille); background: var(--v2-encre); color: var(--v2-papier); font: 500 16px/1.2 var(--v2-texte); cursor: pointer; }
.v2-quiz .cg-button-secondary { background: var(--v2-teinte, var(--v2-sable)); color: var(--v2-encre); }
.v2-quiz .cg-button:disabled { opacity: .45; cursor: default; }
.v2-quiz .quiz-progress-text { font-size: 15px; color: var(--v2-noisette); }
.v2-quiz .quiz-progress { height: 8px; margin: 6px 0 18px; border-radius: var(--v2-r-pastille); background: var(--v2-lin); overflow: hidden; }
.v2-quiz .quiz-progress-bar { height: 100%; background: var(--v2-abricot); }
.v2-quiz .quiz-question { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; margin-bottom: 16px; }
.v2-quiz .quiz-question-hint { font-family: var(--v2-texte); font-size: 15px; color: var(--v2-noisette); margin-top: 6px; }
.v2-quiz .quiz-options { display: grid; gap: 10px; }
.v2-quiz .quiz-option { min-height: 52px; padding: 10px 18px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-creme); color: var(--v2-encre); font: 400 17px/1.3 var(--v2-texte); text-align: left; cursor: pointer; }
.v2-quiz .quiz-option[aria-checked="true"] { background: var(--v2-teinte); font-weight: 500; box-shadow: inset 0 0 0 2px var(--v2-miel-fonce); }
.v2-quiz .quiz-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.v2-quiz .quiz-actions > span { display: none; }
.v2-quiz .quiz-results { display: grid; gap: 16px; }
.v2-quiz .quiz-results-title { margin: 0; }
.v2-quiz .quiz-results-ecartes { padding: 14px 16px; border-radius: var(--v2-r-champ); background: var(--v2-sable); }
.v2-quiz .quiz-results-ecartes ul { margin: 6px 0 0; padding-left: 20px; }
.v2-quiz .quiz-insuffisant-texte { margin: 0; }
.v2-quiz .quiz-profile-toggle { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--v2-rouille); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.v2-quiz .quiz-profile ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.v2-quiz .quiz-profile li { display: grid; font-size: 15px; }
.v2-quiz .quiz-profile strong { font-weight: 500; }
.v2-quiz .quiz-profile span { color: var(--v2-noisette); }
.v2-quiz .quiz-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.v2-quiz .quiz-result-card { display: grid; align-content: start; border-radius: var(--v2-r-carte); background: var(--v2-creme); color: inherit; text-decoration: none; overflow: hidden; }
.v2-quiz .quiz-result-card-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.v2-quiz .quiz-result-card-body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.v2-quiz .quiz-result-card-name { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 20px; line-height: 1.2; }
.v2-quiz .quiz-result-card-score-value { font-weight: 600; }
.v2-quiz .quiz-result-card-score-label { font-size: 15px; color: var(--v2-noisette); }
.v2-quiz .quiz-result-card-cta { color: var(--v2-rouille); font-size: 15px; }
.v2-quiz .quiz-show-more-wrapper { display: flex; justify-content: center; }
.v2-quiz .quiz-results .btn-quiz-restart { background: var(--v2-teinte); color: var(--v2-encre); }
@media (max-width: 599px) { .v2-accueillir__aussi { gap: 0; } .v2-accueillir__aussi a { display: inline-flex; align-items: center; min-height: 44px; } }

/* Fiche de race : une page de carnet (02/11). Le nom d'abord, le profil en une phrase, le résumé, puis le guide en chapitres numérotés ; une barre de chapitres au téléphone, le sommaire au bureau. */
.v2-race .v2-race__haut h1 { margin: 0; font-size: var(--v2-h1-fiche); line-height: .98; letter-spacing: -.035em; font-weight: 380; }
.v2-race .v2-race__haut h1.est-long { font-size: var(--v2-h1-liste); line-height: 1.05; letter-spacing: -.025em; }
.v2-race__verdict { margin: 0; font-family: var(--v2-titre); font-size: clamp(21px, 2.2vw, 28px); line-height: 1.28; color: var(--v2-sur-miel); }
.v2-race__resume .v2-encart--retenir { margin: 0; padding: clamp(18px, 3vw, 30px); border: 0; background: var(--v2-miel); font-family: var(--v2-titre); font-size: clamp(19px, 2vw, 24px); line-height: 1.38; color: var(--v2-sur-miel); }
.v2-race__resume .v2-encart__titre { display: block; margin: 0 0 8px; font-family: var(--v2-texte); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--v2-miel-fonce); }
.v2-race__onglets { display: none; }
.v2-race__texte { counter-reset: v2-chapitre; }
.v2-chapitre { counter-increment: v2-chapitre; margin: clamp(40px, 6vw, 64px) 0 0; }
.v2-chapitre:first-child { margin-top: 12px; }
.v2-race .v2-chapitre > h2 { margin: 0 0 14px; font-size: var(--v2-h2); line-height: 1.12; letter-spacing: -.02em; }
.v2-chapitre > h2::before { content: counter(v2-chapitre, decimal-leading-zero); margin-right: .45em; font-size: .52em; vertical-align: .55em; letter-spacing: 0; color: var(--v2-miel-fonce); }
.v2-chapitre p { font-size: 18px; line-height: 1.72; margin: 0 0 14px; }
.v2-chapitre__accroche { display: block; margin: 0 0 10px; font-family: var(--v2-titre); font-size: clamp(21px, 2.2vw, 25px); line-height: 1.32; color: var(--v2-rouille-fonce); }
.v2-chapitre h3 { margin: 22px 0 10px; font-family: var(--v2-texte); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.v2-chapitre ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.v2-chapitre li { background: var(--v2-papier); border-radius: 18px; padding: 14px 16px; font-size: 16px; line-height: 1.5; }
.v2-race__renvoi { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; margin: 16px 0 0; padding: 14px 20px; border-radius: var(--v2-r-carte); text-decoration: none; }
.v2-race__renvoi::after { content: "\203A"; font-size: 26px; line-height: 1; }
.v2-race__renvoi span { display: grid; gap: 2px; }
.v2-race__renvoi small { font-size: 14px; }
.v2-race__renvoi strong { font-family: var(--v2-titre); font-size: 20px; font-weight: 400; line-height: 1.25; }
.v2-race__renvoi--peche { background: var(--v2-peche); color: var(--v2-sur-peche) !important; }
.v2-race__renvoi--sauge { background: var(--v2-sauge); color: var(--v2-sur-sauge) !important; }
.v2-race .v2-guide__sommaire a[aria-current] { color: var(--v2-rouille); font-weight: 600; }
.v2-race .v2-quotidien { background: var(--v2-pied, #2B1E15); color: var(--v2-creme); border-radius: var(--v2-r-galet); }
.v2-race .v2-quotidien h2, .v2-race .v2-quotidien .v2-surtitre { color: var(--v2-papier); }
.v2-race .v2-quotidien .v2-surtitre { color: var(--v2-abricot-doux); }
.v2-race .v2-quotidien label { position: relative; background: color-mix(in srgb, var(--v2-pied, #2B1E15) 84%, white); color: var(--v2-creme); }
.v2-race .v2-quotidien input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.v2-race .v2-quotidien label:has(input:checked) { background: var(--v2-abricot-doux); color: var(--v2-pied, #2B1E15); box-shadow: none; }
.v2-race .v2-quotidien label:has(input:focus-visible) { outline: 2px solid var(--v2-abricot-doux); outline-offset: 2px; }
.v2-race .v2-quotidien__resultat { background: color-mix(in srgb, var(--v2-pied, #2B1E15) 90%, white); color: var(--v2-creme); }
.v2-race .v2-quotidien__titre { color: var(--v2-papier); }
.v2-race .v2-quotidien .v2-note { color: var(--v2-lin); }
.v2-race .v2-quotidien__points { padding: 0; list-style: none; gap: 8px; }
.v2-race .v2-quotidien__points li { display: flex; gap: 10px; padding: 10px 14px; border-radius: var(--v2-r-champ); background: var(--v2-pied, #2B1E15); }
.v2-race .v2-quotidien__points li::before { content: ""; flex: none; width: 14px; height: 13px; margin-top: 6px; background: var(--v2-abricot-doux); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
@media (max-width: 959px) {
	.v2-race__corps { display: flex; flex-direction: column; }
	.v2-race__corps > * { min-width: 0; }
	.v2-race__onglets { display: flex; gap: 6px; position: sticky; top: 72px; z-index: 20; margin: -14px calc(var(--v2-gouttiere) * -1) -8px; padding: 6px var(--v2-gouttiere); overflow-x: auto; scrollbar-width: none; background: var(--v2-creme); }
	.v2-race__onglets::-webkit-scrollbar { display: none; }
	.v2-race__onglets a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--v2-r-pastille); background: var(--v2-papier); color: var(--v2-encre); font-size: 15px; text-decoration: none; white-space: nowrap; }
	.v2-race__onglets a[aria-current] { background: var(--v2-encre); color: var(--v2-papier); }
	html:has(.v2-race__onglets) { --v2-rangee: 56px; }
	.v2-chapitre p { font-size: 17px; line-height: 1.68; }
}
@media (max-width: 599px) { [data-v2-ma-commune-non] > a { display: inline-block; padding-block: 12px; margin-block: -12px; } }

/* ── Téléphone : l'espace fixe, une seule logique (03/11, audit : 192 px fixes sur 844, une pilule sur les boutons et le pied, « Sommaire » sur le texte).
   Reste toujours : la barre du bas (et le consentement, non touché).
   Se retire en descendant, revient en remontant : l'en-tête (v2.js, classe v2-entete-retire sur html).
   Une seule rangée collée par page, ce qui sert à filtrer ou se repérer : filtres, onglets, frise. Elle reste et monte prendre la place de l'en-tête.
   Ce qui ne sert qu'à se repérer en lisant (Sommaire, Voir la carte hors liste) : une rangée dans la page, qui part et revient avec l'en-tête. Rien ne flotte plus sur le contenu, sauf le plateau de comparaison, posé par le visiteur, et il s'arrête avec sa liste.
   Barrière : `top`, jamais `transform` : les panneaux en `position: fixed` vivent dans l'en-tête. ── */
@media (max-width: 759px) {
	html { --v2-haut-fixe: 72px; }
	html.v2-entete-retire:not(.v2-an-vue-carte):not(.v2-au-vue-carte) { --v2-haut-fixe: 0px; }
	.v2-entete { transition: top .18s ease; }
	html.v2-entete-retire:not(.v2-an-vue-carte):not(.v2-au-vue-carte) .v2-entete:not(:focus-within) { top: -84px; }
	html .v2-an { --v2-an-haut: var(--v2-haut-fixe); }
	html .v2-rh { --v2-rh-haut: var(--v2-haut-fixe); }
	html .v2-ali-rappel, html .v2-fp__fil, html .v2-race__onglets, html .v2-trouveur, html .v2-ag__frise.v2-agenda__mois, html .v2-recherche-page__familles, html .v2-cn-onglets, html .v2-an-barre__haut, html .v2-rh__barre { transition: top .18s ease; }
	html .v2-ali-rappel { top: var(--v2-haut-fixe); }
	html .v2-fp__fil, html .v2-race__onglets, html .v2-ag__frise.v2-agenda__mois, html .v2-recherche-page__familles, html .v2-cn-onglets { top: var(--v2-haut-fixe); }
	html .v2-filtres-rappel { top: var(--v2-haut-fixe) !important; transition: top .18s ease; }
	html:has(.v2-an-rang) { --v2-rangee: 52px; }
	html.v2-entete-retire a.v2-guide__retour, html.v2-entete-retire .v2-an-rang { top: -60px; }
	@media (prefers-reduced-motion: reduce) { .v2-entete, html .v2-an-barre__haut, html .v2-fp__fil, html .v2-race__onglets, html .v2-rh__barre, html .v2-ali-rappel, html .v2-filtres-rappel, a.v2-guide__retour, .v2-an-rang { transition: none; } }
}

/* ── Le bas de fiche, un seul (cg_v2_signaler, v2/signalement.php) : une ligne qui s'ouvre, une ligne discrète. ── */
.v2-bas { margin: 24px 0 0; padding: 0; border-top: 2px dotted var(--v2-lin); display: grid; }
.v2-bas__visible { padding: 12px 0 0; }
.v2-bas__visible > *, .v2-bas__visible .v2-fp-registre p { margin: 0; }
.v2-bas__pli { border-bottom: 1px solid var(--v2-lin); }
.v2-bas__pli > summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 12px; min-height: 48px; padding: 8px 26px 8px 0; cursor: pointer; font-size: 15px; line-height: 1.35; list-style: none; position: relative; color: var(--v2-noisette); }
.v2-bas__pli > summary::-webkit-details-marker { display: none; }
.v2-bas__pli > summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.v2-bas__pli[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.v2-bas__pli > summary { justify-content: flex-start; }
.v2-bas__faits { color: var(--v2-noisette); font-size: 14.5px; }
.v2-bas__geste { color: var(--v2-rouille); font-weight: 600; }
.v2-bas__pli--gerer > summary { min-height: 44px; }
.v2-bas__pli--gerer .v2-bas__geste { color: var(--v2-noisette); font-weight: 400; text-decoration: underline; text-decoration-color: var(--v2-lin); text-underline-offset: 3px; }
.v2-bas__corps { display: grid; gap: 14px; max-width: 42rem; padding: 2px 0 18px; font-size: 15px; }
.cg-v2 main .v2-bas .v2-bas__corps h2, .cg-v2 main .v2-bas .v2-bas__corps .cg-provenance-title { font-size: 19px; line-height: 1.25; margin: 0 0 6px; }
.v2-bas__corps > * { margin-top: 0; margin-bottom: 0; }
.v2-bas__corps .v2-signaler { margin: 0; }
.v2-bas__invite { margin: 0; }
.v2-bas__corps .cg-fiche-actions { display: grid; gap: 12px; justify-items: start; }
.v2-bas__corps .cg-pro-retrait { display: grid; gap: 6px; justify-items: start; font-size: 15px; }
.v2-bas__corps .cg-pro-retrait button, .v2-bas__corps .cg-pro-retrait .cg-button-secondary, .v2-bas__corps .cg-pro-retrait__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--v2-r-pastille); background: var(--v2-sable); color: var(--v2-encre); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.v2-bas__corps .cg-fiche-actions section, .v2-bas__corps .cg-fiche-actions > div { background: none; border: 0; padding: 0; margin: 0; box-shadow: none; }

/* Aucun avis et personne de connecté : deux lignes au lieu d'un bloc (la même carte sur chaque fiche). Le CSS seul : la zone reste un îlot, un membre y voit son formulaire tel quel. 03/11 (connecte) : seulement avec le lien de connexion ; le membre dont l'avis est en relecture, refusé, ou le gérant, voyaient leur phrase masquée et un bandeau sur une colonne de 90 px. */
*:has(> .cg-reviews > .cg-reviews__empty):has(> .cg-reviews > .cg-reviews__gate .cg-reviews__login-link) { padding: 16px 18px; min-height: 0; }
.cg-reviews:has(> .cg-reviews__empty):has(> .cg-reviews__gate .cg-reviews__login-link) { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 3px 20px; margin: 0; padding: 0; background: none; box-shadow: none; }
.cg-reviews:has(> .cg-reviews__empty):has(> .cg-reviews__gate .cg-reviews__login-link) > .cg-reviews__header { margin: 0; }
.cg-reviews:has(> .cg-reviews__empty):has(> .cg-reviews__gate .cg-reviews__login-link) .cg-reviews__title { margin: 0; font-size: 20px !important; line-height: 1.2; }
.cg-reviews:has(> .cg-reviews__empty):has(> .cg-reviews__gate .cg-reviews__login-link) > .cg-reviews__empty { margin: 0; font-family: var(--v2-texte); font-size: 15px; line-height: 1.42; color: var(--v2-brun); }
.cg-reviews:has(> .cg-reviews__empty):has(> .cg-reviews__gate .cg-reviews__login-link) > .cg-reviews__gate { margin: 9px 0 0; padding: 0; background: none; border: 0; }
.cg-reviews:has(> .cg-reviews__empty):has(> .cg-reviews__gate .cg-reviews__login-link) > .cg-reviews__gate > p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.cg-v2 main .cg-reviews .cg-reviews__login-link { min-height: 44px; padding: 8px 14px; border: 0; border-radius: var(--v2-r-pastille); background: var(--v2-peche); color: var(--v2-encre); font: inherit; font-weight: 500; text-wrap: balance; cursor: pointer; } /* le même bouton partout : il avait deux couleurs selon la famille */
@media (min-width: 640px) {
	.cg-reviews:has(> .cg-reviews__empty):has(> .cg-reviews__gate .cg-reviews__login-link) { grid-template-columns: minmax(0, 1fr) auto; }
	.cg-reviews:has(> .cg-reviews__empty):has(> .cg-reviews__gate .cg-reviews__login-link) > .cg-reviews__gate { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}

/* Pages d'information : le pli Sommaire est une ligne, pas un grand cadre vide. */
@media (max-width: 959px) { .v2-page-texte__pli { padding: 0 16px; } .v2-page-texte__pli > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; } }

/* ── Système (finition, 03/11) ── Titres : les outils et les formulaires au niveau liste ; le nom d'une commune au niveau fiche. Longueur de ligne : le texte courant s'arrête à --v2-lecture, quelle que soit la largeur de son bloc. */
.v2-compat .v2-geo__tete h1, .v2-quiz .v2-geo__tete h1, .v2-prenom .v2-geo__tete h1, .v2-geo > .v2-geo__tete h1, .cg-v2 .v2-porte__tete h1 { font-size: var(--v2-h1-liste); max-width: none; }
.cg-v2 :is(h1, h2, h3), .v2-pied__titre { text-wrap: balance; } /* plus de « ? » seul sur sa ligne */
.v2-au-colonne .v2-au-tete h1 { font-size: var(--v2-h1-liste); }
.v2-au-tete > div > h1 { font-size: var(--v2-h1-fiche); }
.cg-v2 main :is(.v2-second, .v2-note, .v2-texte-court > p, .v2-faq p, .v2-guide-publie__chapeau, .v2-contenu-v1 > p, .v2-contenu-v1 > ul, .v2-contenu-v1 > ol, .v2-passage__texte > p, .v2-page-texte__flux > p, .v2-page-texte__flux > ul, .v2-sources-liste > li, .v2-g-note, .v2-c-etapes > li, .v2-c-cite p, .v2-citation p, .v2-rc-carte > p, .v2-rc-carte__suite > p, .v2-rc-detail__corps > p, .v2-chapitre__accroche, .v2-rh__f > p, .v2-rh__intro-s, .v2-rh__reperes-t > p, .v2-rh__note > p, .cg-porte__familles-absent, .v2-au-regle__cit p, .v2-au-depart__phrase, .v2-au-connait p, .v2-an-fiche__atouts, .v2-provenance-texte p) { max-width: var(--v2-lecture); }
/* Les surfaces sombres dans les deux modes : l'anneau passe au clair. */
.v2-pied, .v2-bloc--encre, .v2-pc-autour, .v2-pc-urgent, .v2-c-essentiel, .v2-lecture__reponse, .v2-passage--en-une-phrase, .v2-au-regle, .v2-mc-faire, .v2-univers__autour, .v2-pc-quiz, .v2-pc-ch--encre, .v2-rh__quiz, .v2-rh__plateau, .v2-al-plateau, .v2-ali-lu, .v2-fp-gestion, .v2-gl-rayon--urgence, .cg-v2 a.v2-gl-moment--urgence, .v2-g > .v2-g-forme--geste, .v2-g-mot--non, .v2-regle--interdit, .v2-race .v2-quotidien, .v2-rr, .v2-le__feuille-j, .v2-pc-billets a, .v2-ag-cal td.est-plein, .v2-source-bulle { --v2-focus: #F2A979; }
.v2-tailles { --v2-focus: var(--v2-focus-page); }
a.v2-pc-quiz:focus-visible, a.v2-pc-autour:focus-visible, a.v2-univers__autour:focus-visible, .cg-v2 a.v2-gl-moment:focus-visible, .v2-pc-billets a:focus-visible { outline-color: var(--v2-focus-page); }
/* Accrocs : la page courante n'est pas un lien ; une indication trop longue se coupe sur des points de suite, pas au couteau. */
.v2-pagination span.page-numbers { cursor: default; }
/* Une rangée qui défile (v2.js) : le bord s'efface du côté où il reste quelque chose, sur 40 px partout (28 px laissaient lire le mot coupé, tour visiteur du 05/11). Sur une barre collée, qui a son propre fond, un fondu de ce fond : un masque laisserait voir la page derrière. */
.a-avant:not(.v2-fp__fil, .v2-race__onglets, .v2-cn-onglets), .a-apres:not(.v2-fp__fil, .v2-race__onglets, .v2-cn-onglets) { --g: 0px; --d: 0px; -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--g), #000 calc(100% - var(--d)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--g), #000 calc(100% - var(--d)), transparent); }
.a-avant:not(.v2-fp__fil, .v2-race__onglets, .v2-cn-onglets) { --g: 40px; }
.a-apres:not(.v2-fp__fil, .v2-race__onglets, .v2-cn-onglets) { --d: 40px; }
.v2-fp__fil.a-apres::after, .v2-race__onglets.a-apres::after, .v2-cn-onglets.a-apres::after { content: ""; flex: none; position: sticky; right: calc(var(--v2-gouttiere) * -1); align-self: stretch; width: 40px; margin-left: -40px; background: linear-gradient(to left, var(--v2-creme), transparent); pointer-events: none; }
.v2-fp__fil a[aria-current] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--v2-rouille); }
.v2-rangee__f { display: none; position: sticky; flex: none; align-self: center; z-index: 2; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--v2-papier); color: var(--v2-encre); box-shadow: var(--v2-ombre-flotte); font-size: 20px; line-height: 1; cursor: pointer; }
.v2-rangee__f:hover { background: var(--v2-peche); }
.v2-rangee__f--avant { left: 2px; margin-right: -36px; }
.v2-rangee__f--apres { right: 2px; margin-left: -36px; }
.a-avant > .v2-rangee__f--avant, .a-apres > .v2-rangee__f--apres { display: block; }
.a-avant:has(> .v2-rangee__f), .a-apres:has(> .v2-rangee__f) { -webkit-mask-image: none; mask-image: none; }
@media print { .v2-rangee__f { display: none !important; } }
/* Le panneau Filtres dans la couche commune. */
.v2-feuille--filtres .v2-couche__corps.v2-facettes { margin: 0; border-radius: 0; background: none; }
.v2-feuille--filtres .v2-facettes__form { display: block; padding: 8px 20px 0; }
.v2-feuille--filtres .v2-facettes__actions { bottom: 0; padding: 10px 0 12px; z-index: 1; }
.v2-feuille--filtres .filter-options { max-height: none; overflow: visible; }
.v2-feuille--filtres .filter-group details > summary { min-height: 44px; display: flex; align-items: center; gap: 8px; }
.v2-feuille--filtres .v2-an-rangee { flex-wrap: wrap; overflow: visible; margin-bottom: 10px; }
@media (min-width: 760px) { .v2-feuille--filtres .v2-facettes__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; align-items: start; } .v2-feuille--filtres .v2-facettes__reserve, .v2-feuille--filtres .v2-facettes__actions, .v2-feuille--filtres .v2-an-rangee { grid-column: 1 / -1; } }
.cg-v2 input:placeholder-shown { text-overflow: ellipsis; }
/* Une action principale par écran : la carte-réponse d'une recherche a la sienne, le bouton du formulaire redevient second. */
.v2-recherche-page:has(.v2-rr) form .v2-bouton--plein { background: var(--v2-sable); color: var(--v2-encre) !important; }
/* La couche : même entrée partout, moins de mouvement si le visiteur le demande. D'une porte à l'autre, rien ne clignote. */
@keyframes v2-voile-entree { from { background-color: transparent; } }
@keyframes v2-couche-entree { from { transform: translateY(24px); opacity: 0; } }
html.v2-couche-bascule :is(.v2-panneau, .v2-feuille, .v2-couche__feuille) { animation: none !important; }
@media (prefers-reduced-motion: reduce) { :is(.v2-panneau, .v2-feuille, .v2-couche__feuille, .v2-auth__feuille) { animation: none !important; } }
@media (prefers-color-scheme: dark) and (max-width: 1099px) { .v2-panneau, .v2-feuille { background: rgba(0, 0, 0, .66); } }
/* Peu de hauteur (zoom à 400 %, téléphone couché) : rien ne reste collé, le contenu d'abord. */
@media (max-height: 420px) and (max-width: 1099px) { html:not(.v2-clavier-la) body.cg-v2:not(.cg-consent-ouvert) { --v2-couche-bas: 0px; } }
@media (max-height: 420px) { .v2-barre, .v2-an-barre__haut, .v2-fp__fil, .v2-rh__barre, .v2-agenda__mois, .v2-recherche-page__familles, .v2-facettes__actions, .v2-race__onglets, .v2-ali-rappel, .v2-filtres-rappel, .v2-fp__carte { position: static !important; } }
/* Cibles de 44 px : les pastilles et les boutons de geste, à toutes les largeurs. */
.v2-garder, .v2-trouveur__pastilles span, .v2-rh__portes a, .v2-tout__puces a, .cg-v2 .v2-filtre, .v2-v1 .cg-chip, .v2-an-sommaire, .v2-pagination .page-numbers, .prenom-exemple-item, .v2-produit-case__comparer, .cg-v2 summary.v2-pli, .v2-lieu-carte__repli, .v2-trouveur__plus > summary { min-height: 44px; }
.v2-pagination .page-numbers { min-width: 44px; }
.v2-c-lien--renvoi, .v2-renvoi a { position: relative; }
.v2-c-lien--renvoi::after, .v2-renvoi a::after { content: ""; position: absolute; inset: -15px; }
/* ¹² côte à côte : chacun garde sa largeur, sinon toucher le premier ouvre le second. */
.v2-renvoi:has(+ .v2-renvoi) a::after, .v2-renvoi a:has(+ a)::after { right: 0; }
.v2-renvoi + .v2-renvoi a::after, .v2-renvoi a + a::after { left: 0; }
.v2-renvoi--groupe a { white-space: nowrap; } /* UX-3 D7 : « sources 3 à 16 », un seul renvoi pour une suite de plus de 3 (v2/typographie.php) */
/* UX-3 D6 (14/11, repasse UX d'ab) : deux liens isolés, hors texte courant, dont la zone de toucher mesurée était de 22 px (fourchette de prix
   d'une fiche race) et 20 px (source du journal d'une fiche pro). Même geste que les renvois ci-dessus (mais par ::before) : une zone transparente de 12 px
   au-dessus et au-dessous (≈ 44 px), rien ne bouge à l'affichage. */
.v2-fait--prix a, .v2-fp-journal__quoi a { position: relative; }
.v2-fait--prix a::before, .v2-fp-journal__quoi a::before { content: ""; position: absolute; inset: -12px 0; } /* ::before : le ::after d'un lien externe porte sa flèche « ↗︎ » */
/* Au doigt, 44 px de zone sans rien changer au dessin (A11Y-1 D4, 14/11). Zones RÉELLES mesurées au banc à 390, au doigt (elementFromPoint depuis le centre) : seules ces cibles restaient sous 44. Deux limites gardées, par le dessin : des renvois collés (« 1 2 3 », 17 px, 2 px d'écart) gardent leur bande sans chevaucher le voisin (règles left/right: 0 ci-dessus, plus fortes) ; deux renvois l'un sous l'autre à 37 px se partagent l'écart. Les cases et boutons radio y sont déjà, par leur <label> ; les flèches de rangée ne sont servies qu'à la souris (v2.js, « (hover: hover) and (pointer: fine) »). */
@media (pointer: coarse) {
	.cg-v2 .v2-an-chapitre__tete p a { position: relative; }
	.cg-v2 .v2-an-chapitre__tete p a::before { content: ""; position: absolute; inset: -13px 0; } /* « La page Liège », « Tout à Namur » : 18 px de texte */
	.cg-v2 .v2-c-lien--renvoi::after { left: min(-15px, calc(50% - 22px)); right: min(-15px, calc(50% - 22px)); } /* un renvoi « 1 » de 6 px : 36 px de zone avec -15 px ; 44 ici */
	.cg-v2 .v2-race__tuiles .v2-fait--prix a::before { top: -16px; } /* la tuile coupe (overflow: hidden) 5 px sous le prix : la zone prend au-dessus, sur le libellé */
}
@media (max-width: 599px) {
	/* Pour un lien de texte seulement : la marge négative ramène dans le flux une boîte qui a son propre fond (carte de voisin, pastille) et la fait chevaucher ou mange son bas. */
	a.v2-fp-tete__phrase, .v2-rc-classement a, .v2-au-metiers a, .v2-pc-guide a, .v2-lp__autour :not(.v2-lieux-voisin) > a, .v2-rc-proches__action a, .v2-fp__petit a, a.v2-g-vers, a.v2-resultat__nom, .v2-au-l__nom a, a.v2-au-metiers__t, .cg-v2 .v2-ali-cout__nom a, a.v2-ali-mq__nom, a.v2-au-jour__q, .v2-g-renvoi a, .v2-rc-proche a, .v2-pc-agenda__t a, a.v2-pc-suite, .v2-pc-porte__st a, .v2-lp__autour a.cg-maillage-commune__lien, .v2-an-tri a, .v2-au-connait__liens a, .quiz-result-card-name a, a.v2-cj-billet__nom { display: inline-block; padding-block: 12px; margin-block: -12px; }   /* R2-152 (08/11) : 10 px laissaient 41 à 43 px (cibles-44-1458) ; la marge négative garde la mise en page */
	/* R2-152 v3 (mesure sans pose, secod-26) : deux liens empilés gardent leur extension vers le haut (10 px) pour ne pas recouvrir davantage leur voisin du dessus.
	   Liste de /communaute/ et titre « origine » de /races/ (entre la lettre ouverte et la liste des pays) : 10 px comme avant. Nom de carte d'aliment : 10 px en haut, 14 px en bas (44 px atteints, la carte précédente non touchée). */
	.v2-fa-carnet__deja a, .v2-rh__pays-t a { display: inline-block; padding-block: 10px; margin-block: -10px; }
	.v2-al-carte__nom a { display: inline-block; padding-top: 10px; margin-top: -10px; padding-bottom: 14px; margin-bottom: -14px; }
	/* Des noms sur une seule ligne courte : il leur faut davantage pour atteindre 44 px. */
	a.v2-resultat__nom { padding-block: 12px; margin-block: -12px; }
	a.v2-cj-veto__nom { padding-block: 12px; margin-block: -12px; }
}

/* ── Impression (finition, 03/11) : une feuille de lecture, sans l'habillage. Toujours en clair, même si l'appareil est en sombre : sur le papier, les fonds ne s'impriment pas, le texte clair des blocs bruns disparaîtrait. Les marques de données (jauges, barres : des <i>) gardent leur couleur. ── */
@media print {
	:root { color-scheme: light; --v2-creme: #FFFFFF; --v2-papier: #FFFFFF; --v2-encre: #2B1E15; --v2-brun: #4E3A2E; --v2-noisette: #6A5040; --v2-abricot: #E3763A; --v2-abricot-doux: #F2A979; --v2-rouille: #A4441A; --v2-rouille-fonce: #7A3112; --v2-peche: #F8DEC7; --v2-sauge: #E2E6D3; --v2-sur-sauge: #2B3A24; --v2-sur-miel: #3E2F12; --v2-sauge-fonce: #4A5E3F; --v2-miel: #F3E4BE; --v2-miel-fonce: #7A5A12; --v2-sable: #EDE2D1; --v2-lin: #E9DCCB; --v2-focus: #A4441A; }
	body.cg-v2 { background: none; color: #2B1E15; font-size: 11.5pt; line-height: 1.45; }
	.v2-entete, .v2-barre, .v2-pied, .cg-consent, .v2-evitement, .v2-ariane, .v2-guide__sommaire, .v2-guide__retour, a.v2-guide__retour, .v2-garder, .v2-bas, .v2-chemins, .v2-an-barre, .v2-an-panneau, .v2-an-pilule, .v2-au-panneau, .v2-au-pilule, .v2-fp__fil, .v2-race__onglets, .v2-rh__barre, .v2-ali-rappel, .v2-filtres-rappel, .v2-fp-avis, .cg-reviews, .v2-toast, .v2-auth, .v2-cl, .v2-an-carte, .v2-c-avance { display: none !important; }
	.v2-guide-publie::before, .v2-guide-propose::before { content: none !important; }
	.cg-v2 main *:not(i):not(svg):not(svg *):not(.v2-ali-barre) { color: #2B1E15 !important; background-color: transparent !important; background-image: none !important; box-shadow: none !important; text-shadow: none !important; }
	.cg-v2 main img, .v2-o-duo-chiens__sol, .v2-o-exemples__sol, .v2-ot-c__sol { filter: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
	.cg-v2 main i, .cg-v2 main .v2-ali-barre, .cg-v2 main svg { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.cg-v2 main :is(.v2-c-essentiel, .v2-lecture__reponse, .v2-passage--en-une-phrase, .v2-g-forme, .v2-g-sec, .v2-g-regle, .v2-regle, .v2-au-regle, .v2-bloc, .v2-chapitre, .v2-g-carte, .v2-g-duo__col, .v2-tableau) { border: 1px solid #2B1E15; border-radius: var(--v2-r-champ); padding: 10px 12px; }
	.cg-v2 main :is(.v2-bouton, .cg-button, .v2-geste > a) { min-height: 0; padding: 2px 8px; border: 1px solid #2B1E15; }
	.cg-v2 :is(h1, h2, h3, summary) { break-after: avoid; }
	.cg-v2 main :is(li, tr, figure, blockquote, .v2-g-carte, .v2-g-duo__col, .v2-rc-carte, .v2-faq > div) { break-inside: avoid; }
	.cg-v2 main img { max-height: 7cm; width: auto; object-fit: contain; }
	.cg-v2 main details > summary { list-style: none; }
	.cg-v2 main details > summary::after, .cg-v2 main details > summary::-webkit-details-marker { display: none; }
	.cg-v2 main details::details-content { display: block; content-visibility: visible; }
	/* La checklist : la feuille de l'extension cache tout ce qui n'est pas #page, absent de la V2 : la page sortait blanche. */
	html body:has(#cgoc-checklist) > :not(#page):is(main, .v2-contenu) { display: block !important; }
}


/* ── Les gestes : un champ, des puces, dans un panneau, le pied, une porte (cg_v2_dc_*, v2/porte-carnet.php) ── */
.v2-dc-f { display: grid; gap: 6px; min-width: 0; }
.v2-dc-f label { font-weight: 600; font-size: 15px; line-height: 1.3; }
.v2-dc-f__l { display: flex; align-items: center; gap: 8px; min-width: 0; }
.v2-dc-f__l input { flex: 1 1 auto; width: auto; min-width: 0; min-height: 44px; }
.v2-dc-f__l .v2-bouton { flex: none; min-height: 44px; margin: 0; }
.v2-dc-f .v2-champ { background: var(--v2-creme); box-shadow: inset 0 0 0 1px var(--v2-lin); }
.v2-dc-f--ligne { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
.v2-dc-f--poids .v2-dc-f__l input { flex: 0 0 76px; }
.v2-dc-puces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cg-v2 .v2-dc-puces a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 14px; border-radius: var(--v2-r-pastille); background: var(--v2-papier); color: var(--v2-encre); font-size: 15px; line-height: 1.15; text-decoration: none; }
.cg-v2 .v2-dc-puces a:hover { color: var(--v2-rouille); }
.v2-panneau__geste { display: grid; gap: 8px; margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--v2-noisette); }
.v2-panneau__geste > p { margin: 0; font-weight: 600; }
.v2-panneau__geste .v2-bouton--teinte { background: var(--v2-sable); }
/* Les menus de bureau (cartes-menus, 04/11). La cause des lignes étirées : une colonne de promesse à 5/12 qui ne laissait aux rubriques que 280 px, et le geste de la porte logé dans cette colonne, qui la rallongeait sans rien en face.
   Désormais : la promesse tient un petit tiers, le geste le haut de la colonne des rubriques, et les rangées se partagent la hauteur à parts égales, quelle que soit la longueur d'un intitulé. Une rubrique de plus que de paires : la première, la plus utile de chaque porte, prend toute la rangée, aucun trou. */
.v2-panneau__corps > .v2-panneau__geste { margin: 6px 20px; }
.cg-v2 .v2-panneau__geste .v2-dc-puces a { background: var(--v2-sable); } /* sur le papier du panneau, une pastille de papier ne se voyait plus */
@media (min-width: 768px) {
	.v2-panneau__rubriques { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(48px, 1fr); gap: 0 20px; align-content: stretch; }
	.v2-panneau__rubriques > li { min-width: 0; border-top: 1px solid var(--v2-sable); }
	.v2-panneau__rubriques > li:first-child, .v2-panneau__rubriques > li:first-child:nth-last-child(even) + li { border-top: 0; }
	.v2-panneau__rubriques > li:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
	.v2-panneau__rubriques a { height: 100%; align-items: center; padding: 6px 10px; border-radius: 12px; }
	.v2-panneau__rubriques a > span:first-child { min-width: 0; }
	.v2-panneau__n > span { display: none; }
}
@media (min-width: 1100px) {
	.v2-panneau__dedans { grid-template-columns: minmax(280px, 29%) minmax(0, 1fr); grid-template-rows: auto 1fr; }
	.v2-panneau__promesse { grid-column: 1; grid-row: 1 / 3; padding: 79px 32px 28px; }
	.v2-panneau__corps > .v2-panneau__geste { grid-column: 2; grid-row: 1; margin: 0 28px; padding: 18px 10px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; border-top: 0; border-bottom: 1px dashed var(--v2-noisette); }
	.v2-panneau__geste .v2-dc-f { flex: 1 1 auto; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; max-width: 620px; }
	.cg-v2 .v2-panneau__geste .v2-dc-puces a { padding: 4px 12px; }
	.v2-panneau__rubriques { grid-column: 2; grid-row: 2; padding: 10px 28px 18px; }
	.v2-panneau__promesse + .v2-panneau__rubriques { grid-row: 1 / 3; padding-top: 22px; }
	/* Le pied, même cause, même remède : la marque au-dessus, en bandeau, et les colonnes des portes à parts égales sur toute la largeur. Un intitulé tient sur sa ligne. */
	.v2-pied__dedans { grid-template-columns: repeat(var(--v2-pied-n, 5), minmax(0, 1fr)); }
	.v2-pied__marque { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; }
	.v2-pied__marque > p:not(.v2-pied__nom) { margin: 0; max-width: 72ch; }
	.v2-pied__nom { flex: none; margin: 0; }
}
@media (min-width: 768px) and (max-width: 1099px) { .v2-pied__dedans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) and (max-width: 1279px) { .v2-panneau__corps > .v2-panneau__geste { margin-inline: 18px; padding-inline: 8px; } .v2-panneau__rubriques { padding-inline: 18px; gap: 0 14px; } .v2-panneau__rubriques a { gap: 8px; padding-inline: 8px; font-size: 15.5px; } }
.v2-pied__pro .v2-dc-f { max-width: 460px; }
.v2-pied__pro .v2-dc-f .v2-bouton { --v2-teinte: var(--v2-peche); }
.cg-v2 .v2-pied__geste a { font-weight: 600; }
@media (max-width: 599px) { .v2-pied__plus { display: none; } }
/* Garder porte le nom de ce qu'on garde en texte caché : son bouton le contient, sinon, dans une rangée qui défile de côté, ce texte en absolu élargit la page. Sans poids : un Garder déjà placé reste placé. */
:where(.v2-garder) { position: relative; }
/* Une rangée qui défile coupe ce qui dépasse : l'anneau se voyait en deux crochets. Dedans, avec un filet clair : il se voit aussi sur une pastille foncée (chantier accessibilité, 03/11). */
.cg-v2 :is(.v2-pc-bascule, .v2-profil__themes, .v2-trouveur__pastilles, .v2-agenda__mois, .v2-recherche-page__familles, .v2-lieux__maille, .v2-robes, .v2-accueillir__departs, .v2-prenom__puces, .v2-metiers.v2-prestations, .v2-filtres, .v2-race__onglets, .v2-an-rangee, .v2-lieux__bascule > *, .v2-an-sommaire, .v2-cl__fam, .v2-am__portes, .v2-am__aussi, .v2-ag-frise, .v2-ag__types, .v2-rr__pastilles, .v2-cn-onglets, .cg-ep-nav__liste--bureau, .v2-tr-portes, .v2-tr-regles__l, .v2-tr-rang__l, .v2-tr-tuiles ul, .cg-bascule-parcs, .v2-rh__sit, .v2-rh__rail, .v2-rh__pays-l, .v2-rh__c-themes, .v2-pc-familles, .v2-pc-guides, .v2-o-route__nav ol, .v2-au-filtres, .v2-tout__puces, .v2-fp__fil, .v2-mp, .cg-hours-states) :focus-visible, .cg-v2 :is(.v2-pc-bascule, .v2-profil__themes, .v2-trouveur__pastilles, .v2-agenda__mois, .v2-recherche-page__familles, .v2-lieux__maille, .v2-robes, .v2-accueillir__departs, .v2-prenom__puces, .v2-metiers.v2-prestations, .v2-filtres, .v2-race__onglets, .v2-an-rangee, .v2-lieux__bascule > *, .v2-an-sommaire, .v2-cl__fam, .v2-am__portes, .v2-am__aussi, .v2-ag-frise, .v2-ag__types, .v2-rr__pastilles, .v2-cn-onglets, .cg-ep-nav__liste--bureau, .v2-tr-portes, .v2-tr-regles__l, .v2-tr-rang__l, .v2-tr-tuiles ul, .cg-bascule-parcs, .v2-rh__sit, .v2-rh__rail, .v2-rh__pays-l, .v2-rh__c-themes, .v2-pc-familles, .v2-pc-guides, .v2-o-route__nav ol, .v2-au-filtres, .v2-tout__puces, .v2-fp__fil, .v2-mp, .cg-hours-states) input:focus-visible + * { outline: 3px solid var(--v2-focus); outline-offset: -3px; box-shadow: inset 0 0 0 5px var(--v2-papier); }
/* Pages du compte, au téléphone : 44 px à toucher, le texte ne bouge pas (zone étendue, chantier accessibilité, 03/11). Le lien de phrase n'est pas concerné. */
@media (max-width: 799px) {
	.cg-v2 :is(label.v2-case, .v2-champ-ligne a, label.cg-mdp-afficher, .v2-compte a[href*="mot-de-passe-oublie"], .cg-forum__auteur a, .v2-surtitre a, .v2-contribs p > a, .v2-contribs__retirer > summary, .cg-fiche-card__name, .v2-ep-tete__nom, .v2-espace__main p > a[href*="/etablissements"], .v2-fa-carnet__deja a, .v2-rc__contient a, .v2-recette__ingredients a, p.v2-note > a:only-child, .cg-provenance-methode a, .v2-ali-ex__nom a, .v2-ali-bas__bloc p > a:first-child, .v2-bloc--teinte p > a:only-child) { position: relative; }
	.cg-v2 :is(label.v2-case, .v2-champ-ligne a, label.cg-mdp-afficher, .v2-compte a[href*="mot-de-passe-oublie"], .cg-forum__auteur a, .v2-surtitre a, .v2-contribs p > a, .v2-contribs__retirer > summary, .cg-fiche-card__name, .v2-ep-tete__nom, .v2-espace__main p > a[href*="/etablissements"], .v2-fa-carnet__deja a, .v2-rc__contient a, .v2-recette__ingredients a, p.v2-note > a:only-child, .cg-provenance-methode a, .v2-ali-ex__nom a, .v2-ali-bas__bloc p > a:first-child, .v2-bloc--teinte p > a:only-child)::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
	.cg-v2 .cg-edit-field input[type="file"] { min-height: 44px; }
	/* E1-CONSENT (L3, 21/11) : la zone étendue d'une case (label.v2-case::after, ci-dessus) passait AU-DESSUS de la case et des liens de son libellé (mesuré au banc, 21/11 : au centre de la case, l'élément touché est le libellé). La case et ses liens repassent dessus ; le reste de la zone de 44 px coche toujours. */
	.cg-v2 label.v2-case > input, .cg-v2 label.v2-case a { position: relative; z-index: 1; }
}
/* Un choix fait se dit aussi par un signe, pas seulement par sa couleur (chantier accessibilité, 03/11). Le signe se tait pour un lecteur d'écran : le bouton dit déjà « activé ». */
.v2-g-puce[aria-pressed="true"]::before, .v2-qz-rep__o button[aria-pressed="true"]::before, .v2-ali-cout__puce[aria-pressed="true"]::before, .v2-au-filtres button[aria-pressed="true"]::before, .v2-cl__fam button[aria-pressed="true"]::before, .v2-rh__s[aria-pressed="true"]::before, .v2-rh__c-themes button[aria-pressed="true"]::before, .v2-trouveur__pastilles input:checked + span::before, .v2-pc-so__e input:checked + span::after, .v2-so-envie input:checked + .v2-so-envie__boite::after, .v2-quiz .quiz-option[aria-checked="true"]::before { content: "\2713\00a0"; content: "\2713\00a0" / ""; font-weight: 700; }
.v2-so-envie input:checked + .v2-so-envie__boite { position: relative; }
.v2-so-envie input:checked + .v2-so-envie__boite::after { position: absolute; left: 12px; bottom: 4px; } /* sous le dessin, jamais sur le nom */
@media (min-width: 760px) { .v2-so-envie input:checked + .v2-so-envie__boite::after { left: auto; bottom: auto; top: 10px; right: 12px; } }

/* ── Infos pratiques, une seule forme (lot 1 UX/UI ; v2/infos-pratiques.php) : ce qu'on ne sait pas tient en une ligne discrète ; le texte libre se lit en lignes, à la taille du corps de texte. ── */
.v2-manque { margin: 0; font-size: 15px; line-height: 1.45; color: var(--v2-noisette); }
.v2-itin-lien { display: inline-block; padding: 4px 0; font-weight: 500; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.v2-lf__adresse .v2-itin-lien { display: block; width: fit-content; }
.v2-ip { list-style: none; margin: 0; padding: 0; display: grid; font-size: 16px; line-height: 1.35; }
.v2-ip li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1px 14px; margin: 0; padding: 7px 0; }
.v2-ip li + li { border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.v2-ip__q::first-letter { text-transform: uppercase; }
.v2-ip__v { font-weight: 600; font-variant-numeric: tabular-nums; }
.v2-ip__tete { font-weight: 600; padding-bottom: 3px; }
.v2-ip__tete + li { border-top: 0 !important; padding-top: 3px; }
.v2-ip .est-ferme { color: var(--v2-noisette); }
.v2-ip .est-ferme .v2-ip__v { font-weight: 400; }
.v2-lr__horaires { display: grid; gap: 2px; margin: 0 0 12px; }
.v2-lr__horaires .v2-note { margin: 0; }
.v2-lr__itin { margin: -6px 0 12px; }
.v2-al-carte__faits dd { white-space: pre-line; } /* Visites d'un refuge : une ligne par moment (cg_v2_carte_refuge) */

/* ── L'orpheline, une seule règle (lot 4 UX/UI, 05/11).
   Une grille courte de cartes (celles-ci) finit pleine, à toute largeur, sans media query : chaque carte part de --v2-carte-min et la dernière rangée partage la largeur. 3, 5, 6 ou 9 cartes : par trois ; 4 : quatre si elles tiennent, sinon deux et deux, jamais trois et une.
   Une liste qu'on parcourt (annuaire, communes, races, pays) finit à gauche : sa dernière carte garde la largeur de sa colonne, rien de plus. Une carte ouverte prend la rangée. Essai : lot4-sources/essai-grilles.mjs. ── */
.cg-v2 :is(.v2-rc-notes, .v2-rc-cartes, .v2-g-cartes:not(.v2-g-cartes--mots), .v2-g-choix__liste, .v2-c-dimensions, .v2-ac-sans__l, .v2-rc-liste--reperes, .v2-rc-liste--vigilance, .v2-rc-liste--eviter, .v2-c-libelles.v2-rc-liste, .v2-so-prepa .v2-so-route) { --v2-carte-min: 240px; --v2-carte-gap: 14px; display: flex; flex-wrap: wrap; }
.cg-v2 :is(.v2-rc-notes, .v2-rc-cartes, .v2-g-cartes:not(.v2-g-cartes--mots), .v2-g-choix__liste, .v2-c-dimensions, .v2-ac-sans__l, .v2-rc-liste--reperes, .v2-rc-liste--vigilance, .v2-rc-liste--eviter, .v2-c-libelles.v2-rc-liste, .v2-so-prepa .v2-so-route) > * { flex: 1 1 max(min(100%, var(--v2-carte-min)), 23%); min-width: 0; }
.cg-v2 :is(.v2-rc-notes, .v2-rc-cartes, .v2-g-cartes:not(.v2-g-cartes--mots), .v2-g-choix__liste, .v2-c-dimensions, .v2-ac-sans__l, .v2-rc-liste--reperes, .v2-rc-liste--vigilance, .v2-rc-liste--eviter, .v2-c-libelles.v2-rc-liste, .v2-so-prepa .v2-so-route):has(> :is(:nth-child(3), :nth-child(5), :nth-child(6), :nth-child(9)):last-child) > * { flex-basis: max(min(100%, var(--v2-carte-min)), 31%); }
.cg-v2 :is(.v2-rc-notes, .v2-rc-cartes, .v2-g-cartes:not(.v2-g-cartes--mots), .v2-g-choix__liste, .v2-c-dimensions, .v2-ac-sans__l, .v2-rc-liste--reperes, .v2-rc-liste--vigilance, .v2-rc-liste--eviter, .v2-c-libelles.v2-rc-liste, .v2-so-prepa .v2-so-route):has(> :nth-child(4):last-child) > * { flex-basis: max(min(100%, var(--v2-carte-min)), 23%, min(40%, calc((4 * var(--v2-carte-min) + 3 * var(--v2-carte-gap) - 100%) * 999))); }
.cg-v2 .v2-rc-cartes > .v2-rc-carte[open] { flex-basis: 100%; }
.cg-v2 .v2-c-dimensions { --v2-carte-min: 300px; }
.cg-v2 .v2-so-prepa .v2-so-route { --v2-carte-min: 260px; }

/* ══ Ce qui se touche (lot 5, 05/11, A14, A15, A16, A40). Une règle qui se dit en une phrase : ce qui est tout rond se touche, ce qui a un angle doux se lit.
   Le souligné ou la flèche disent le lien, ↗ dit qu'on quitte Caniguide. Un champ a un contour, une zone de toucher est une vraie hauteur. Essai : conception/lanes-0211/lot5-sources/essai-toucher.mjs ══ */
:root { --v2-r-etiquette: 6px; --v2-champ-part: 55%; }
@media (prefers-color-scheme: dark) { :root { --v2-champ-part: 52%; } } /* A11Y-2 D9 : 48 % laissait le champ de la carte miel sombre à 2,98:1 */

/* Étiquette : une information. Un angle doux, jamais la gélule d'un bouton. Les chiffres en rond (étapes, bornes) restent : personne ne les prend pour un geste. */
.cg-v2 :is(.v2-etiquette:not(a), .v2-regle-mini, .v2-pastille, .v2-lieu-carte__coches li, .v2-fp-tete__v li, .v2-lp__coches li, .v2-lf__especes li, .v2-rejoindre__metiers li, .v2-an-fiche__urgence, .cgoc-carte__profil, .v2-et > li) { border-radius: var(--v2-r-etiquette); }
.cg-v2 .v2-lp__coches li { min-height: 30px; padding-block: 3px; }
/* Une étiquette qui mène quelque part est un geste : elle garde la gélule. */
.cg-v2 a.v2-etiquette { border-radius: var(--v2-r-pastille); min-height: 44px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Lien : un texte de la couleur du texte ne se devine pas. Filet léger, il ne pèse pas sur un nom de carte. */
.cg-v2 :is(.v2-rh__lettre a, .v2-pc-avant a, .v2-act-tab__t a, li > p + a:last-child, li > a:not([class]):has(+ span), .v2-ot-c__lien a, .v2-bas__corps a, .v2-manque a, .v2-au-maitres a, .v2-au-aussi a, .v2-au-voisins a, .v2-rb-qui__suite a, .v2-pc-compte a, .v2-cj-gestes a, .v2-fo-avant__urgence a, .v2-an-urgence a, .v2-pc-verifier__fin a, .v2-rh__portes a:not(.v2-bouton), .v2-al-carte__nom a, .v2-au-l__nom a, a.v2-resultat__nom, .v2-act-tab__n1 a, .v2-act-tab__n2 a, .v2-act-tab__n3 a, .v2-ag-cal td a, .v2-an-tri a) { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 3px; }

/* Lien de sortie : la flèche, partout, en dur (la zone de toucher de ::after cède : un lien sortant seul a sa vraie hauteur). */
.cg-v2 a:is([target="_blank"], [href^="http"]:not([href*="caniguide"])):not(:has(img, svg), [href*="/mon-compte/"], .cg-consent a, .v2-sitepro-page a, label.v2-case a)::after { content: "\00a0\2197\FE0E" !important; content: "\00a0\2197\FE0E" / "" !important; position: static !important; inset: auto !important; width: auto !important; height: auto !important; transform: none !important; font-weight: 400; }

/* Case native : 20 px partout où un composant n'a pas choisi sa taille (13 px par défaut, 40 pages à 390). Sans poids : un composant garde la sienne. */
:where(.cg-v2) :where(input[type="checkbox"], input[type="radio"]) { width: 20px; height: 20px; flex: none; accent-color: var(--v2-encre); }
.cg-v2 .v2-al-carte__cmp input { width: 22px; height: 22px; margin: 0; }

/* Au bureau, 24 px au moins (2.5.8, A11Y-1 D1, 14/11) : les noms de pro sous un métier, 17 px de texte, prennent 7 px de zone vers le bas, dans le vide de leur ligne. En ligne, ce padding ne pousse rien (mesuré à Namur 1366 : liste 574,8 px avant et après ; inline-flex la faisait passer à 620,8) et ne prend rien au lien métier au-dessus. Au doigt, la règle des 44 px qui suit l'emporte (même poids, plus loin). */
.cg-v2 .v2-au-metiers p > a { padding-bottom: 7px; }
/* Zone de toucher : une vraie hauteur, au doigt, rien ne chevauche le voisin. a[data-v2-seul] : posé par la page (v2/typographie.php, cg_v2_lien_seul) sur tout lien seul dans sa ligne. */
@media (max-width: 799px), (pointer: coarse) {
	:where(a[data-v2-seul]) { display: inline-flex; align-items: center; min-height: 44px; } /* sans poids : un composant qui a sa propre disposition (barre du bas, carte) la garde, il ne reçoit que la hauteur */
	.cg-v2 :is(.v2-pc-agenda__t a, .v2-pc-compte a, .v2-ali-cout__nom a, a.v2-itin-lien, a.v2-au-jour__q, a.v2-au-metiers__t, a.v2-au-voisines__nom, .v2-o-coches__l a, .v2-au-connait__liens a, .v2-message--alerte a, a.v2-eleveur__nom, .v2-rv__rdv a, .v2-race__surtitre a, .v2-rc-classement a, .v2-ariane a, .cg-breadcrumb-item a, .v2-contact p > a, .v2-lf__porte p > a, .v2-so-veto p > a, .v2-so-etape__d p > a, .v2-tr-cloture__n a, .v2-an-urgence a, .v2-metiers.v2-an-autres a, .v2-au-aussi a, a.cg-provenance-link, a.cg-lien-sortant, .v2-trouveur__compte a, .v2-act-tab__t a, .v2-sources a, .v2-guide-publie__auteur a, .v2-rb-qui__f a) { display: inline-flex; align-items: center; min-height: 44px; margin-block: 0; padding-block: 0; }
	/* Une marge négative plus ancienne faisait passer la ligne suivante par-dessus le lien : le doigt la touchait, elle. */
	.cg-v2 :is(a[data-v2-seul], a.v2-resultat__nom, .v2-al-carte__nom a, .v2-au-l__nom a, .v2-au-tete__ou a) { position: relative; z-index: 1; }
	.cg-v2 .v2-rc-classement a { margin-block: 0; }
	.cg-v2 .v2-lieux-cmp th a { display: flex; align-items: center; min-height: 44px; }
	/* Un lien qui couvre toute sa carte par ::after : il ne doit pas être positionné, sinon il ne couvre plus que lui-même. */
	.cg-v2 :is(.v2-pi-renvois li, .v2-prochaine__v1 li, .cg-espace-pro__liste li, .v2-accueil .v2-pc-guide h3) > a { position: static; z-index: auto; }
	.cg-v2 .v2-au-metiers p > a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; margin-block: 0; }
	/* Premier écran d'une commune (voie fiabilité, 05/11, mesure : ces 44 px en vraie hauteur faisaient descendre la 2e réponse de Namur de 775 à 888 px, la 1re de 457 à 510). La zone reste, elle ne pousse plus : le nom et sa question gardent 44 px sur le vide et sur la ligne de description, qui ne se touchent pas ; z-index : la ligne suivante ne passe pas devant le doigt. */
	.cg-v2 .v2-au-l__nom a { display: inline-block; min-height: 0; padding-block: 1px 22px; margin-block: -1px -22px; }
	.cg-v2 .v2-au-jour a.v2-au-jour__q { min-height: 0; padding-block: 22px 0; margin-block: -22px 0; position: relative; z-index: 1; }
	.cg-v2 li.v2-au-jour__gens + .v2-au-jour__l { padding-top: 14px; } /* sous « N professionnels ici », la question garde 36 px sans prendre la zone de ces liens */
	.cg-v2 .v2-au-tete__ou a { box-sizing: border-box; padding-bottom: 14px; margin-block: -4px -18px; } /* 44 px, surtout sur le titre dessous (le fil au-dessus passe devant, z-index 26 de annuaire.css), le texte reste à sa place */
	.cg-v2 .v2-au-regle__plus > summary { margin-block: -8px; position: relative; z-index: 1; }
	.cg-v2 .v2-an p.v2-an-urgence > a { display: inline; min-height: 0; padding-block: 10px; } /* un lien dans une phrase : posé en bloc, il passait la ligne d'urgence de 83 à 129 px au-dessus de la première fiche (mesure, 05/11) */
	.cg-v2 .v2-ariane { padding-top: 0; } /* les 44 px du fil portent déjà son air : la marge de 16 px en plus descendait toutes les pages */
	.cg-v2 .v2-an .v2-ariane { margin-bottom: 0; }
	.cg-v2 .v2-ali-tete { margin-top: 2px; }
	.cg-v2 .v2-bas__pli > summary { position: relative; z-index: 2; }
	/* Deux liens séparés par un point : l'un sous l'autre au doigt, le point seul en bout de ligne s'efface à l'œil, il reste au lecteur d'écran. */
	.cg-v2 .v2-so-etape__d p:has(> a + a) { display: flex; flex-wrap: wrap; column-gap: 16px; font-size: 0; }
	.cg-v2 .v2-so-etape__d p:has(> a + a) > a { font-size: 16px; }
	:where(li) > :where(a[target="_blank"]) { display: inline-flex; align-items: center; min-height: 44px; }
	/* Un titre qui porte un lien : la zone descend sur le texte de la carte. Sans poids : un composant qui a déjà sa disposition la garde. */
	:where(h2, h3, h4) > :where(a:first-child) { display: inline-block; padding-block: 12px; margin-block: -12px; position: relative; z-index: 1; }
	.cg-v2 p.v2-note > a[data-v2-seul]:not([target="_blank"])::after { content: none; }
	.cg-v2 .cg-breadcrumb-item a { padding-inline: 4px; margin-inline: -4px; }
	/* Titre de carte qui porte son lien : la zone descend sur le texte de la carte, sans pousser la page. */
	.cg-v2 :is(.v2-ot-c h2, .v2-dc-geste h3, .v2-o-porte h3) a { display: inline-block; padding-block: 10px; margin-block: -10px; }
	/* R2-152d (09/11, secod-d5 ; reste de R2-152 mesuré par cibles-44g le 09/11 à 01:01) : sur les cartes de /tout-caniguide/ et /accueillir/, ces liens titres faisaient 43,5 px
	   (23,5 px de titre + 2 × 10). 11 px de chaque côté, repris par la marge : 45,5 px de zone, rien ne bouge à l'écran (padding et marge, jamais un min-height fractionnaire). */
	.cg-v2 :is(.v2-dc-geste h3, .v2-o-porte h3) a { padding-block: 11px; margin-block: -11px; }
	/* R2-152d : la case de /accueillir/ (22 px) se touche par son label, haut de 32 px sur une ligne (outils.css l. 67). En border-box (.cg-v2 *), min-height compte le padding :
	   une boîte de 44 px au moins, 6 px de chaque côté repris par la marge ; elle occupe toujours sa place d'avant (32 px, ou la hauteur du texte sur plusieurs lignes),
	   dans les 8 px de padding de son li : la liste ne bouge pas (correction de secod-26 : sans min-height, la boîte n'aurait fait que 35-36 px). */
	.cg-v2 .v2-o-coches label { min-height: 44px; padding-block: 6px; margin-block: -6px; }
	/* R2-176 (09/11, secod-d5 ; décision secod-f2 : voie A) : les mots-liens de « Ce mot dans les autres compositions » (fiche d'aliment, single-aliment_chien.php l. 186)
	   faisaient 16 à 34 px de large. 44 px de large au moins, le mot centré : l'écart entre les mots grandit (aucun chevauchement neuf) ; la ligne flex passe à la ligne
	   (aliments.css l. 407 : flex-wrap: wrap). Ici, dans le bloc mobile : le bureau ne change pas. */
	.cg-v2 .v2-ali-cote__sans a { min-width: 44px; justify-content: center; }
	.cg-v2 :is(.v2-au-regle__plus > summary, .v2-bas__pli > summary) { min-height: 44px; display: flex; align-items: center; }
	.cg-v2 .v2-entete__marque { display: inline-flex; align-items: center; min-height: 44px; }
	/* R2-200 (09/11, secod-83 ; cibles-44g-1518 au banc V2, juge contre la référence R2-152 cibles-44g-1622) : trois familles que R2-152 n'avait pas mesurées.
	   Titre de carte de /produits/ : 40 px (v2.css l. 612 : 10 px de chaque côté) → 12 px de chaque côté, repris par la marge : 44 px de zone, rien ne bouge à l'écran. */
	.cg-v2 .v2-produit-carte__nom a { padding-block: 12px; margin-block: -12px; }
	/* « À lire aussi » d'une fiche produit : le lien de marque seul (« Kerbl », « curli ») faisait 29 à 36 px de large sur 44 de haut. Seul dans son li : 44 px de large au moins. */
	.cg-v2 .v2-liens-fiche a { min-width: 44px; }
	/* La source d'« Avant de la faire » (fiche recette, pages.css l. 441 : inline-flex, min-height 28px) : 28 à 39 px. En border-box, min-height compte le padding :
	   une boîte de 44 px au moins, 8 px de chaque côté repris par la marge ; elle occupe toujours sa place d'avant (28 px, ou la hauteur du texte sur plusieurs lignes).
	   Une source courte (« FDA », 40,7 px) : 44 px de large au moins, seule dans son li. */
	.cg-v2 .v2-rc__avant a.v2-note { min-height: 44px; min-width: 44px; padding-block: 8px; margin-block: -8px; }
}

/* R2-205 (09/11, secod-83 ; R2-203 mesuré : cibles-44h tactile 820×1180 et 1180×820, contre un contrôle sans tactile) : au-delà de 799 px, le bloc ci-dessus
   ne vaut que par (pointer: coarse), une tablette ; certaines zones réglées pour le téléphone y chevauchent un voisin. Chaque règle DÉPLACE la zone de 44 px vers
   l'espace libre : padding asymétrique repris par la marge, la boîte de marge ne change pas, ni le texte ni la mise en page ne bougent. Sans effet à 799 px et moins. */
@media (min-width: 800px) and (pointer: coarse) {
	/* Accueil, titre de rayon (24-25 px de texte) : la règle des titres (12 px de chaque côté) descendait de 10 px sur le premier lien de guide ; 20 px au-dessus
	   (surtitre et image : pas des liens), 2 px dessous. */
	.cg-v2 .v2-pc-guide h3 > a { padding-block: 20px 2px; margin-block: -20px -2px; }
	/* Fil d'Ariane posé sur l'en-tête d'une commune : 41 px libres entre l'en-tête et le lien de province (3 px de chevauchement) ; la zone de 44 px monte de 4 px
	   (les liens de l'en-tête s'arrêtent bien au-dessus), le texte reste : 8 px de padding en haut, marge -4 px / +4 px. Règle de R2-205 v2, reprise à l'identique.
	   La v2 a été retirée sur un écart d'1 pixel (paire-fenetre-1712, Arlon 1180), que les mesures attribuent à l'INJECTION, dans la mesure, d'une feuille qui touche
	   le fil (la feuille neutre en 1712, la règle elle-même en 1740), et non à la règle servie : servi avec cette règle (1712) et servi sans aucune règle (1720, 1738),
	   la capture est la même à l'octet. */
	.cg-v2 .v2-ariane:has(+ .v2-au-corps .v2-au-tete__ou) .cg-breadcrumb-item a { padding-top: 8px; margin-block: -4px 4px; }
	/* « Manger le plus proche » (a.v2-au-jour__q) montait de 22 px sur « N professionnels ici » (3 px). Mesuré (v1, 16:25) : 4 px dessous touchaient le nom du lieu
	   (.v2-au-l__nom) ; 41 px seulement entre les deux voisins, 44 n'y tiennent pas sans bouger la page. 18 px au-dessus, rien dessous : 40 px, aucun chevauchement
	   (la règle de taille sur tablette, 24 ou 44 px, est posée à Jordan : SOIR-11 § 6). */
	.cg-v2 .v2-au-jour a.v2-au-jour__q { padding-top: 18px; margin-top: -18px; }
	/* « Les textes et leurs sources » (summary) descendait de 8 px sur le lien « chiens interdits » (3 px) : la boîte monte de 3 px, le texte reste. */
	.cg-v2 .v2-au-regle__plus > summary { padding-top: 6px; margin-block: -11px -5px; }
}
/* R2-203 (même décision), à l'ordinateur (pointeur fin, 800 px et plus ; le bloc du téléphone, 799 px et moins, n'est pas touché) : quatre familles sous 24 px
   au relevé bureau-1932 (1280). Liens INLINE sans fond : un padding vertical agrandit la zone sans bouger la ligne ; le lien en flex reprend son padding par la marge. */
@media (min-width: 800px) and (pointer: fine) {
	/* Onglets d'activités (/clubs-canins/) : 18 px dans une cellule de tableau (2 px de padding, 2 px d'espacement) : 4 px de chaque côté, 26 px (secod-4c ; mesuré à 19:47 : la ligne voisine est à 28 px environ, esp-1947). */
	.cg-v2 .v2-act-tab__t tbody th a { padding-block: 4px; }
	/* Titre de carte de /produits/ : 23 px. */
	.cg-v2 .v2-produit-carte__nom a { padding-block: 1px; }
	/* Renvoi « Fiche : … » d'une citation (/origine-pays/belgique/) : 16 px dans le pied (13,5 px) ; la zone monte sur la fin de la citation, qui n'est pas une cible. */
	.cg-v2 .v2-rb-cite footer a { padding-block: 4px; }
	/* « Manger le plus proche » et ses voisins (/communes/<commune>/) : 22,4 px ; au-dessus, la bordure et 9 px de padding de la ligne (pas une cible). */
	.cg-v2 .v2-au-jour a.v2-au-jour__q { padding-top: 2px; margin-top: -2px; }
}

/* Champ : un contour qu'on voit partout, tiré de l'encre de la surface où il est (les blocs qui gardent les jetons du clair aussi). Une ombre intérieure : aucune dimension ne bouge, le fond de chaque composant reste à lui. */
.cg-v2 :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="hidden"], [type="file"], [type="submit"], [type="button"], [type="reset"], [type="image"]), select, textarea) { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--v2-encre) var(--v2-champ-part), transparent); }
.cg-v2 :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="hidden"], [type="file"], [type="submit"], [type="button"], [type="reset"], [type="image"]), select, textarea):hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--v2-encre) 80%, transparent); }
.cg-v2 :is(input, select, textarea)[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--v2-rouille); }
/* Le contour passe sur l'enveloppe quand le champ est posé dans une gélule avec son bouton. */
.cg-v2 :is(.v2-pc-champ, .v2-pc-cherche, .v2-gl-question__champ) { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--v2-encre) var(--v2-champ-part), transparent); }
.cg-v2 :is(.v2-pc-champ, .v2-pc-cherche, .v2-gl-question__champ) input, .cg-v2 :is(.v2-pc-champ, .v2-pc-cherche, .v2-gl-question__champ) input:hover { box-shadow: none; }
/* iOS agrandit la page sous 16 px au focus d'un champ. */
@media (max-width: 799px) { .cg-v2 :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="submit"], [type="button"]), select, textarea) { font-size: max(16px, 1em); } }
@media (forced-colors: active) { .cg-v2 :is(input, select, textarea) { border: 1px solid CanvasText; } }

/* Focus : là où un parent coupe ce qui dépasse, l'anneau rentre dans la boîte (l'écran, une bande arrondie, une rangée qui défile). Ce qui n'a pas de marge intérieure garde son anneau dehors, sinon il court sur le libellé. */
.cg-v2 :is(.v2-barre__lien, .v2-chemins__lien, .v2-geo__voisins a, .v2-rc-signe ul a, .v2-droit__fil a, .v2-o-frise > summary):focus-visible { outline-offset: -3px; }
.cg-v2 .v2-rb-chien a:focus-visible { outline: none; }
.cg-v2 .v2-rb-chien:has(a:focus-visible) { outline: 3px solid var(--v2-focus); outline-offset: 2px; } /* l'anneau sur la carte : elle coupe ce qui dépasse, et son lien n'a pas de marge */
.cg-v2 .v2-regle:not(.v2-regle--inconnu) { --v2-focus: #F2A979; }
.cg-v2 .v2-rh__rail .v2-rc__lien:focus-visible { outline: none; }
.cg-v2 .v2-robes :focus-visible { outline-offset: 2px; }
.cg-v2 .v2-robes { padding-inline: 7px; margin-inline: -7px; }
.cg-v2 .v2-o-frise > summary { padding-inline: 8px; }
.cg-v2 .v2-robes { padding-block: 7px; margin-block: -7px; }
.cg-v2 .v2-tr-regles__l a { padding-inline: 8px; }
.cg-v2 .v2-pc-guides .v2-pc-guide a:focus-visible { outline-offset: 2px; }
.v2-rh, .v2-rh__choix { overflow-clip-margin: 8px; }

/* L'écran races de l'Espace pro : une colonne. La grille de cases en faisait trois, le choix de race s'étirait sur 158 px de haut, son anneau collait au libellé voisin. */
.v2-cadre.v2-pe fieldset#v2-a-races { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
/* Un titre de carte qui mène quelque part : sa flèche. Une tuile qui se touche : son chevron. */
.cg-v2 :is(.v2-dc-geste h3, .v2-o-porte h3) a::after { content: "\00a0→"; color: var(--v2-rouille); font-weight: 400; }
.cg-v2 .v2-tout__liste a { position: relative; padding-right: 34px; }
.cg-v2 .v2-tout__liste a::after { content: "›"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 22px; line-height: 1; color: var(--v2-rouille); }
.cg-v2 .v2-cc__toutes > summary { list-style: none; gap: 10px; }
.cg-v2 .v2-cc__toutes > summary::-webkit-details-marker { display: none; }
.cg-v2 .v2-cc__toutes > summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.cg-v2 .v2-cc__toutes[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
/* Un choix de quiz : une gélule avec son bord, plus une bande pâle qu'on prenait pour un champ vide. */
.cg-v2 .v2-quiz .quiz-option { border-radius: var(--v2-r-pastille); } /* PV-06 (14/11, décision de Claude V2) : la gélule voulue, par son jeton (--v2-r-pastille) au lieu de 26 px hors des jetons (M-0408, R2-114) : la même forme qu'avant, un jeton au lieu d'une valeur. Le jeton de la carte (24 px) aurait laissé 4 px de bord droit sur 52 px de haut. */
.cg-v2 .v2-quiz .quiz-option:not([aria-checked="true"]) { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--v2-encre) 38%, transparent); }
.cg-v2 .v2-quiz .quiz-option:not([aria-checked="true"]):hover { background: var(--v2-sable); }
/* Un choix fait n'est pas l'action à faire : le bouton plein reste seul à dire « allez-y » (Adulte et Voir sa ration, côte à côte). */
.cg-v2 .v2-o-rc__age input:checked + span, .cg-v2 .v2-ot-f .v2-o-rc__age input:checked + span, .cg-v2 .v2-outil .cgoc-form--etapes .cgoc-stade .cgoc-options label:has(input:checked) { background: var(--v2-peche); color: var(--v2-encre); box-shadow: inset 0 0 0 2px var(--v2-encre); }
/* La réponse longue d'un guide reste claire en mode clair : son anneau abricot (pour le bloc brun) y faisait 1,9. */
@media (prefers-color-scheme: light) { .v2-lecture__reponse--longue, .v2-source-bulle, .v2-race .v2-quotidien:not(.est-repondu) .v2-quotidien__questions, .v2-rh__quiz { --v2-focus: #7A3112; } }
/* Les renvois : lisibles dans le bloc brun (2,18 en sombre), un bord sur les fonds où leur pastille disparaissait (COUV-R33-5). */
.cg-v2 :is(.v2-c-essentiel, .v2-lecture__reponse, .v2-passage--en-une-phrase, .v2-au-regle, .v2-rr) a.v2-c-lien--renvoi { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.cg-v2 .v2-renvoi a { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--v2-brun) 28%, transparent); }
/* Une aide de champ qui dépasse encore finit sur des points de suite, jamais au couteau. */
.cg-v2 .cg-revendiquer-recherche input::placeholder { font-size: 14.5px; }
.cg-v2 input { text-overflow: ellipsis; }
@media (max-width: 799px) { .cg-v2 .v2-ali-barre-res .v2-trouveur__tri select { font-size: 16px; } }
/* Formulaire public : une marge sous l'en-tête, comme les pages qui ont leur fil d'Ariane ; l'aide n'est plus collée au champ. */
.cg-v2 .v2-cadre > :is(.cg-confirm, .v2-vide):first-child { margin-top: clamp(24px, 4vw, 48px); }
.cg-v2 .v2-cadre.v2-proposer > .v2-porte__tete:first-child { padding-top: clamp(16px, 2.5vw, 28px); }
.cg-v2 .cg-revendiquer-recherche + * { margin-top: 10px; }
/* Geste : une seule taille de texte. Appeler, le geste principal, s'écrivait à 15 px à côté de ses voisins à 17 (COUV-R21-14). */
.cg-v2 .v2-geste > :is(a, span) { font-size: 17px; }
/* Le fil d'Ariane dont les liens ont grandi garde sa ligne de base ; deux renvois collés se lisent comme deux. */
.cg-v2 :is(.v2-ariane, .cg-breadcrumb, .cg-breadcrumb-list, .cg-breadcrumb ol) { align-items: center; }
.cg-v2 a.v2-c-lien--renvoi + a.v2-c-lien--renvoi, .cg-v2 sup:has(> a.v2-c-lien--renvoi) + sup:has(> a.v2-c-lien--renvoi) { margin-left: .4em; } /* deux renvois, chacun dans son exposant : le même écart (« s6s5 » se lisait d'un bloc, tour visiteur du 05/11) */
/* ══ fin du lot 5 ══ */

/* ══ R2-152 (08/11, secod-d5) : cibles tactiles d'au moins 44 px au téléphone. Mesure : conception/recette-fonctionnelle-0711/pages-publiques-6d/cibles-44-1458/
   (1 229 cibles < 44 px sur 39 pages, 52 signatures). Rien ne change au-dessus de 599 px. Les cases et boutons radio ne sont pas touchés ici : leur <label> est
   mesuré d'abord (la zone cliquable réelle est souvent le label). ══ */
@media (max-width: 420px) {
	/* En-tête : quatre icônes de 44 px au lieu de 40 ; les 16 px se reprennent sur l'écart de la barre et le logo (zoom .78 → .72). Rien d'autre ne bouge. */
	.v2-entete__barre { gap: 0; }
	.v2-entete__marque .v2-logo { zoom: .72; }
	.v2-entete__icone, .v2-entete__commune { width: 44px; min-width: 44px; }
}
@media (max-width: 599px) {
	/* Boutons ‹ › des rangées : le bouton garde ses 36 px (sa marge de -36 px dans la rangée, son ombre) ; seule la ZONE DE TOUCHER grandit de 4 px
	   de chaque côté, par un pseudo-élément (le bouton sticky est son bloc conteneur). Retouche de secod-26 (R2-152 v2). */
	.cg-v2 .v2-rangee__f::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; }
	/* Petits boutons et liens isolés : hauteur ou largeur minimale de 44 px. */
	.cg-v2 .v2-rc__cmp, .cg-v2 .v2-o-frise button, .cg-v2 .v2-prenom .v2-prenom__puces .prenom-exemple-item, .cg-v2 a.cgoc-lien-guide, .cg-v2 a.cgoc-lien-regle, .cg-v2 a.cgoc-lien-annuaire { min-height: 44px; }
	/* Le tableau des activités (table-layout: fixed, 7 colonnes) n'est pas touché : un min-width y ferait déborder les liens sur la cellule voisine (secod-26). */
	.cg-v2 .v2-o-frise button { min-width: 44px; }
	/* pastilles de prénoms : outils.css (.v2-prenom .v2-prenom__puces .prenom-exemple-item, 3 classes, chargé après v2.css) les tient à 40 px ; 4 classes ici. */
	.cg-v2 a.cgoc-lien-guide, .cg-v2 a.cgoc-lien-regle, .cg-v2 a.cgoc-lien-annuaire { display: inline-flex; align-items: center; }
}
@media (max-width: 599px) {
	/* R2-152b (08/11, secod-d5 ; décision secod-f2) : les cibles restantes, sans changer l'apparence. Une zone de toucher élargie par un pseudo-élément
	   invisible quand le lien a un fond ou des voisins proches ; une hauteur ou largeur minimale quand rien ne bouge à l'œil (0,3 à 1 px).
	   Hors patch, au critère WCAG 2.5.8 AA (secod-f2) : le tableau des activités (41×48, l'élargir déborderait), la carte des provinces (liste
	   équivalente servie), les mentions de source de /communes/ (liens en ligne dans une phrase). */
	.cg-v2 .v2-rh__lettres a, .cg-v2 .v2-rh__portes a, .cg-v2 .v2-ariane a, .cg-v2 .cg-breadcrumb-item a, .cg-v2 .v2-act__une h3 a { position: relative; }
	/* Lettres de /races/ (40 px, 4 px d'écart) : 2 px de chaque côté, les zones se touchent sans se chevaucher. */
	.cg-v2 .v2-rh__lettres a::after { content: ''; position: absolute; inset: 0 -2px; }
	/* Mots courts (« Pros », « Asie », « Sortir ») : 7 px de chaque côté ; le fil a 8 px, un « / » et 8 px entre deux liens, les portes 18 px. */
	.cg-v2 .v2-rh__portes a::after, .cg-v2 .v2-ariane a::after, .cg-v2 .cg-breadcrumb-item a::after { content: ''; position: absolute; inset: 0 -7px; }
	/* Sauf le fil posé sur l'en-tête d'une commune (/communes/<commune>/) : il recouvre déjà de 4 px le lien « province » de dessous, et ses mots font 44 px de large. */
	.cg-v2 .v2-ariane:has(+ .v2-au-corps .v2-au-tete__ou) a::after { content: none; }
	/* Nom d'activité court (« IGP ») : 5 px de chaque côté ; à droite, le nombre de clubs n'est pas une cible. */
	.cg-v2 .v2-act__une h3 a::after { content: ''; position: absolute; inset: 0 -5px; }
	.cg-v2 .v2-al-carte__nom a { min-width: 44px; }
	/* Titres des guides de l'accueil : 43 px avec 12 px ; 1 px de plus vers le bas, la marge négative le reprend. */
	.cg-v2 .v2-pc-guide h3 a { padding-bottom: 13px; margin-bottom: -13px; }
	/* Nom de l'étiquette du jour (accueil, 43,7 px) : 1 px de plus vers le bas, repris par la marge (un min-height décalait de 0,3 px tout ce qui suit). */
	.cg-v2 a.v2-pc-fiche__nom { padding-bottom: 1px; margin-bottom: -1px; }
	.cg-v2 .v2-prenom__apercu summary { min-height: 44px; }
}
@media (max-width: 599px) {
	/* R2-152c (08/11, secod-d5 ; famille L0-PUB D) : deux cibles hors des 40 pages de R2-152, sans changer l'apparence.
	   « Sources » des fiches (summary.cg-sources__resume, 42 px avec ses 9 px) : 2 px de plus vers le bas, repris par la marge.
	   Pastilles de filtre des fiches de marque (.v2-mp__puces a, 40 px de fond, 4 px entre deux rangées) : la zone de toucher déborde de 2 px en haut
	   et en bas par un pseudo-élément invisible ; deux rangées se touchent sans se chevaucher, le fond garde ses 40 px. */
	.cg-v2 summary.cg-sources__resume { padding-bottom: 11px; margin-bottom: -2px; }
	.cg-v2 .v2-mp__puces a { position: relative; }
	.cg-v2 .v2-mp__puces a::after { content: ''; position: absolute; inset: -2px 0; }
}
/* ══ fin de R2-152 ══ */

/* Réglage 1 (Jordan, 13/11 : « lire sa commune dans l'en-tête », téléphone compris). La commune RETENUE (attribut data-v2-entete-commune-nom, posé par v2.js ; « data-v2-commune-retenue » existe déjà, autour.php, et v2.js cache ce qui le porte) s'écrit avec son
   picto sous 1100 px et de 1100 à 1199 px, où seul le picto restait ; sans commune, rien ne change. PAR CONSTRUCTION, pas par des largeurs comptées :
   le bouton commune est le seul élément de la barre qui rétrécit ; il prend la place qui reste, quels que soient les autres boutons (visiteur, membre,
   pro avec son bouton « Pro »), et le nom se coupe (…), plafonné à 11 caractères au bureau comme aujourd'hui. Le logo ne rétrécit plus pour lui. Jusqu'à 1440 px ; au-delà, rien ne change.
   Jusqu'à 460 px, le nom passe sous le picto (comme les libellés de la barre du bas) ; au-delà, à côté. Le nom entier reste au survol et à la lecture
   (title et aria-label, v2.js). v1 (df70031e) bornait la largeur par des calc qui ignoraient le bouton « Pro » : nom sur le logo de 380 à 414 px,
   barre débordante à 600 px (relecture de dd, 14/11). */
@media (max-width: 1440px) {
	.v2-entete__barre:has(.v2-entete__commune[data-v2-entete-commune-nom]) .v2-entete__outils { flex: 1 1 auto; min-width: 0; justify-content: safe flex-end; }
	.v2-entete__outils > .v2-entete__commune[data-v2-entete-commune-nom] { flex: 0 1 auto; width: auto; min-width: 44px; max-width: 220px; padding: 0 10px; gap: 6px; }
	.v2-entete__outils > .v2-entete__commune[data-v2-entete-commune-nom] > span { position: static; width: auto; height: auto; clip-path: none; min-width: 0; max-width: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (min-width: 421px) and (max-width: 1440px), (min-width: 340px) and (max-width: 420px) { .v2-entete__barre:has(.v2-entete__commune[data-v2-entete-commune-nom]):not(:has(.v2-entete__pro--compte)) .v2-entete__marque { flex-shrink: 0; } }
@media (min-width: 421px) and (max-width: 1440px) { .v2-entete__barre:has(.v2-entete__pro--compte):has(.v2-entete__commune[data-v2-entete-commune-nom]) .v2-entete__marque { flex-shrink: 0; } }
@media (min-width: 1100px) and (max-width: 1440px) { .v2-entete__outils > .v2-entete__commune[data-v2-entete-commune-nom] > span { max-width: 11ch; } } /* au bureau, le plafond d'aujourd'hui (v2.css l. 799) */
@media (max-width: 1099px) { .v2-entete__outils > .v2-entete__commune[data-v2-entete-commune-nom] > span { font-size: 14px; } }
@media (max-width: 460px) {
	.v2-entete__outils > .v2-entete__commune[data-v2-entete-commune-nom] { flex-direction: column; justify-content: center; gap: 1px; padding: 0 4px; }
	.v2-entete__outils > .v2-entete__commune[data-v2-entete-commune-nom] > span { max-width: 100%; font-size: 11px; line-height: 1.15; font-weight: 600; }
	.v2-entete__outils > .v2-entete__commune[data-v2-entete-commune-nom] svg { width: 20px; height: 20px; flex: none; }
}
@media (min-width: 421px) and (max-width: 460px) { .v2-entete__barre:has(.v2-entete__commune[data-v2-entete-commune-nom]):not(:has(.v2-entete__pro--compte)) .v2-entete__marque .v2-logo { zoom: .82; } }
/* Trois cas où le nom ne se lirait pas (deux à quatre lettres) : le picto seul, comme avant. Mesuré sur la copie, 14/11, avec de vrais comptes jetables :
   sous 340 px ; un pro jusqu'à 420 px (cinq boutons : « Sai… », et les icônes entraient de 7 px dans la marge à 380 px ; sous 380 px son bouton commune
   est déjà caché) ; de 1100 à 1127 px (« Arlon » n'est entier qu'à partir de 1128 px pour un visiteur, 1116 px pour un membre ou un pro). */
@media (max-width: 339px), (min-width: 1100px) and (max-width: 1127px) { .v2-entete__outils > .v2-entete__commune[data-v2-entete-commune-nom] > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
/* PV-42 (14/11) : le rappel discret, un pro et un outil, là où la lecture se coupe (v2/chemins.php, cg_v2_rappel_html). Un contour et non un aplat : il ne se confond
   pas avec les raccourcis du guide (pastilles pleines). Cibles de 44 px ; un libellé long passe à la ligne, jamais au-delà de la colonne. */
.v2-rappel { display: flex; flex-wrap: wrap; gap: 8px; max-width: var(--v2-lecture); min-width: 0; margin: 0; }
.v2-rappel__lien { display: inline-flex; flex-wrap: wrap; align-items: center; column-gap: 8px; max-width: 100%; min-height: 44px; box-sizing: border-box; padding: 9px 16px; border: 1px solid var(--v2-abricot-doux); border-radius: 22px; color: var(--v2-encre); font-size: 15px; font-weight: 500; line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.v2-rappel__lien:hover, .v2-rappel__lien:focus-visible { background: var(--v2-peche); }
.v2-rappel__quoi { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--v2-rouille-fonce); }

@media (max-width: 420px) {   /* un pro : le picto seul et la barre d'avant, à l'identique (logo qui se resserre, outils fixes) */
	.v2-entete__outils:has(.v2-entete__pro--compte) > .v2-entete__commune[data-v2-entete-commune-nom] > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.v2-entete__barre:has(.v2-entete__pro--compte):has(.v2-entete__commune[data-v2-entete-commune-nom]) .v2-entete__outils { flex: none; min-width: auto; }
	.v2-entete__outils:has(.v2-entete__pro--compte) > .v2-entete__commune[data-v2-entete-commune-nom] { width: 44px; padding: 0; }
}

/* ═══ RDV-UX-V2-1911 (e3, 19/11 ; Jordan : « rends tout cohérent et propre … ne remets plus de design de l'ancienne version ») ═══
   Les écrans des demandes de rendez-vous (pages du lien visiteur, rubrique « Rendez-vous » de l'Espace pro, signalement, export) en composants V2.
   AJOUTS SEULEMENT, préfixés .v2-rdv : aucune règle existante n'est modifiée.
   ① Les boutons V2 dans l'Espace pro : la rubrique est servie dans .v2-espace__rubrique.v2-v1 (v2/parts/espace-pro.php l. 172), où la règle de
     compatibilité « .v2-v1 button » (l. 382, spécificité 0,1,1) l'emporte sur « .v2-bouton--plein » (0,1,0) : le bouton devient papier sur papier.
     Sous .v2-rdv (0,2,0), chaque bouton reprend SA forme V2 (mêmes valeurs que l. 102-106). */
.v2-rdv .v2-bouton--plein { background: var(--v2-encre); color: var(--v2-papier) !important; }
.v2-rdv .v2-bouton--plein:hover { background: #3B2A1F; }
.v2-rdv .v2-bouton--teinte { background: var(--v2-teinte, var(--v2-sable)); color: var(--v2-encre) !important; }
.v2-rdv .v2-bouton--teinte:hover { background: var(--v2-lin); }
.v2-rdv .v2-bouton--lien { background: transparent; color: var(--v2-rouille) !important; padding: 0 6px; min-height: 44px; }
/* ② La rubrique et la page du lien : des cartes séparées, la tête de carte (référence et pastille d'état) sur une ligne. */
.v2-rdv { display: grid; gap: 16px; }
.v2-rdv-fiche { display: grid; gap: 16px; }
.v2-rdv-fiche__titre { margin: 8px 0 0; }
.v2-rdv-carte { border: 1px solid var(--v2-lin); }
.v2-rdv-carte__tete { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.v2-rdv-lien { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(24px, 4vw, 48px); }
.v2-rdv-lien .v2-rdv-carte { max-width: 640px; }
.v2-rdv-lien__titre { margin: 0; font-size: clamp(24px, 4vw, 32px); }
/* ③ Un geste : un bouton V2 qui ouvre son formulaire (<details>, sans script) ; le triangle natif est retiré. */
.v2-rdv-gestes { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.v2-rdv-geste > summary { list-style: none; cursor: pointer; }
.v2-rdv-geste > summary::-webkit-details-marker { display: none; }
.v2-rdv-geste[open] { flex-basis: 100%; }
.v2-rdv-geste__form { display: grid; gap: 12px; margin-top: 12px; }
.v2-rdv-carte__abus { border-top: 1px solid var(--v2-lin); padding-top: 8px; }
