/* ═══════════════════════════════════════════════════════════════════════
   govioletgo — LA PEAU. Une seule feuille, pour TOUTES les pages.
   Essai à blanc du 20.08.2026, 23h32.

   ⚠ LA RÈGLE : aucune page n'a de couleur à elle. Si une page a besoin
   d'une couleur, elle la prend ici, ou elle ne l'a pas. C'est ce qui rend
   la dérive impossible — et c'est pour cela que, plus bas, cette feuille
   NEUTRALISE les couleurs écrites en dur dans les icônes des pages.

   LES SEULES COULEURS DU SITE
     fond      #FFFFFF   blanc pur, partout, sans exception
     texte     #1A1A20   ·  gris #6E6A78  ·  pâle #9B96A6
     traits    #E6E4EA
     violet    #7A5CC4   ·  violet clair #A78BE0
     JAMAIS de doré. JAMAIS de marine en aplat.

   LE VIOLET NE SERT QU'À QUATRE CHOSES
     1 le logo · 2 le contour d'un champ au clic · 3 les liens
     4 UN SEUL bouton d'action principal par page (.b-primaire)
   ═══════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap;
             src: url('/polices/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap;
             src: url('/polices/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap;
             src: url('/polices/poppins-700.woff2') format('woff2'); }

:root {
    --fond:   #FFFFFF;
    --texte:  #1A1A20;
    --gris:   #6E6A78;
    --pale:   #9B96A6;
    --trait:  #E6E4EA;
    /* 28.10.2026 — « moins de violet, plus de blanc, de transparent et de noir » (la propriétaire) : l'accent des pages devient
       le noir ; le violet de la marque ne reste que dans le logo (ses couleurs sont écrites dans le dessin, Logo.php). */
    --violet: #111113;
    --violet-clair: #52525b;
    --violet-marque: #7A5CC4;
    --colonne: 720px;
    --marge: 24px;
    color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--fond); }
body {
    background: var(--fond);
    color: var(--texte);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ─────────── LA COLONNE, « comme un livre » ───────────
   L'en-tête, le contenu et le pied sont alignés sur la MÊME colonne.
   C'est l'écart entre les trois qui faisait « pas fini ». */
.page, header.haut > .dedans, footer.bas > .dedans, main.ecran {
    width: 100%;
    max-width: var(--colonne);
    margin: 0 auto;
    padding-left: var(--marge);
    padding-right: var(--marge);
}

/* ─────────── L'EN-TÊTE, IDENTIQUE SUR TOUTES LES PAGES ─────────── */
header.haut { background: var(--fond); padding-top: max(14px, env(safe-area-inset-top)); }
header.haut > .dedans {
    display: flex; align-items: center; gap: 6px;
    min-height: 56px;
}
header.haut .marque { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
header.haut .marque .logo { height: 30px; width: auto; display: block; }
header.haut .vide { margin-right: auto; }

.h-lien {
    color: var(--gris); text-decoration: none; font-size: 15px;
    min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px;
    border-radius: 999px;
}
.h-lien:hover { color: var(--texte); }
.h-entrer {
    color: var(--texte); text-decoration: none; font-weight: 600; font-size: 15px;
    min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px;
    border: 1px solid var(--trait); border-radius: 999px; background: var(--fond);
    white-space: nowrap;
}
.h-entrer:hover { border-color: var(--violet-clair); }

/* les deux panneaux du haut : le globe et les neuf points */
details.h-menu { position: relative; }
details.h-menu > summary {
    list-style: none; cursor: pointer; color: var(--gris);
    min-width: 44px; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
details.h-menu > summary::-webkit-details-marker { display: none; }
details.h-menu > summary:hover { background: rgba(122, 92, 196, 0.07); color: var(--texte); }
details.h-menu[open] > summary { background: rgba(122, 92, 196, 0.13); color: var(--texte); }

.h-voile { position: fixed; inset: 0; background: rgba(26, 26, 32, 0.16); z-index: 30; }
.h-panneau {
    position: absolute; right: 0; top: calc(100% + 12px); z-index: 31;
    width: 360px; background: var(--fond);
    border: 1px solid var(--trait); border-radius: 20px; padding: 20px;
    box-shadow: 0 22px 50px rgba(26, 26, 32, 0.16);
    text-align: left;
}
.h-panneau h2 {
    font-family: 'Poppins', sans-serif; font-size: 17px; color: var(--texte);
    margin-bottom: 14px;
}
.h-panneau-bas {
    font-size: 13px; color: var(--gris); margin-top: 14px;
    padding-top: 14px; border-top: 1px solid var(--trait);
}

/* les tuiles des portes */
.h-tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.h-tuile {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    text-align: center; text-decoration: none; color: var(--texte);
    font-size: 13px; line-height: 1.25; padding: 14px 6px;
    border-radius: 14px; min-height: 96px;
    border: 0; background: transparent; font-family: inherit; width: 100%;
}
button.h-tuile { cursor: pointer; }
button.h-tuile:hover, button.h-tuile:focus-visible { background: rgba(122, 92, 196, 0.06); }
.h-tuile-fermee { color: var(--pale); cursor: not-allowed; }
.h-etiquette {
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--gris); background: var(--fond);
    border: 1px solid var(--trait); border-radius: 999px; padding: 2px 8px;
}

/* la liste des langues, avec sa recherche */
.h-cherche-langue { margin-bottom: 10px; }
.h-langues { max-height: 300px; overflow-y: auto; }
.h-langue {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 11px 12px; border-radius: 12px; text-decoration: none;
    color: var(--texte); font-size: 15px; min-height: 44px;
}
.h-langue:hover, .h-langue:focus-visible { background: rgba(122, 92, 196, 0.06); }
.h-langue-actuelle { font-weight: 600; }
.h-langue-actuelle::after { content: '·'; color: var(--violet); margin-left: auto; font-size: 22px; }

/* ─────────── LE CONTENU ─────────── */
main.ecran { flex: 1; padding-top: 28px; padding-bottom: 48px; }

h1 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--texte);
     font-size: 30px; line-height: 1.2; margin-bottom: 20px; }
h2 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--texte);
     font-size: 20px; margin: 32px 0 12px; }
h3 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--texte);
     font-size: 17px; margin: 22px 0 8px; }
p  { margin-bottom: 14px; max-width: 65ch; }
a  { color: var(--violet); }
.lien { color: var(--violet); font-weight: 600; text-decoration: none; }
.lien:hover { text-decoration: underline; }
.note { color: var(--gris); font-size: 15px; margin-bottom: 14px; }
.fil  { color: var(--gris); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; margin-bottom: 8px; }
.manque { color: var(--texte); background: rgba(122, 92, 196, 0.06); border-left: 3px solid var(--violet);
          padding: 12px 14px; border-radius: 0 12px 12px 0; margin-bottom: 14px; }
.sous, .sous-bouton, .compteur, .date, .etiq, .quand { color: var(--gris); }
.pale, .a-remplir { color: var(--pale); }

/* ─────────── LES BOUTONS ───────────
   Neutres par défaut. UN SEUL bouton violet par page : .b-primaire. */
.b, .b-sec, button.b, a.b, .petit, button[type="submit"] {
    font-family: inherit; font-size: 16px; font-weight: 600;
    min-height: 48px; padding: 12px 20px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--fond); color: var(--texte);
    border: 1px solid var(--trait); border-radius: 999px;
    text-decoration: none; cursor: pointer; width: 100%; margin-bottom: 10px;
}
.b:hover, .b-sec:hover, button[type="submit"]:hover { border-color: var(--violet-clair); }
.petit { width: auto; min-height: 40px; padding: 8px 16px; font-size: 14px; margin-bottom: 6px; }
.enligne { display: inline-block; width: auto; }
.enligne .petit { width: auto; }

/* LE bouton d'action principal — un par page, jamais deux */
.b-primaire, .b.b-primaire {
    background: var(--violet); color: var(--fond); border-color: var(--violet);
}
.b-primaire:hover { filter: brightness(0.92); }   /* pas une couleur de plus : la même, assombrie */
button[disabled], .b[disabled] { opacity: 0.5; cursor: not-allowed; }
.bientot, .b-fournisseur .bientot {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--gris); background: rgba(155, 150, 166, 0.08);
    border: 1px solid var(--trait); border-radius: 999px; padding: 2px 9px;
}

/* ─────────── LES CHAMPS ─────────── */
.champ, input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=search], input[type=date], select, textarea {
    width: 100%; font-family: inherit; font-size: 17px; color: var(--texte);
    background: var(--fond); border: 1px solid var(--trait); border-radius: 14px;
    padding: 14px 16px; margin-bottom: 14px; min-height: 52px;
}
.champ:focus, input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--violet);          /* le violet, usage n° 2 */
    box-shadow: 0 0 0 3px rgba(122, 92, 196, 0.14);
}
.coche, .radio {
    display: flex; align-items: center; gap: 12px; min-height: 48px;
    border: 1px solid var(--trait); border-radius: 14px; padding: 10px 14px; margin-bottom: 10px;
}
.coche input, .radio input { width: 22px; height: 22px; accent-color: var(--violet); }
.deux, .trois { display: flex; flex-wrap: wrap; gap: 10px; }
.deux > *, .trois > * { flex: 1 1 160px; }

/* ─────────── CARTES, LISTES, PASTILLES ─────────── */
.carte, .admin-ligne, .avis, .interet, .tuile, .modif, .piece-dossier, .avert,
.phrase, .conversation, .ouvert, .attente, .code-essai, .qr-cadre, dl.fiche {
    background: var(--fond);
    border: 1px solid var(--trait);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}
.carte { display: block; text-decoration: none; color: var(--texte); }
.carte:hover { border-color: var(--violet-clair); }
.carte h3 { margin: 6px 0 10px; }
.avert { border-left: 3px solid var(--violet); border-radius: 0 16px 16px 0; }
.phrase { font-family: 'Poppins', sans-serif; }
.ligne, .carte-bas, .carte-haut { display: block; margin-bottom: 6px; }
.carte-haut { display: flex; align-items: center; gap: 8px; }
.cat { color: var(--gris); font-weight: 600; font-size: 13px; }

.badge, .essai, .statut, .statut-publiee, .statut-brouillon, .statut-en_pause,
.badge-declare, .badge-piece_fournie, .badge-piece_controlee, .badge-aucune {
    display: inline-block; font-size: 12px; font-weight: 600;
    letter-spacing: 0.04em; padding: 3px 10px; border-radius: 999px;
    background: var(--fond); color: var(--gris); border: 1px solid var(--trait);
}
.masque { display: inline-block; background: rgba(155, 150, 166, 0.28); color: transparent;
          border-radius: 6px; padding: 0 26px; }
.passee { color: var(--gris); font-weight: 600; }

dl.fiche dt { font-family: 'Poppins', sans-serif; color: var(--gris);
              font-size: 13px; letter-spacing: 0.04em; margin-top: 14px; }
dl.fiche dd { font-size: 17px; }
dl.fiche dt:first-child { margin-top: 0; }
ul.journal, ul.faits, ul.manquants { list-style: none; }
ul.journal li, ul.faits li { padding: 10px 0; border-bottom: 1px solid var(--trait); font-size: 15px; }
.tris { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tris .petit.actif { border-color: var(--violet); color: var(--violet); }
.portes, .tableau { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.bulle { background: rgba(155, 150, 166, 0.08); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
.bulle.moi { background: var(--fond); border: 1px solid var(--trait); }
.ou { display: flex; align-items: center; gap: 14px; color: var(--gris);
      font-size: 14px; margin: 18px 0; }
.ou::before, .ou::after { content: ''; flex: 1; height: 1px; background: var(--trait); }

/* ─────────── LE PIED ─────────── */
footer.bas { background: var(--fond); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
footer.bas > .dedans {
    border-top: 1px solid var(--trait);          /* le filet, à la largeur de la colonne */
    padding-top: 18px;
    display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center;
}
footer.bas a { color: var(--gris); text-decoration: none; font-size: 13px;
               min-height: 34px; display: inline-flex; align-items: center; }
footer.bas a:hover { color: var(--texte); }
footer.bas .zone { color: var(--pale); font-size: 12px; width: 100%; }

/* ⚠ AUCUNE BARRE D'ONGLETS EN BAS, SUR AUCUNE PAGE, JAMAIS. */
nav.barre { display: none !important; }

/* ─────────── LES ICÔNES ───────────
   ⚠ C'est ici que la dérive meurt : quelle que soit la couleur écrite en
   dur dans le code d'une page, la feuille la remplace. Une icône suit la
   couleur du texte qui l'entoure, et rien d'autre. Le logo est le seul
   dessin qui garde ses couleurs — c'est l'usage n° 1 du violet. */
svg:not(.logo):not(.carte-suisse) [stroke]:not([stroke="none"]) { stroke: currentColor; }
svg:not(.logo):not(.carte-suisse) [fill]:not([fill="none"]) { fill: currentColor; }
svg:not(.logo) { color: inherit; }
/* Une icône dans un lien suit le texte du lien, pas la couleur des liens :
   sinon une icône devient violette pour la seule raison qu'on peut cliquer. */
a .icone, a .icone-grille, a .tuile-icone, .h-tuile svg, .carte svg { color: var(--texte); }
.icone, .icone-grille, .tuile-icone { display: inline-block; vertical-align: middle; }

/* ─────────── L'ACCESSIBILITÉ ─────────── */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px;
}
.visuellement-cache {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ─────────── TÉLÉPHONE ─────────── */
@media (max-width: 700px) {
    :root { --marge: 18px; }
    h1 { font-size: 25px; }
    header.haut > .dedans { min-height: 52px; }
    header.haut .marque .logo { height: 26px; }
    .h-lien { padding: 0 6px; font-size: 14px; }
    .h-panneau {
        position: fixed; left: 12px; right: 12px; top: 70px; width: auto;
        max-height: calc(100dvh - 86px); overflow-y: auto;
    }
    .h-tuile { font-size: 12px; padding: 12px 4px; min-height: 92px; }
    .portes, .tableau { grid-template-columns: 1fr; }
}

/* ─────────── L'ACCUEIL ───────────
   La même peau que partout : ce bloc ne fait que centrer. Aucune couleur
   qui ne soit pas déjà déclarée plus haut. */
body.est-accueil main.ecran {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding-top: 6vh; padding-bottom: 6vh;
}
.ac-logo { margin-bottom: 30px; }
.ac-logo .logo { height: 76px; width: auto; display: block; }   /* ≈ 58 px de lettre */

.ac-barre {
    display: flex; align-items: center; gap: 12px;
    width: 100%; max-width: 620px; height: 56px;
    background: var(--fond); border: 1px solid var(--trait); border-radius: 999px;
    padding: 0 22px; box-shadow: 0 1px 5px rgba(26, 26, 32, 0.06);
    margin-bottom: 0;
}
.ac-barre:focus-within {
    border-color: var(--violet);                 /* le violet, usage n° 2 */
    box-shadow: 0 0 0 3px rgba(122, 92, 196, 0.14);
}
.ac-loupe { flex: none; color: var(--gris); }
.ac-barre input {
    flex: 1; border: 0; outline: 0; background: transparent; padding: 0;
    margin: 0; min-height: 0; font-size: 17px; height: 100%; border-radius: 0;
}
.ac-barre input::placeholder { color: var(--gris); }
.ac-barre input::-webkit-search-cancel-button { -webkit-appearance: none; }

.ac-ligne { color: var(--gris); font-size: 14px; margin: 16px 0 0; max-width: none; }
.ac-exemples { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.ac-pastille {
    background: var(--fond); border: 1px solid var(--trait); border-radius: 999px;
    padding: 9px 16px; font-size: 14px; color: var(--texte); text-decoration: none;
    min-height: 40px; display: inline-flex; align-items: center;
}
.ac-pastille:hover, .ac-pastille:focus-visible { border-color: var(--violet-clair); color: var(--violet); }
.ac-gardee { color: var(--gris); font-size: 14px; margin-top: 26px; }
.ac-portes {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
    margin-top: 10px; width: 100%; max-width: 620px;
}

@media (max-width: 700px) {
    .ac-logo .logo { height: 50px; }            /* ≈ 38 px de lettre */
    .ac-logo { margin-bottom: 24px; }
    .ac-barre { height: 52px; padding: 0 18px; }
    .ac-exemples { flex-direction: column; align-items: stretch; width: 100%; }
    .ac-pastille { justify-content: center; }
    .ac-portes { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────── LA CARTE DES CANTONS ───────────
   ⚠ Elle est dessinée par le code d'une page (Cantons.php), avec ses
   couleurs à elle, et elle vit à l'intérieur de liens — le violet des
   liens repeignait donc TOUTE la carte. C'est exactement la dérive que
   cette feuille doit empêcher : elle reprend la main ici.
   Ce qu'on perd : le dégradé qui montrait l'intensité. Le nombre reste
   écrit dans chaque canton, donc l'information ne se perd pas. */
.carte-suisse rect { fill: var(--fond); stroke: var(--trait); stroke-width: 1; }
.carte-suisse text { fill: var(--texte); }
.carte-suisse a:hover rect, .carte-suisse a:focus-visible rect { stroke: var(--violet-clair); }
.carte-suisse [stroke-width="3"] { stroke: var(--violet); stroke-width: 2; }

/* ─────────── LE CHAMP TÉLÉPHONE ───────────
   Le drapeau suit ce qu'on tape. Mêmes couleurs que le reste, évidemment. */
.tel-ligne { display: flex; align-items: stretch; gap: 8px; }
.tel-drapeau {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 58px; min-height: 52px; font-size: 26px; line-height: 1;
    background: var(--fond); border: 1px solid var(--trait); border-radius: 14px;
}
.tel-champ { flex: 1; margin-bottom: 0; }
.tel-liste { margin-top: 10px; margin-bottom: 14px; }
.tel-liste > summary { cursor: pointer; color: var(--violet); font-weight: 600;
                       min-height: 44px; display: inline-flex; align-items: center; }
.tel .proposition { margin-top: 10px; }
.tel .proposition .petit { margin-left: 6px; }

/* ─────────── QUELQUES BLOCS QUI TRAÎNAIENT AILLEURS ─────────── */
.qr-cadre { display: inline-block; }
ul.codes-secours { list-style: none; margin: 10px 0; display: grid;
                   grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
ul.codes-secours code, .adresse-secrete code {
    display: block; background: var(--fond); border: 1px solid var(--trait);
    border-radius: 12px; padding: 12px; font-size: 16px; letter-spacing: 0.06em;
    text-align: center; user-select: all; color: var(--texte); word-break: break-all;
}
.barre-entonnoir { background: var(--trait); border-radius: 8px; height: 10px; overflow: hidden; margin-top: 8px; }
.barre-entonnoir span { display: block; height: 100%; background: var(--violet-clair); }
.tuile-nombre { float: right; font-family: 'Poppins', sans-serif; font-weight: 700;
                font-size: 32px; line-height: 1; color: var(--pale); margin-left: 12px; }
.tuile-attend { border-color: var(--violet-clair); }
.tuile-attend .tuile-nombre { color: var(--violet); }
.agenda-mois, .agenda-entete { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.agenda-jour { border: 1px solid var(--trait); border-radius: 8px; min-height: 62px; padding: 4px; font-size: 12px; }
.agenda-jour.hors { color: var(--pale); }
.agenda-jour.aujourdhui { border-color: var(--violet); }
.agenda-jour .pt { display: block; background: var(--fond); border: 1px solid var(--trait);
                   border-radius: 5px; padding: 1px 4px; margin-top: 2px; font-size: 10px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.photo img, .mini { max-width: 100%; border-radius: 12px; display: block; }
.mini { width: 64px; }
progress { width: 100%; height: 8px; margin-top: 8px; }
.apercu-logo { padding: 18px; border: 1px solid var(--trait); border-radius: 14px;
               margin-bottom: 10px; display: flex; align-items: center; gap: 14px; }
/* ⚠ Il n'y a PLUS de fond sombre sur ce site : la variante sombre du logo
   n'a donc plus d'endroit où s'afficher ici. Elle reste dans le fichier
   logo-sombre.svg, pour un document ou une icône, hors du site. */
/* ─────────── LES TUILES DE L'ÉCRAN INTERNE ─────────── */
.tuile { display: block; text-decoration: none; color: var(--texte); }
.tuile strong { display: block; font-family: 'Poppins', sans-serif; font-size: 17px;
                color: var(--texte); margin-bottom: 6px; }
.tuile .note { display: block; margin-bottom: 6px; }
.tuile-total { display: block; font-size: 13px; color: var(--pale); }
.tuile:hover { border-color: var(--violet-clair); }
.role-mention { font-style: italic; }
.modif { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.admin-ligne strong { display: block; margin-bottom: 4px; }
.interet strong, .avis strong { display: block; margin-bottom: 4px; }
.message { font-style: italic; color: var(--gris); }

/* ═══════════════ MON ATELIER ═══════════════
   Menu à gauche, contenu à droite. Mêmes couleurs que tout le reste :
   cette feuille est la seule du site, l'atelier n'y échappe pas. */
body.atelier main.ecran, body.atelier .at-corps { max-width: none; }
body.atelier header.haut > .dedans { max-width: 1200px; }
.at-qui { color: var(--gris); font-size: 14px; margin-right: auto; padding-left: 14px; }
.at-pastille { background: var(--fond); color: var(--violet); border-radius: 999px;
               padding: 0 7px; margin-left: 6px; font-size: 12px; }

.at-corps { display: flex; gap: 28px; width: 100%; max-width: 1200px;
            margin: 0 auto; padding: 20px var(--marge) 60px; flex: 1; }
.at-menu { flex: 0 0 210px; }
.at-menu ul { list-style: none; position: sticky; top: 20px; }
.at-menu a { display: block; padding: 11px 14px; border-radius: 12px; text-decoration: none;
             color: var(--texte); font-size: 15px; min-height: 44px;
             display: flex; align-items: center; }
.at-menu a:hover { background: rgba(122, 92, 196, 0.06); }
.at-menu a.at-actif { background: rgba(122, 92, 196, 0.13); font-weight: 600; color: var(--violet); }
.at-note { font-size: 13px; margin-top: 18px; }
.at-contenu { flex: 1; min-width: 0; }
.at-onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.at-onglets .actif { border-color: var(--violet); color: var(--violet); }

/* les pages et le menu */
.at-arbre { list-style: none; margin-bottom: 20px; }
.at-page { display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
           border: 1px solid var(--trait); border-radius: 12px; padding: 10px 12px;
           margin-bottom: 6px; background: var(--fond); }
.at-page.at-survol { border-color: var(--violet); }
.at-poignee { color: var(--pale); cursor: grab; }
.at-titre { flex: 1; text-decoration: none; color: var(--texte); font-weight: 600; min-width: 140px; }
.at-verrou { opacity: 0.6; }
.at-bloc { border: 1px solid var(--trait); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.at-bloc > summary { cursor: pointer; }

/* le dépôt de photos */
.at-depot { border: 2px dashed var(--trait); border-radius: 18px; padding: 22px; text-align: center; }
.at-depot.at-survol { border-color: var(--violet); background: rgba(122, 92, 196, 0.05); }
.at-depot-mot { color: var(--gris); }

/* l'agenda */
.at-legende { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.at-etat { font-size: 12px; border-radius: 999px; padding: 3px 12px; border: 1px solid var(--trait); }
.at-semaine { display: grid; grid-template-columns: 58px repeat(7, 1fr); gap: 4px; overflow-x: auto; }
.at-heures { display: flex; flex-direction: column; padding-top: 34px; }
.at-heures span { height: 60px; font-size: 12px; color: var(--pale); }
.at-jour h3 { font-size: 13px; margin: 0 0 6px; text-align: center; color: var(--gris); }
.at-colonne { display: grid; grid-template-rows: repeat(56, 15px); gap: 0;
              border: 1px solid var(--trait); border-radius: 10px; background: var(--fond);
              background-image: repeating-linear-gradient(to bottom,
                  var(--trait) 0, var(--trait) 1px, transparent 1px, transparent 60px); }
.at-creneau { position: relative; grid-column: 1; margin: 0 3px; border-radius: 8px;
              padding: 4px 6px; font-size: 12px; overflow: hidden;
              border: 1px solid var(--trait); background: var(--fond); }
.at-creneau .at-actions { position: absolute; right: 2px; bottom: 2px; }
.at-creneau .at-actions .petit { min-height: 22px; padding: 0 6px; font-size: 11px; margin: 0; }
/* les états : un trait de couleur à gauche, jamais un aplat violet */
.at-a_attribuer, .at-etat.at-a_attribuer { border-left: 4px solid var(--violet); }
.at-attribue,    .at-etat.at-attribue    { border-left: 4px solid var(--texte); }
.at-libre,       .at-etat.at-libre       { border-left: 4px solid var(--violet-clair); }
.at-bloque,      .at-etat.at-bloque      { border-left: 4px solid var(--pale);
                                           background: rgba(155, 150, 166, 0.10); }

/* le coffre et le feu tricolore */
.at-piece.at-valable { border-left: 4px solid var(--violet-clair); }
.at-piece.at-bientot { border-left: 4px solid var(--violet); }
.at-piece.at-perime, .at-piece.at-sans_date { border-left: 4px solid var(--texte); }
.at-feu { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 10px 0; }
.at-rond { width: 14px; height: 14px; border-radius: 50%; display: inline-block;
           border: 1px solid var(--trait); }
.at-feu-vert   .at-rond { background: var(--violet-clair); }
.at-feu-orange .at-rond { background: var(--violet); }
.at-feu-rouge  .at-rond { background: var(--texte); }
.at-manque { color: var(--texte); font-weight: 600; }
.at-alerte { color: var(--gris); }

@media (max-width: 900px) {
    .at-corps { flex-direction: column; gap: 14px; }
    .at-menu { flex: none; }
    .at-menu ul { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
    .at-menu a { border: 1px solid var(--trait); }
    .at-semaine { grid-template-columns: 46px repeat(7, minmax(120px, 1fr)); }
}

/* ─────────── DES CLASSES, JAMAIS DE STYLE EN LIGNE ───────────
   La règle de sécurité du site interdit le style écrit dans la page
   (Content-Security-Policy: style-src 'self'). On ne desserre pas une
   garde pour une mise en page : on écrit ici les quelques classes
   dont l'atelier a besoin. Elles sont en nombre fini, donc listables. */
.at-n0 { margin-left: 0px; }
.at-n1 { margin-left: 28px; }
.at-n2 { margin-left: 56px; }
.at-n3 { margin-left: 84px; }
.at-n4 { margin-left: 112px; }
.at-n5 { margin-left: 140px; }
.at-n6 { margin-left: 168px; }
.at-n7 { margin-left: 196px; }
.at-d0 { grid-row-start: 1; }
.at-d1 { grid-row-start: 2; }
.at-d2 { grid-row-start: 3; }
.at-d3 { grid-row-start: 4; }
.at-d4 { grid-row-start: 5; }
.at-d5 { grid-row-start: 6; }
.at-d6 { grid-row-start: 7; }
.at-d7 { grid-row-start: 8; }
.at-d8 { grid-row-start: 9; }
.at-d9 { grid-row-start: 10; }
.at-d10 { grid-row-start: 11; }
.at-d11 { grid-row-start: 12; }
.at-d12 { grid-row-start: 13; }
.at-d13 { grid-row-start: 14; }
.at-d14 { grid-row-start: 15; }
.at-d15 { grid-row-start: 16; }
.at-d16 { grid-row-start: 17; }
.at-d17 { grid-row-start: 18; }
.at-d18 { grid-row-start: 19; }
.at-d19 { grid-row-start: 20; }
.at-d20 { grid-row-start: 21; }
.at-d21 { grid-row-start: 22; }
.at-d22 { grid-row-start: 23; }
.at-d23 { grid-row-start: 24; }
.at-d24 { grid-row-start: 25; }
.at-d25 { grid-row-start: 26; }
.at-d26 { grid-row-start: 27; }
.at-d27 { grid-row-start: 28; }
.at-d28 { grid-row-start: 29; }
.at-d29 { grid-row-start: 30; }
.at-d30 { grid-row-start: 31; }
.at-d31 { grid-row-start: 32; }
.at-d32 { grid-row-start: 33; }
.at-d33 { grid-row-start: 34; }
.at-d34 { grid-row-start: 35; }
.at-d35 { grid-row-start: 36; }
.at-d36 { grid-row-start: 37; }
.at-d37 { grid-row-start: 38; }
.at-d38 { grid-row-start: 39; }
.at-d39 { grid-row-start: 40; }
.at-d40 { grid-row-start: 41; }
.at-d41 { grid-row-start: 42; }
.at-d42 { grid-row-start: 43; }
.at-d43 { grid-row-start: 44; }
.at-d44 { grid-row-start: 45; }
.at-d45 { grid-row-start: 46; }
.at-d46 { grid-row-start: 47; }
.at-d47 { grid-row-start: 48; }
.at-d48 { grid-row-start: 49; }
.at-d49 { grid-row-start: 50; }
.at-d50 { grid-row-start: 51; }
.at-d51 { grid-row-start: 52; }
.at-d52 { grid-row-start: 53; }
.at-d53 { grid-row-start: 54; }
.at-d54 { grid-row-start: 55; }
.at-d55 { grid-row-start: 56; }
.at-d56 { grid-row-start: 57; }
.at-q1 { grid-row-end: span 1; }
.at-q2 { grid-row-end: span 2; }
.at-q3 { grid-row-end: span 3; }
.at-q4 { grid-row-end: span 4; }
.at-q5 { grid-row-end: span 5; }
.at-q6 { grid-row-end: span 6; }
.at-q7 { grid-row-end: span 7; }
.at-q8 { grid-row-end: span 8; }
.at-q9 { grid-row-end: span 9; }
.at-q10 { grid-row-end: span 10; }
.at-q11 { grid-row-end: span 11; }
.at-q12 { grid-row-end: span 12; }
.at-q13 { grid-row-end: span 13; }
.at-q14 { grid-row-end: span 14; }
.at-q15 { grid-row-end: span 15; }
.at-q16 { grid-row-end: span 16; }
.at-q17 { grid-row-end: span 17; }
.at-q18 { grid-row-end: span 18; }
.at-q19 { grid-row-end: span 19; }
.at-q20 { grid-row-end: span 20; }
.at-q21 { grid-row-end: span 21; }
.at-q22 { grid-row-end: span 22; }
.at-q23 { grid-row-end: span 23; }
.at-q24 { grid-row-end: span 24; }
.at-q25 { grid-row-end: span 25; }
.at-q26 { grid-row-end: span 26; }
.at-q27 { grid-row-end: span 27; }
.at-q28 { grid-row-end: span 28; }
.at-q29 { grid-row-end: span 29; }
.at-q30 { grid-row-end: span 30; }
.at-q31 { grid-row-end: span 31; }
.at-q32 { grid-row-end: span 32; }
.at-q33 { grid-row-end: span 33; }
.at-q34 { grid-row-end: span 34; }
.at-q35 { grid-row-end: span 35; }
.at-q36 { grid-row-end: span 36; }
.at-q37 { grid-row-end: span 37; }
.at-q38 { grid-row-end: span 38; }
.at-q39 { grid-row-end: span 39; }
.at-q40 { grid-row-end: span 40; }
.at-q41 { grid-row-end: span 41; }
.at-q42 { grid-row-end: span 42; }
.at-q43 { grid-row-end: span 43; }
.at-q44 { grid-row-end: span 44; }
.at-q45 { grid-row-end: span 45; }
.at-q46 { grid-row-end: span 46; }
.at-q47 { grid-row-end: span 47; }
.at-q48 { grid-row-end: span 48; }
.at-q49 { grid-row-end: span 49; }
.at-q50 { grid-row-end: span 50; }
.at-q51 { grid-row-end: span 51; }
.at-q52 { grid-row-end: span 52; }
.at-q53 { grid-row-end: span 53; }
.at-q54 { grid-row-end: span 54; }
.at-q55 { grid-row-end: span 55; }
.at-q56 { grid-row-end: span 56; }
.at-piece.at-a_verifier { border-left: 4px solid var(--pale); }

/* ═══════════════ immo — le parcours du chercheur ═══════════════ */
.im-nom { font-family: 'Poppins', sans-serif; color: var(--gris); font-size: 15px;
          margin-right: auto; padding-left: 10px; }
.im-fil { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px;
          font-size: 13px; color: var(--pale); }
.im-pas { display: flex; align-items: center; gap: 6px; padding: 5px 12px;
          border: 1px solid var(--trait); border-radius: 999px; }
.im-pas span { font-weight: 700; }
.im-pas.im-fait { color: var(--gris); }
.im-pas.im-ici { color: var(--violet); border-color: var(--violet); font-weight: 600; }
.im-choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px; margin-bottom: 20px; }
.im-carte { display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
            text-align: left; padding: 22px; border: 1px solid var(--trait); border-radius: 18px;
            background: var(--fond); color: var(--texte); font-family: inherit; cursor: pointer;
            min-height: 96px; width: 100%; margin: 0; }
.im-carte strong { font-family: 'Poppins', sans-serif; font-size: 19px; }
.im-carte:hover, .im-carte:focus-visible { border-color: var(--violet); }

/* ── immo : les biens relevés ──
   ⚠ Aucune photo n'est chez nous. Elles arrivent du serveur de la régie.
   Largeur fixée, hauteur libre : rien n'est recadré, rien n'est retouché. */
.im-bien { border: 1px solid var(--trait); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.im-bien h2 { margin-top: 0; font-size: 19px; }
.im-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
             gap: 12px; margin-top: 12px; }
.im-photo { margin: 0; }
.im-photo img {
    display: block; width: 100%; height: auto;      /* jamais de recadrage */
    border-radius: 12px; border: 1px solid var(--trait); background: var(--fond);
}
.im-photo figcaption { font-size: 12px; color: var(--gris); margin-top: 5px; }
.im-bloquee {
    display: block; padding: 22px; border: 1px dashed var(--trait); border-radius: 12px;
    color: var(--gris); font-size: 13px; text-decoration: none; text-align: center;
}
.im-bloquee:hover { border-color: var(--violet-clair); color: var(--texte); }

/* ── 22.08.2026 · LE LOGO, LE MENU ET LA CONNEXION SONT AUSSI EN PIED ──
   Règle de la maison, sans exception : où qu'on soit dans la page, on retrouve
   son chemin sans avoir à remonter. */
.bas-haut {
    display: flex; align-items: center; gap: 14px;
    padding-bottom: 14px; margin-bottom: 14px;
    border-bottom: 1px solid var(--trait);
}
.bas-haut .marque { margin-right: auto; display: inline-flex; align-items: center; }
.bas-haut .h-entrer {
    border: 1px solid var(--trait); border-radius: 22px; padding: 7px 15px;
    font-size: 14px; text-decoration: none; color: var(--texte);
}
.bas-haut .h-entrer:hover { border-color: var(--violet); color: var(--violet); }
/* Le panneau du menu du bas s'ouvre vers le HAUT : il n'y a rien en dessous. */
.h-menu-bas .h-panneau { top: auto; bottom: 100%; margin-bottom: 8px; }
/* Le nom de la famille au-dessus de ses portes. */
.h-famille {
    font-size: 12px; text-transform: uppercase; letter-spacing: .6px;
    color: var(--gris); font-weight: 700; margin: 18px 0 8px;
}
.h-famille:first-of-type { margin-top: 10px; }

/* ══════════ 22.08.2026 · L'ACCUEIL ET LA RECHERCHE ══════════
   Reprise de la maquette du 22.08, sous LA feuille commune : fond blanc,
   le violet pour quatre choses, rien de propre à cette page. */
.ac-onglets { display: flex; gap: 26px; border-bottom: 1px solid var(--trait); margin-bottom: 22px; }
.ac-onglets a {
    padding: 9px 2px 12px; font-size: 17px; font-weight: 700; color: var(--gris);
    text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.ac-onglets a.on { color: var(--texte); border-bottom-color: var(--violet); }

.ac-tete { text-align: center; margin: 26px 0 22px; }
.ac-titre { margin: 0 0 10px; line-height: 1; }
.ac-phrase { color: var(--gris); font-size: 16px; margin: 0; }

.ac-pastilles { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 11px; }
.ac-pastille {
    border: 1.5px solid var(--trait); border-radius: 22px; padding: 8px 15px;
    font-size: 14px; color: var(--gris); text-decoration: none; background: var(--fond);
}
.ac-pastille.on { border-color: var(--violet); color: var(--texte); font-weight: 700; }

.ac-barre { position: relative; display: flex; gap: 9px; }
.ac-barre input[type=text] {
    flex: 1; border: 2px solid var(--trait); border-radius: 14px; padding: 15px 17px;
    font-size: 17px; font-family: inherit; color: var(--texte); background: var(--fond);
}
.ac-barre input[type=text]:focus { border-color: var(--violet); outline: none; }
.ac-propositions {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin-top: 5px;
    background: var(--fond); border: 1px solid var(--trait); border-radius: 13px;
    overflow: hidden; z-index: 9;
}
.ac-propositions.on { display: block; }
.ac-proposition {
    display: block; padding: 12px 16px; border-bottom: 1px solid var(--trait);
    font-size: 15px; text-decoration: none; color: var(--texte);
}
.ac-proposition:last-child { border-bottom: none; }
.ac-proposition:hover { background: var(--doux); }
.ac-fam { font-size: 12px; color: var(--gris); margin-left: 6px; }

.ac-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 9px; }
.ac-choix-un {
    display: block; border: 1px solid var(--trait); border-radius: 12px; padding: 12px 14px;
    text-decoration: none; color: var(--texte);
}
.ac-choix-un:hover { border-color: var(--violet); }
.ac-choix-un span { display: block; font-size: 12.5px; color: var(--gris); margin-top: 3px; }

.ac-carte { border: 1px solid var(--trait); border-radius: 14px; padding: 15px 17px; margin: 16px 0; }
.ac-carte h2, .ac-carte h3 { margin-top: 0; }
.ac-section { font-size: 13px; text-transform: uppercase; letter-spacing: .6px;
              color: var(--gris); margin: 30px 0 10px; font-weight: 700; }
.ac-grille { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; margin: 12px 0; }
@media (max-width: 700px) { .ac-grille { grid-template-columns: 1fr 1fr; } }
.ac-champ span { display: block; font-size: 12.5px; color: var(--gris); margin-bottom: 3px; }
.ac-champ input, .ac-champ select {
    width: 100%; border: 1.5px solid var(--trait); border-radius: 10px; padding: 10px 11px;
    font-size: 14px; font-family: inherit; background: var(--fond); color: var(--texte);
}

.ac-resultat {
    display: block; border: 1px solid var(--trait); border-radius: 14px;
    padding: 14px 17px; margin-bottom: 10px; text-decoration: none; color: var(--texte);
}
.ac-resultat:hover { border-color: var(--violet); }
.ac-resultat .fam { display: block; font-size: 11.5px; text-transform: uppercase;
                    letter-spacing: .5px; color: var(--violet); font-weight: 700; }
.ac-resultat strong { display: block; font-size: 16.5px; margin: 4px 0; }
.ac-resultat .m { display: block; font-size: 13.5px; color: var(--gris); }
.ac-resultat .bd { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 20px;
                   padding: 2px 9px; margin-top: 7px; border: 1px solid var(--trait);
                   color: var(--gris); }

.ac-relance { border: 1px solid var(--violet); border-radius: 14px; padding: 17px 19px; margin-top: 16px; }
.ac-relance h3 { margin: 0 0 5px; font-size: 17px; }
.ac-relance p { margin: 0 0 12px; font-size: 14px; color: var(--gris); }
.ac-relance-note { margin: 10px 0 0; font-size: 12.5px; }

.ac-etape { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--trait); }
.ac-etape:last-of-type { border-bottom: none; }
.ac-etape .n {
    width: 24px; height: 24px; border-radius: 50%; background: var(--doux);
    font-size: 12.5px; font-weight: 700; display: flex; align-items: center;
    justify-content: center; flex: none;
}
.ac-etape b { display: block; }
.ac-etape span { font-size: 13.5px; color: var(--gris); }

.ac-tableau-cadre { overflow-x: auto; }
.ac-tableau { border-collapse: collapse; width: 100%; font-size: 13.5px; margin-top: 8px; }
.ac-tableau th, .ac-tableau td { padding: 8px 6px; border-bottom: 1px solid var(--trait); text-align: center; }
.ac-tableau th:first-child, .ac-tableau td:first-child { text-align: left; font-weight: 600; }
.ac-tableau th { font-size: 11px; text-transform: uppercase; letter-spacing: .4px;
                 color: var(--gris); font-weight: 700; }
.ac-tableau tr:last-child td { border-bottom: none; }
.ck { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--trait);
      display: inline-block; vertical-align: middle; position: relative; }
.ck.on { background: var(--violet); border-color: var(--violet); }
.ck.on::after { content: "✓"; color: #FFFFFF; font-size: 14px; position: absolute;
                top: -2px; left: 4px; font-weight: 700; }
/* Une porte fermée au public, ouverte à une personne nommée. */
.h-etiquette-moi { border-color: var(--violet); color: var(--violet); }

/* ══════════ 22.08.2026 · « LA PAGE, COMME ON LA VOIT » ══════════
   Un seul écran : les pages à gauche, ce que voient les visiteurs au
   milieu, de quoi le changer à droite. */
.ap-corps { display: grid; grid-template-columns: 220px minmax(0,1fr) 340px; gap: 18px; }
@media (max-width: 1100px) { .ap-corps { grid-template-columns: 1fr; } }

.ap-pages h2, .ap-outils h2 { font-size: 12px; text-transform: uppercase;
    letter-spacing: .6px; color: var(--gris); font-weight: 700; margin: 0 0 8px; }
.ap-pages ul { list-style: none; margin: 0; padding: 0; }
.ap-pages li a { display: block; padding: 7px 9px; border-radius: 9px;
    text-decoration: none; color: var(--texte); font-size: 14px; }
.ap-pages li a:hover { background: var(--doux); }
.ap-pages li a.at-actif { background: var(--doux); font-weight: 700; }
.ap-niveau-1 { padding-left: 12px; } .ap-niveau-2 { padding-left: 24px; }
.ap-puce { font-size: 12px; }
.ap-publiee { color: var(--violet); }
.ap-en_attente { color: var(--gris); }
.ap-jamais_publiee, .ap-retiree { color: var(--trait); }

.ap-etat { border: 1px solid var(--trait); border-radius: 10px; padding: 9px 13px;
    font-size: 13.5px; margin-bottom: 12px; }
.ap-etat-publiee { border-color: var(--violet); }
.ap-ecran { border: 1px solid var(--trait); border-radius: 14px; overflow: hidden; }
.ap-ecran-titre { margin: 0; padding: 7px 14px; font-size: 11.5px; text-transform: uppercase;
    letter-spacing: .5px; color: var(--gris); border-bottom: 1px solid var(--trait); }
.ap-page { padding: 20px 24px; max-width: 720px; }
.ap-page h1 { margin-top: 0; }
.ap-media { margin: 16px 0; }
.ap-media img, .ap-media video { display: block; width: 100%; height: auto; border-radius: 12px; }
.ap-media figcaption { font-size: 12.5px; color: var(--gris); margin-top: 5px; }
.ap-pas-publie { color: var(--violet); }

.ap-decisions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.ap-outils label { display: block; font-size: 12.5px; color: var(--gris); margin-bottom: 10px; }
.ap-outils input[type=text], .ap-outils textarea {
    display: block; width: 100%; margin-top: 4px; border: 1.5px solid var(--trait);
    border-radius: 10px; padding: 9px 11px; font-size: 14px; font-family: inherit;
    background: var(--fond); color: var(--texte);
}
.ap-galerie-un { display: grid; grid-template-columns: 56px 1fr; gap: 9px;
    align-items: start; border-top: 1px solid var(--trait); padding: 10px 0; }
.ap-vignette img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.ap-video-marque { display: inline-block; font-size: 11px; color: var(--gris);
    border: 1px solid var(--trait); border-radius: 8px; padding: 18px 6px; }
.ap-legende input { width: 100%; margin-bottom: 5px; border: 1px solid var(--trait);
    border-radius: 8px; padding: 6px 8px; font-size: 13px; font-family: inherit;
    background: var(--fond); color: var(--texte); }
.ap-fleches { grid-column: 2; display: flex; gap: 6px; }
.ap-depot { border-top: 1px solid var(--trait); padding-top: 12px; margin-top: 12px; }

/* ══════════ 22.08.2026 · QUI EST VENU ══════════ */
.vi-periodes .petit { border: 1px solid var(--trait); border-radius: 18px; padding: 5px 12px;
    text-decoration: none; color: var(--gris); margin-right: 5px; }
.vi-periodes .petit.actif { border-color: var(--violet); color: var(--texte); font-weight: 700; }
.vi-chiffres { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
    gap: 12px; margin: 18px 0; }
.vi-chiffre { border: 1px solid var(--trait); border-radius: 12px; padding: 13px 15px; }
.vi-n { display: block; font-size: 26px; font-weight: 700; line-height: 1.1; }
.vi-mot { display: block; font-size: 13.5px; margin-bottom: 4px; }
.vi-cadre { overflow-x: auto; border: 1px solid var(--trait); border-radius: 12px; }
.vi-table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.vi-table th, .vi-table td { padding: 8px 11px; border-bottom: 1px solid var(--trait); text-align: left; }
.vi-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .4px;
    color: var(--gris); font-weight: 700; }
.vi-table tr:last-child td { border-bottom: none; }
.vi-ouvert { background: var(--doux); }
.vi-pas { font-size: 14px; line-height: 1.7; }
/* La barre : le champ prend la place, le bouton juste la sienne.
   (Le bouton du site est en pleine largeur par défaut — ici, non.) */
.ac-barre .b { width: auto; flex: none; margin-bottom: 0; }
.ac-barre input[type=text] { flex: 1 1 auto; min-width: 0; }
.ac-decisions .b, .ap-decisions .b { width: auto; }
.ac-relance .b { width: auto; }
/* La barre de recherche prend toute la colonne : c'est l'objet principal
   de l'accueil, elle ne se laisse pas rétrécir par la règle des formulaires. */
.ac-recherche { max-width: none; width: 100%; }

/* ══════════ 22.08.2026 · LA CARTE ══════════
   Écrite à la maison : aucune bibliothèque étrangère. Seules les tuiles
   viennent d'OpenStreetMap, et leur attribution reste affichée. */
.ca-zone { position: relative; height: 0; overflow: hidden; border-radius: 12px; }
.ca-zone.ca-on { height: 360px; border: 1px solid var(--trait); margin: 12px 0; }
.ca-fond { position: absolute; inset: 0; }
.ca-fond img { position: absolute; width: 256px; height: 256px; user-select: none; }
.ca-trace { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ca-ligne { fill: none; stroke: var(--violet); stroke-width: 4; stroke-opacity: .85;
            stroke-linecap: round; stroke-linejoin: round; }
.ca-point { stroke-width: 2.5; }
.ca-depart  { fill: var(--texte);  stroke: #FFFFFF; }
.ca-arret   { fill: #FFFFFF;       stroke: var(--violet); stroke-width: 3; }
.ca-arrivee { fill: var(--violet); stroke: #FFFFFF; }
.ca-credit {
    position: absolute; right: 0; bottom: 0; font-size: 10.5px; padding: 2px 6px;
    background: rgba(255,255,255,.85); color: var(--gris); text-decoration: none;
    border-top-left-radius: 6px;
}
.ca-credit:hover { color: var(--violet); }

/* ══════════ 22.08.2026 · LES ICÔNES ══════════
   Dessinées à la maison. Elles prennent la couleur du texte : elles ne
   rajoutent jamais une couleur au site. */
.ico { display: inline-block; vertical-align: -0.18em; }
.ico-titre { margin-right: 8px; vertical-align: -0.1em; }
.ico-choix { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.ico-famille { width: 100%; font-size: 11px; text-transform: uppercase;
    letter-spacing: .5px; color: var(--gris); font-weight: 700; margin-top: 10px; }
.ico-un {
    width: 38px; height: 38px; min-height: 38px; padding: 0; margin: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--trait); border-radius: 10px; background: var(--fond);
    color: var(--gris); cursor: pointer;
}
.ico-un:hover { border-color: var(--violet); color: var(--violet); }
.ico-un.on { border-color: var(--violet); color: var(--violet); border-width: 2px; }

/* ══════════ 22.08.2026 · LE TRAJET ══════════ */
.tr-form { max-width: none; }
.tr-etape { display: block; position: relative; margin-bottom: 12px; }
.tr-etape > span { display: block; font-size: 12.5px; color: var(--gris); margin-bottom: 4px; }
.tr-etape input[type=text] {
    width: 100%; border: 1.5px solid var(--trait); border-radius: 12px;
    padding: 12px 14px; font-size: 15px; font-family: inherit;
    background: var(--fond); color: var(--texte);
}
.tr-etape input[type=text]:focus { border-color: var(--violet); outline: none; }
.tr-propositions {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 9;
    background: var(--fond); border: 1px solid var(--trait); border-radius: 12px;
    overflow: hidden; margin-top: 4px;
}
.tr-propositions.on { display: block; }
.tr-proposition {
    display: block; width: 100%; text-align: left; padding: 10px 14px; margin: 0;
    border: none; border-bottom: 1px solid var(--trait); border-radius: 0;
    background: var(--fond); min-height: 0; cursor: pointer;
}
.tr-proposition:last-child { border-bottom: none; }
.tr-proposition:hover { background: var(--doux); }
.tr-proposition strong { display: block; font-size: 14.5px; font-weight: 600; }
.tr-proposition span { display: block; font-size: 12.5px; color: var(--gris); }
.tr-resume { font-size: 17px; font-weight: 600; margin: 18px 0 0; }
.tr-segments { list-style: none; padding: 0; font-size: 14px; }
.tr-segments li { padding: 7px 0; border-bottom: 1px solid var(--trait); }
.tr-segments li:last-child { border-bottom: none; }

/* ── La liste qui s'ouvre sous la barre ── */
.ac-panneau {
    display: none; border: 1px solid var(--trait); border-radius: 14px;
    padding: 4px 16px 14px; margin-top: 8px; max-height: 460px; overflow-y: auto;
}
.ac-panneau.on { display: block; }
.ac-groupe h3 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px;
    color: var(--gris); font-weight: 700; margin: 14px 0 7px; }
.ac-rien { border-top: 1px solid var(--trait); margin-top: 14px; padding-top: 12px; }
.ac-rien h3 { margin: 0 0 4px; font-size: 15.5px; }
.ac-mots { display: flex; gap: 8px; align-items: center; }
.ac-mots input {
    flex: 1 1 auto; min-width: 0; border: 1.5px solid var(--trait); border-radius: 12px;
    padding: 11px 13px; font-size: 15px; font-family: inherit;
    background: var(--fond); color: var(--texte);
}
.ac-mots .b { width: auto; flex: none; margin-bottom: 0; }
.ac-compte { margin: 14px 0 0; text-align: center; }
.ac-pastille .ico { margin-right: 5px; vertical-align: -0.22em; }

/* ══════════ 22.08.2026 · L'ARBRE DANS L'ATELIER ══════════ */
.ar-niveau-1 { padding-left: 20px; } .ar-niveau-2 { padding-left: 40px; }
.ar-niveau-3 { padding-left: 60px; }
.ar-nom { display: flex; gap: 5px; align-items: center; }
.ar-nom input[type=text] { flex: 1 1 auto; min-width: 120px; border: 1px solid var(--trait);
    border-radius: 8px; padding: 6px 9px; font-size: 13.5px; font-family: inherit;
    background: var(--fond); color: var(--texte); }
.ar-actions { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.ar-etat { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 20px;
    padding: 3px 10px; border: 1px solid var(--trait); color: var(--gris); }
.ar-publie { border-color: var(--violet); color: var(--violet); }
.ar-en_attente { border-style: dashed; }
.ar-suspendu { opacity: .75; }
.ar-archive { opacity: .5; text-decoration: line-through; }
.ar-ajout { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 22px; }
.ar-ajout input[type=text], .ar-ajout select {
    border: 1.5px solid var(--trait); border-radius: 10px; padding: 9px 11px;
    font-size: 14px; font-family: inherit; background: var(--fond); color: var(--texte);
}
.ar-ajout .b { width: auto; margin-bottom: 0; }
.ar-ajout .note { width: 100%; margin: 0; }
.ar-coche { font-size: 13px; color: var(--gris); display: flex; align-items: center; gap: 6px; }
/* ⚠ Une règle « display » explicite l'emporte sur l'attribut hidden : sans
   cette ligne, une entrée cachée par la recherche restait affichée. */
[hidden] { display: none !important; }

/* ══════════ 22.08.2026 · « CE QUE LES GENS VOIENT » ══════════
   À gauche toutes les pages, au milieu la page elle-même, à droite de
   quoi l'écrire. */
.ec-corps { display: grid; grid-template-columns: 210px minmax(0,1fr) 320px; gap: 18px; }
@media (max-width: 1150px) { .ec-corps { grid-template-columns: 1fr; } }
.ec-liste h2, .ec-outils h2 { font-size: 12px; text-transform: uppercase;
    letter-spacing: .6px; color: var(--gris); font-weight: 700; margin: 0 0 8px; }
.ec-liste h3 { font-size: 11.5px; color: var(--gris); font-weight: 700;
    margin: 16px 0 5px; text-transform: uppercase; letter-spacing: .4px; }
.ec-liste ul { list-style: none; margin: 0; padding: 0; }
.ec-liste li a { display: block; padding: 7px 9px; border-radius: 9px;
    text-decoration: none; color: var(--texte); font-size: 14px; }
.ec-liste li a:hover { background: var(--doux); }
.ec-liste li a.at-actif { background: var(--doux); font-weight: 700; }
.ec-barre { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ec-adresse { font-size: 12.5px; color: var(--gris); font-family: ui-monospace, monospace; }
.ec-cadre { width: 100%; height: 640px; border: 1px solid var(--trait);
    border-radius: 14px; background: var(--fond); }
.ec-champ { margin-bottom: 14px; }
.ec-champ label { display: block; font-size: 13px; }
.ec-champ label .note { display: block; margin: 2px 0 4px; }
.ec-ligne { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.ec-ligne input { flex: 1 1 auto; min-width: 0; border: 1.5px solid var(--trait);
    border-radius: 10px; padding: 8px 10px; font-size: 14px; font-family: inherit;
    background: var(--fond); color: var(--texte); }
.ec-pastille-couleur { width: 26px; height: 26px; border-radius: 8px;
    border: 1px solid var(--trait); flex: none; }
.ec-vise { outline: 2px solid var(--violet); outline-offset: 6px; border-radius: 8px; }
/* Le champ du code : gros, espacé, lisible au pouce. */
.champ-code { font-size: 24px; letter-spacing: .28em; text-align: center;
              font-family: ui-monospace, monospace; }
.etiq { display: block; font-size: 13px; color: var(--gris); margin-bottom: 12px; }
.etiq .champ { margin-top: 4px; }

/* ══════════ 22.08.2026 · ON SAIT TOUJOURS OÙ ON EST ══════════ */
.ou-titre { font-size: 30px; line-height: 1.15; margin: 4px 0 6px; }
@media (max-width: 600px) { .ou-titre { font-size: 25px; } }
.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
       font-size: 13.5px; color: var(--gris); margin: 0 0 20px; }
.fil a { color: var(--violet); text-decoration: none;
         padding: 4px 2px; min-height: 24px; display: inline-flex; align-items: center; }
.fil a:hover { text-decoration: underline; }
.fil-sep { color: var(--trait); }
.fil-ici { color: var(--gris); font-weight: 600; }

/* ══════════ 22.08.2026 · TOUT SE FAIT AU DOIGT ══════════
   Le site doit devenir une application sans être réécrit. Donc : aucune
   cible plus petite qu'un pouce (44 points), et rien qui dépende d'un
   survol ou d'un clic droit. */
.bas .dedans a, .h-entrer, .h-lien, .marque, .fil a {
    min-height: 44px; display: inline-flex; align-items: center;
}
.bas .dedans a { padding: 4px 2px; }
.marque { padding: 2px 0; }
/* Le survol ne fait qu'embellir : il n'ouvre jamais rien, il ne révèle
   jamais rien. Sur un écran tactile, il n'existe pas. */
@media (hover: none) {
    .ac-choix-un:hover, .ac-proposition:hover, .tr-proposition:hover { background: none; }
}
/* ⚠ Un logo ne déborde JAMAIS de l'écran, quelle que soit la taille
   demandée : la largeur suit le cadre, la hauteur suit les proportions. */
.logo { max-width: 100%; height: auto; }
.ac-titre { font-size: 34px; line-height: 1.1; margin: 0 0 8px; font-weight: 700; }
@media (max-width: 600px) { .ac-titre { font-size: 28px; } }

/* ══════════ L'EN-TÊTE SUR UN TÉLÉPHONE ══════════
   Cinq choses dans une barre de 375 points, ça ne tient pas : le logo
   devenait illisible. On garde ce qui compte — le logo, le menu, la
   connexion — et « Trouver » repasse dans le menu, où il est déjà. */
.haut .marque .logo { min-width: 118px; }
@media (max-width: 460px) {
    .haut .h-lien { display: none; }
    .haut .dedans { gap: 8px; }
    .h-entrer { padding: 7px 12px; font-size: 13.5px; }
}
@media (max-width: 360px) {
    .haut .marque .logo { min-width: 96px; }
}

/* ⚠ 22.08.2026 — SEUL LE HAUT DE L'ACCUEIL EST CENTRÉ.
   Toute la page l'était, y compris les formulaires et les listes : un
   formulaire centré se lit mal et paraît bâclé. Le titre, la phrase et la
   barre restent au milieu ; le reste s'aligne à gauche, comme un texte. */
body.est-accueil main.ecran { text-align: left; }
body.est-accueil .ac-tete,
body.est-accueil .ac-onglets,
body.est-accueil .ac-recherche { text-align: center; }
body.est-accueil .ac-onglets { justify-content: center; }
body.est-accueil .ac-pastilles { justify-content: center; }
body.est-accueil .ac-recherche .note { text-align: center; }

/* ══════════ 22.08.2026 · LES ANNONCES : LA LISTE ET LA CARTE ══════════ */
.ecran-large { max-width: 1400px; }
.an-filtres { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 12px; }
.an-champ { position: relative; flex: 1 1 190px; }
.an-champ > span { display: block; font-size: 12.5px; color: var(--gris); margin-bottom: 4px; }
.an-champ input[type=text], .an-champ input[type=number] {
    width: 100%; border: 1.5px solid var(--trait); border-radius: 12px;
    padding: 11px 13px; font-size: 15px; font-family: inherit;
    background: var(--fond); color: var(--texte);
}
.an-filtres .b { width: auto; flex: none; margin-bottom: 0; }
.an-compte { font-size: 14px; color: var(--gris); margin: 0 0 12px; }

.an-corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.an-liste { max-height: 78vh; overflow-y: auto; padding-right: 4px; }
.an-carte-zone { position: sticky; top: 12px; }
.ca-annonces.ca-on { height: 78vh; }

.an-carte { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 12px;
    border: 1px solid var(--trait); border-radius: 14px; padding: 12px;
    margin-bottom: 10px; }
.an-carte.an-vise { border-color: var(--violet); }
.an-photo { margin: 0; }
/* ⚠ Ni recadrage, ni retouche : largeur fixée, hauteur libre. */
.an-photo img { display: block; width: 100%; height: auto; border-radius: 10px;
    border: 1px solid var(--trait); background: var(--fond); }
.an-photo figcaption { font-size: 10.5px; color: var(--gris); margin-top: 4px; }
.an-loyer { font-size: 17px; font-weight: 700; margin: 0 0 2px; }
.an-texte h3 { font-size: 15.5px; margin: 0 0 4px; }
.an-texte .m { font-size: 13px; color: var(--gris); margin: 0 0 3px; }
.an-liens { margin: 6px 0 0; font-size: 13.5px; display: flex; gap: 12px; flex-wrap: wrap; }

.an-points { position: absolute; inset: 0; }
.an-point {
    position: absolute; transform: translate(-50%, -50%); min-height: 0;
    padding: 4px 9px; margin: 0; width: auto; border-radius: 20px;
    border: 1.5px solid var(--violet); background: var(--fond); color: var(--violet);
    font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.an-point:hover, .an-point.an-vise {
    background: var(--violet); color: #FFFFFF; z-index: 5; transform: translate(-50%,-50%) scale(1.12);
}
.an-zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 5px; }
.an-zoom button { width: 40px; height: 40px; min-height: 40px; padding: 0; margin: 0;
    border-radius: 10px; font-size: 19px; background: var(--fond);
    border: 1px solid var(--trait); cursor: pointer; }
.ca-zone.an-prend { cursor: grabbing; }
.an-sans-point { margin-top: 8px; }
.an-bascule { display: none; gap: 8px; margin-bottom: 10px; }
.an-bascule .b { width: auto; margin-bottom: 0; }
.an-bascule .b.on { border-color: var(--violet); color: var(--violet); }

/* Sur téléphone : l'un OU l'autre, jamais les deux écrasés. */
@media (max-width: 900px) {
    .an-corps { grid-template-columns: 1fr; }
    .an-bascule { display: flex; }
    .an-carte-zone { display: none; position: static; }
    body.an-voir-carte .an-carte-zone { display: block; }
    body.an-voir-carte .an-liste { display: none; }
    .an-liste { max-height: none; }
    .ca-annonces.ca-on { height: 68vh; }
}
/* Les faits d'une annonce : un tableau qui se lit d'un coup d'œil. */
.fi-faits { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
            gap: 10px; margin: 16px 0; }
.fi-fait { border: 1px solid var(--trait); border-radius: 12px; padding: 10px 13px; }
.fi-fait span { display: block; font-size: 12px; color: var(--gris); }
.fi-fait strong { font-size: 16px; }

/* ══════════ 22.08.2026 · LE MENU DE MON NOM ══════════ */
.h-menu-compte > summary { list-style: none; cursor: pointer; }
.h-menu-compte > summary::-webkit-details-marker { display: none; }
.h-panneau-compte { min-width: 280px; }
.h-qui { font-size: 15px; font-weight: 700; margin: 4px 0 2px; }
.h-liens { display: flex; flex-direction: column; gap: 2px; }
.h-lien-menu {
    display: flex; align-items: center; gap: 10px; min-height: 44px;
    padding: 8px 10px; border-radius: 10px; text-decoration: none;
    color: var(--texte); font-size: 14.5px;
}
.h-lien-menu:hover { background: var(--doux); }
.h-lien-menu .ico { color: var(--gris); flex: none; }
/* Les quatre phrases sous le tableau « qui voit quoi ». */
.qv-quatre { list-style: none; padding: 0; margin: 14px 0 0; font-size: 13.5px; }
.qv-quatre li { padding: 9px 0; border-bottom: 1px solid var(--trait); line-height: 1.55; }
.qv-quatre li:last-child { border-bottom: none; }
.ac-comment { text-align: center; margin: 26px 0 0; }

/* ═══════════════════════════════════════════════════════════════════════
   03.10.2026 — SECTION E DE LA COMMANDE DE 10h23 : L'HABILLAGE.

   · UN SEUL LOGO PAR PAGE : l'en-tête le porte partout, SAUF sur
     l'accueil, où c'est la page elle-même qui le porte, en grand.
     Le pied n'en a plus.
   · L'EN-TÊTE, IDENTIQUE PARTOUT : logo à gauche · barre au centre ·
     globe, neuf points, « Se connecter » à droite. Collant en haut.
   · LA MISE EN PAGE : pleine largeur pour la carte, les listes et les
     tableaux ; colonne centrée de 720 px pour les formulaires et les
     textes ; tout en pleine largeur sur téléphone.
   · Fond BLANC PUR. Une seule feuille pour tout le site.
   ═══════════════════════════════════════════════════════════════════════ */

html, body { background: #FFFFFF; }

/* ── l'en-tête, collant ── */
header.haut {
    position: sticky; top: 0; z-index: 40;
    background: #FFFFFF;
    border-bottom: 1px solid var(--trait);
}
header.haut > .dedans {
    max-width: 1400px;
    gap: 14px;
}
header.haut .marque { margin-right: 0; }
header.haut .marque .logo { height: 30px; width: auto; min-width: 0; }
header.haut .h-vide { flex: none; width: 0; }

/* la barre du centre : elle prend la place qui reste */
.h-barre {
    flex: 1 1 auto; max-width: 620px; margin: 0 auto;
    display: flex; align-items: center; gap: 8px;
    border: 1.5px solid var(--trait); border-radius: 999px;
    padding: 0 16px; height: 44px; background: #FFFFFF;
}
.h-barre:focus-within { border-color: var(--violet); }
.h-barre svg { color: var(--pale); flex: none; }
.h-barre input {
    flex: 1; border: 0; outline: 0; background: transparent;
    font: inherit; font-size: 15px; color: var(--texte); min-width: 0;
}
.h-droite { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }
header.haut .h-barre + .h-droite { margin-left: 0; }

@media (max-width: 700px) {
    .h-barre { max-width: none; height: 40px; padding: 0 12px; }
    header.haut > .dedans { gap: 8px; }
    header.haut .marque .logo { height: 24px; }
}
/* Sur un très petit écran, la barre passe sous l'en-tête plutôt que de
   réduire le logo et les menus à rien. */
@media (max-width: 460px) {
    header.haut > .dedans { flex-wrap: wrap; row-gap: 8px; }
    .h-barre { order: 3; flex-basis: 100%; max-width: none; margin: 0 0 8px; }
    .h-droite { margin-left: auto; }
}

/* ── la mise en page : 720 px pour lire et écrire, pleine largeur pour voir ── */
main.ecran { max-width: var(--colonne); }
main.ecran.pleine-largeur,
main.ecran.ecran-large { max-width: 1400px; }
/* Dans une page en pleine largeur, ce qui se lit et ce qui se remplit
   reste malgré tout dans la colonne : c'est la carte, la liste et le
   tableau qui s'étalent, pas le texte. */
.pleine-largeur .colonne { width: 100%; max-width: var(--colonne); margin-left: auto; margin-right: auto; }
.pleine-largeur .large   { width: 100%; max-width: none; }
@media (max-width: 760px) {
    main.ecran, main.ecran.pleine-largeur, main.ecran.ecran-large,
    .pleine-largeur .colonne { max-width: none; }
    :root { --marge: 16px; }
}

/* ── le pied : plus de logo, plus rien qui s'étale ── */
footer.bas > .dedans { max-width: 1400px; }
.bas-haut .marque { display: none; }

/* ── l'accueil : quatre choses, centrées, rien d'autre ── */
body.est-accueil .ac-logo { display: flex; justify-content: center; margin: 56px 0 26px; }
body.est-accueil .ac-logo .logo { height: 58px; width: auto; max-width: 33vw; }
@media (max-width: 700px) {
    body.est-accueil .ac-logo { margin: 30px 0 20px; }
    body.est-accueil .ac-logo .logo { height: 38px; }
}
body.est-accueil .ac-phrase { font-size: 16px; color: var(--gris); margin: 0 0 22px; }

/* ── la porte grisée : on la voit, on ne l'ouvre pas ── */
.h-tuile-verrou {
    opacity: .55; cursor: not-allowed; display: flex; flex-direction: column;
    align-items: flex-start; gap: 4px;
}
.h-tuile-verrou .h-etiquette { font-size: 11px; color: var(--gris); }

/* ═══════════════════════════════════════════════════════════════════════
   03.10.2026 — LA PORTE VÉHICULE (section G) ET LES QUATRE NIVEAUX (H).
   Mêmes couleurs, mêmes formes que le reste : rien de propre à ces pages.
   ═══════════════════════════════════════════════════════════════════════ */

.vh-onglets { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 18px;
    border-bottom: 1px solid var(--trait); }
.vh-onglets a { text-decoration: none; color: var(--gris); font-size: 14.5px;
    padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center;
    border-bottom: 2px solid transparent; }
.vh-onglets a.on { color: var(--texte); font-weight: 600; border-bottom-color: var(--violet); }

.vh-exemple { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.vh-form fieldset, .vi-choix { border: 1px solid var(--trait); border-radius: 14px;
    padding: 14px 16px; margin: 0 0 14px; }
.vh-form legend, .vi-choix legend { font-size: 13px; color: var(--gris); padding: 0 6px; }
.vh-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.vh-grille label, .vh-form > label { display: block; margin-bottom: 8px; }
.vh-grille label > span, .vh-form > label > span { display: block; font-size: 12.5px;
    color: var(--gris); margin-bottom: 4px; }
.vh-deux, .vh-types { display: flex; flex-wrap: wrap; gap: 8px; }
.vh-radio { display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
    border: 1.5px solid var(--trait); border-radius: 999px; padding: 0 14px;
    font-size: 14.5px; cursor: pointer; }
.vh-radio input { accent-color: var(--violet); }
.vh-boutons { display: flex; gap: 10px; flex-wrap: wrap; }
.vh-boutons .b { width: auto; flex: 1 1 200px; }

/* la ligne d'assurance : elle ne peut jamais être vide, donc elle se voit */
.vh-assurance-ligne { border-left: 3px solid var(--violet); padding-left: 12px; margin: 10px 0; }
.vh-piece { background: #FBF9FF; border: 1px solid var(--trait); border-radius: 12px;
    padding: 12px 14px; font-size: 14px; margin: 0 0 12px; }
.vh-atteste { border: 1.5px solid var(--violet); border-radius: 14px; padding: 14px 16px;
    margin: 14px 0 0; }
.vh-case { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.vh-case input { margin-top: 4px; accent-color: var(--violet); width: 20px; height: 20px; }

.vh-ligne { display: flex; justify-content: space-between; gap: 12px; align-items: center;
    border-bottom: 1px solid var(--trait); padding: 10px 0; flex-wrap: wrap; }
.vh-actes { display: flex; gap: 8px; }
.vh-dispos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 6px 0 14px; }
.vh-dispo { font-size: 12.5px; border-radius: 999px; padding: 3px 10px; border: 1px solid var(--trait); }
.vh-libre   { color: #1d6f3e; border-color: #bfe3cd; }
.vh-reserve { color: #8a5a00; border-color: #efd9ad; }
.vh-bloque  { color: #8a2020; border-color: #efc0c0; }
.vh-dispo-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.vh-dispo-form .champ { width: auto; flex: 0 1 140px; margin: 0; }

.vh-annonce { border: 1px solid var(--trait); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
.vh-titre { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.vh-repondre { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.vh-repondre .champ { width: auto; flex: 1 1 140px; margin: 0; }

.vh-reponse { border: 1px solid var(--trait); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.vh-prix { font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.vh-ouvert { border: 1.5px solid var(--violet); border-radius: 12px; padding: 10px 12px; margin-top: 8px; }

.vh-public-marque { font-size: 12.5px; color: var(--gris); text-transform: uppercase;
    letter-spacing: .04em; margin: 0 0 6px; }

/* les quatre niveaux de visibilité */
.vi-ligne { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0;
    border-bottom: 1px solid var(--trait); cursor: pointer; }
.vi-ligne:last-child { border-bottom: none; }
.vi-ligne input { margin-top: 4px; accent-color: var(--violet); width: 20px; height: 20px; flex: none; }
.vi-ligne > span { display: block; }
.vi-ligne .note { display: block; font-size: 13px; }
.vi-defaut { font-style: normal; font-size: 11.5px; color: var(--violet);
    border: 1px solid var(--violet); border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.vi-avis { display: block; margin-top: 8px; background: #FBF9FF; border: 1px solid var(--trait);
    border-radius: 10px; padding: 10px 12px; font-size: 13.5px; line-height: 1.55; }
.petit-retirer { color: #8a2020; }
/* le champ d'adresse qui propose pendant qu'on tape (section C) */
.vh-adresse { display: block; position: relative; margin-bottom: 8px; }
.vh-adresse > span { display: block; font-size: 12.5px; color: var(--gris); margin-bottom: 4px; }
.vh-propositions { display: block; }
.vh-propositions.on {
    position: absolute; left: 0; right: 0; z-index: 20; background: #FFFFFF;
    border: 1px solid var(--trait); border-radius: 12px; overflow: hidden;
    box-shadow: 0 10px 26px rgba(26,26,32,.10);
}
.vh-propositions button {
    display: block; width: 100%; text-align: left; background: none; border: 0;
    padding: 10px 14px; min-height: 44px; font: inherit; font-size: 14.5px; cursor: pointer;
}
.vh-propositions button:hover { background: #FAF8FF; }

/* ⚠ 03.10.2026 — LE MENU DE L'ATELIER SE CHEVAUCHAIT AVEC SA PROPRE NOTE.
   Seule la liste était « collante » : en descendant, elle glissait par-dessus
   la phrase posée dessous, et les deux textes se superposaient. C'est la
   colonne entière qui colle, pas la liste. */
.at-menu { align-self: flex-start; position: sticky; top: 20px; }
.at-menu ul { position: static; top: auto; }
@media (max-width: 900px) { .at-menu { position: static; } }
/* les boutons du jeu d'essai, et ce qu'ils répondent (règle Z1) */
.vh-bouton { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.vh-bouton .b { width: 100%; margin: 0; }
.je-sortie { background: #FAF9FC; border: 1px solid var(--trait); border-radius: 12px;
    padding: 14px 16px; font: 12.5px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace;
    white-space: pre-wrap; overflow-x: auto; margin: 10px 0 0; }

/* ═══════════ 03.10.2026 12h50 · L'ESPACE MEMBRE, LES AGENDAS, LES ZONES ═══════════ */

.mes-casquette { font-size: 14px; color: var(--gris); margin: 0 0 14px; }
.mes-onglets { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 20px;
    border-bottom: 1px solid var(--trait); }
.mes-onglets a { text-decoration: none; color: var(--gris); font-size: 15px;
    padding: 11px 14px; min-height: 44px; display: inline-flex; align-items: center;
    border-bottom: 2px solid transparent; }
.mes-onglets a.on { color: var(--texte); font-weight: 600; border-bottom-color: var(--violet); }

.h-casquettes { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.h-casquette { display: block; min-height: 44px; padding: 10px 12px; border-radius: 10px;
    text-decoration: none; color: var(--texte); font-size: 14.5px; border: 1.5px solid var(--trait); }
.h-casquette.on { border-color: var(--violet); color: var(--violet); font-weight: 600; }

/* l'agenda d'un véhicule */
.ag-liste { margin: 10px 0; }
.ag-ligne { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 9px 0; border-bottom: 1px solid var(--trait); font-size: 14.5px; }
.ag-ligne:last-child { border-bottom: none; }
.ag-quand { font-weight: 600; }
.ag-etat { border-radius: 999px; padding: 2px 10px; font-size: 12.5px; border: 1px solid var(--trait); }
.ag-ligne.ag-libre   .ag-etat { color: #1d6f3e; border-color: #bfe3cd; }
.ag-ligne.ag-reserve .ag-etat { color: #8a5a00; border-color: #efd9ad; }
.ag-ligne.ag-bloque  .ag-etat { color: #8a2020; border-color: #efc0c0; }

/* la vue d'ensemble : une ligne par véhicule, une colonne par jour */
.ag-semaine { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ag-semaine th { font-weight: 600; color: var(--gris); padding: 4px 2px; text-align: center; }
.ag-semaine th span { display: block; font-weight: 400; color: var(--pale); font-size: 10.5px; }
.ag-nom { font-size: 13px; padding: 4px 10px 4px 0; white-space: nowrap; }
.ag-case { height: 26px; border: 1px solid #FFFFFF; border-radius: 4px; min-width: 22px; }
.ag-case.ag-libre   { background: #E8F5ED; }
.ag-case.ag-reserve { background: #F6E2BE; }
.ag-case.ag-bloque  { background: #F3D2D2; }
.ag-pastille { display: inline-block; width: 12px; height: 12px; border-radius: 3px;
    vertical-align: -1px; margin: 0 4px 0 10px; }
.ag-pastille.ag-libre { background: #E8F5ED; } .ag-pastille.ag-reserve { background: #F6E2BE; }
.ag-pastille.ag-bloque { background: #F3D2D2; }

/* la carte des zones — jamais un point */
.cz-zone { position: relative; width: 100%; height: 420px; overflow: hidden;
    border: 1px solid var(--trait); border-radius: 14px; background: #F4F2F7; margin: 10px 0; }
.cz-fond, .cz-calque { position: absolute; inset: 0; }
.cz-calque { pointer-events: none; }
.cz-cercle { position: absolute; border-radius: 50%;
    background: rgba(122, 92, 196, 0.16); border: 2px solid rgba(122, 92, 196, 0.55); }
.cz-etiquette { position: absolute; transform: translate(-50%, -50%);
    background: #FFFFFF; border: 1px solid var(--trait); border-radius: 999px;
    padding: 2px 9px; font-size: 11.5px; white-space: nowrap; }
.cz-credit { position: absolute; right: 6px; bottom: 4px; font-size: 10.5px;
    color: var(--gris); background: rgba(255,255,255,.82); border-radius: 6px; padding: 1px 6px; }
.cz-note { margin-top: 6px; }
.dem-carte h2 { font-size: 21px; }
/* ce qui attend d'être publié (section 5b) */
.at-attente { margin: 0 auto 14px; max-width: 1200px; padding: 0 var(--marge); }
.at-attente summary { cursor: pointer; font-size: 14px; color: var(--violet); padding: 8px 0; }
.at-attente .vi-table td { vertical-align: top; }

/* ═══ LE BANDEAU « EXEMPLE » (03.10.2026 16h26) ═══════════════════════════
   ⚠ Il doit être IMPOSSIBLE à manquer : barré de jaune, en capitales, sur
     toute la largeur. Ce n'est pas une décoration, c'est un garde-fou. */
.ex-bandeau { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
    margin: 0 0 16px; padding: 12px 16px; border-radius: 12px;
    background: repeating-linear-gradient(135deg, #FFF4CC 0 14px, #FFE9A3 14px 28px);
    border: 2px solid #C98A00; color: #4A3200; }
.ex-bandeau .ex-mot { font-weight: 800; font-size: 17px; letter-spacing: .06em; }
.ex-bandeau .ex-dit { font-weight: 600; font-size: 15px; }
.ex-bandeau .ex-note { flex-basis: 100%; font-size: 13px; color: #6A4D08; }
.ex-bandeau.ex-doute { background: repeating-linear-gradient(135deg, #FFE1E1 0 14px, #FFC9C9 14px 28px);
    border-color: #B33; color: #5A1111; }
.ex-bandeau.ex-doute .ex-note { color: #7A2222; }

/* sur une vignette : la même chose, en une ligne */
.ex-vignette { display: block; margin: 0 0 8px; padding: 5px 9px; border-radius: 8px;
    background: #FFE9A3; border: 1.5px solid #C98A00; color: #4A3200;
    font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
    line-height: 1.3; }
.ex-vignette.ex-doute { background: #FFC9C9; border-color: #B33; color: #5A1111; }
@media (max-width: 420px) {
    .ex-bandeau { padding: 10px 12px; }
    .ex-bandeau .ex-mot { font-size: 15px; }
    .ex-bandeau .ex-dit { font-size: 13.5px; }
}

/* ═══ LES DEUX GRANDES PORTES DU VÉHICULE (03.10.2026 16h26) ═════════════
   ⚠ À ÉGALITÉ : même largeur, même fond, même bordure. Aucune des deux
     n'est « la principale ». C'est tout le principe du site à l'envers. */
.ac-portes-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    max-width: 760px; margin: 4px auto 10px; padding: 0 var(--marge); }
.ac-porte-grande { display: flex; flex-direction: column; gap: 3px;
    padding: 24px 22px; border: 2px solid var(--trait); border-radius: 18px;
    background: var(--fond); color: var(--texte); text-decoration: none;
    transition: border-color .12s, transform .12s; }
.ac-porte-grande:hover, .ac-porte-grande:focus-visible {
    border-color: var(--violet); transform: translateY(-1px); }
.ac-porte-quoi { font-size: 15px; color: var(--gris); }
.ac-porte-mot  { font-size: 25px; font-weight: 700; line-height: 1.15; }
.ac-porte-note { margin-top: 8px; font-size: 13px; color: var(--gris); }
.ac-portes-note { text-align: center; font-size: 13px; color: var(--gris);
    margin: 0 0 22px; }
@media (max-width: 620px) {
    .ac-portes-deux { grid-template-columns: 1fr; gap: 12px; }
    .ac-porte-grande { padding: 18px 16px; }
    .ac-porte-mot { font-size: 21px; }
}

/* ═══ LE SEUL BOUTON QUI EFFACE (03.10.2026 16h26) ══════════════════════ */
.vi-danger { border-color: #C0392B; background: #FFF6F5; padding: 16px 18px; }
.vi-danger p { margin: 0 0 8px; }
.vi-coche { margin: 10px 0 14px; align-items: flex-start; }
.vi-coche span { font-size: 14px; }

/* ═══ DÉPUBLIER / REPUBLIER / CORBEILLE (03.10.2026 17h30) ═══════════════ */
.an-gestes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.an-etat { font-size: 11.5px; padding: 2px 8px; border-radius: 999px;
    border: 1px solid var(--trait); color: var(--gris); white-space: nowrap; }
.an-etat-on  { background: #EFEAFB; border-color: var(--violet-clair); color: #4A3580; }
.an-etat-off { background: #F4F3F6; }
.petit-republier { border-color: var(--violet); color: var(--violet); }

/* ═══ LES CONDITIONS (03.10.2026 18h00) ═════════════════════════════════
   ⚠ La ligne grise se LIT, elle ne se clique pas — sauf le dernier mot. */
.lg-grise { max-width: 1200px; margin: 18px auto 6px; padding: 0 var(--marge);
    font-size: 12.5px; line-height: 1.55; color: var(--gris); }
.lg-grise a { color: var(--gris); text-decoration: underline; }
.lg-sous-form { margin: 10px 0 0; font-size: 12.5px; color: var(--gris); }
.lg-sous-form a { color: var(--gris); text-decoration: underline; }
.lg-pied { font-size: 12.5px; color: var(--gris); }
.lg-version { font-size: 13.5px; color: var(--gris); margin: 0 0 14px; }
.lg-versions { font-size: 14px; line-height: 1.9; }
/* ⚠ UNE SEULE COCHE, UNE SEULE PHRASE. Jamais un questionnaire. */
.lg-coche { display: flex; gap: 10px; align-items: flex-start;
    margin: 16px 0; padding: 12px 14px; border: 1px solid var(--trait);
    border-radius: 12px; background: #FAF9FC; font-size: 14px; line-height: 1.5; }
.lg-coche input { margin-top: 3px; flex: 0 0 auto; }

/* ═══════════════════════════════════════════════════════════════════════
   04.10.2026 14h30 — « POSER UNE ANNONCE » : la première question, déjà
   répondue ; et les portes qui attendent, grises, sur l'essai seulement.
   ═══════════════════════════════════════════════════════════════════════ */
.vh-premiere { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 16px; }
.vh-choix {
    display: flex; align-items: center; justify-content: center; min-height: 56px;
    border: 1.5px solid var(--trait); border-radius: 14px; background: var(--fond);
    color: var(--texte); font-size: 17px; font-weight: 600; text-decoration: none;
}
.vh-choix:hover { border-color: var(--violet); }
.vh-choix.on { border-color: var(--violet); background: var(--violet); color: #fff; }
.vh-mes { margin: 0 0 12px; font-size: 14px; }
.h-famille-grise { opacity: .45; }
.h-tuile-plus-tard { opacity: .4; }

/* 04.10.2026 14h50 — l'utilité à égalité, ce qui ne s'affiche que sur un choix,
   et les détails repliés. Sans script : c'est la case cochée qui décide. */
.vh-egal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vh-egal .vh-radio { justify-content: center; text-align: center; }
.vh-si-pro { display: none; margin-top: 10px; }
.vh-form:has(input[name="qui"][value="pro"]:checked) .vh-si-pro { display: block; }
.vh-form:has(input[name="utilite"][value="personnes"]:checked) .vh-type-choses { display: none; }
.vh-si-autre { display: none; margin-top: 8px; }
.vh-form:has(input[name="type"][value="autre"]:checked) .vh-si-autre { display: block; }
@supports not selector(:has(*)) {
    .vh-si-pro, .vh-si-autre { display: block; }
}
.vh-plus { border: 1px solid var(--trait); border-radius: 14px; padding: 0 14px; margin: 0 0 14px; }
.vh-plus summary { cursor: pointer; min-height: 48px; display: flex; align-items: center;
    font-size: 14.5px; color: var(--gris); }
.vh-plus[open] { padding-bottom: 12px; }

/* 04.10.2026 15h25 — les deux lignes du bas du menu, en attente : grises, sans lien. */
.h-plus-tard { opacity: .4; cursor: default; }

/* ═══════════════════════════════════════════════════════════════════════
   04.10.2026 15h30 — LES LISTES DU DÉPÔT VÉHICULE. Chaque bloc de questions
   ne s'affiche que pour son « pour quoi faire ». Sans script : c'est la case
   cochée qui décide.
   ═══════════════════════════════════════════════════════════════════════ */
.vh-pile { display: flex; flex-direction: column; gap: 8px; }
.vh-pile .vh-radio { width: 100%; }
.vh-pour { display: none; }
.vh-form:has(input[name="pourquoi"][value="personnes_taxi"]:checked) .vh-pour-personnes,
.vh-form:has(input[name="pourquoi"][value="personnes"]:checked) .vh-pour-personnes,
.vh-form:has(input[name="pourquoi"][value="choses"]:checked) .vh-pour-choses,
.vh-form:has(input[name="pourquoi"][value="travailler"]:checked) .vh-pour-travailler { display: block; }
.vh-form:has(input[value="autre"]:checked:not(:disabled)) .vh-si-autre { display: block; }
.vh-champ { display: block; margin: 0 0 12px; }
.vh-etiquette { display: block; font-size: 12.5px; color: var(--gris); margin: 0 0 6px; }
@supports not selector(:has(*)) { .vh-pour { display: block; } }

/* 04.10.2026 18h25 — un genre réservé à un seul « pour quoi faire ». */
.vh-seul { display: none; }
.vh-form:has(input[name="pourquoi"][value="personnes"]:checked) .vh-seul-personnes,
.vh-form:has(input[name="pourquoi"][value="personnes_taxi"]:checked) .vh-seul-personnes_taxi,
.vh-form:has(input[name="pourquoi"][value="choses"]:checked) .vh-seul-choses,
.vh-form:has(input[name="pourquoi"][value="travailler"]:checked) .vh-seul-travailler { display: inline-flex; }
@supports not selector(:has(*)) { .vh-seul { display: inline-flex; } }

/* 04.10.2026 18h40 — ce qui est déjà fait : un fait, sans bouton. */
.vh-fait { font-size: 12.5px; color: var(--gris); margin: 6px 0 0 30px; }

/* 13.10.2026 — dépôt « je propose » : photos, autorisation VTC, phrase au-dessus du bouton */
.vh-photos-liste { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 12px; }
.vh-photos-liste:empty { display: none; }
.vh-photo { position: relative; display: inline-block; line-height: 0; }
.vh-photo img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; border: 1px solid #d9d9e0; }
.vh-photo-retirer { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid #c9c9d2; background: #fff; color: #141414; font-size: 20px; line-height: 1; cursor: pointer; }
.vh-photos-ajout { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vh-js .vh-photos-fichiers { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vh-photos-vues { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.vh-photos-vues img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid #d9d9e0; }
.vh-si-vtc { display: none; }
.vh-form:has(input[name="pourquoi"][value="personnes_taxi"]:checked):has(input[name="operation"][value^="location"]:checked) .vh-si-vtc { display: block; }
@supports not selector(:has(*)) { .vh-si-vtc { display: block; } }
.vh-rappel { margin: 16px 0 8px; font-size: 14.5px; line-height: 1.45; }
.vh-carte { margin: 10px 0; }
.vh-carte img { display: block; width: 100%; max-width: 640px; height: auto; border-radius: 12px; border: 1px solid #d9d9e0; }
.vh-carte figcaption { font-size: 12.5px; color: #5b5b66; margin-top: 4px; }

/* 28.10.2026 — vente, formules, fondateurs, parrainage, état des annonces (bloc de 15h10) */
.vh-si-vente { display: none; }
.vh-form:has(input[name="operation"][value="vente"]:checked) .vh-si-vente { display: block; }
@supports not selector(:has(*)) { .vh-si-vente { display: block; } }
.vh-case { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; }
.formules h2, .fondateurs h2, .parrainage h2 { margin: 6px 0 12px; }
.grille-formules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .grille-formules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grille-formules { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; } .grille-formules .formule { flex: 0 0 82%; scroll-snap-align: start; } }
.formule { border: 1px solid var(--trait, #e8e5ef); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--carte, #fff); }
.formule-top, .formule-mis_en_avant { border-color: #111113; }   /* 28.10 : moins de violet */
.formule-icone { color: #111113; }
.formule h3 { margin: 0; }
.formule-prix { font-size: 1.25rem; font-weight: 800; margin: 0; }
.formule ul { margin: 0; padding-left: 18px; }
.formule-exemple { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; border: 1px dashed var(--trait, #e8e5ef); border-radius: 12px; padding: 8px; font-size: .85rem; }
.formule-exemple .ex-photo { grid-row: span 2; width: 56px; height: 42px; border-radius: 8px; background: linear-gradient(135deg, #e4e4e7, #f4f4f5); }
.formule-exemple .ex-titre { font-weight: 700; }
.formule-exemple .ex-badge { justify-self: start; background: #fff1c2; color: #6b4e00; border: 1px solid #e9c94a; border-radius: 999px; padding: 0 8px; font-size: .75rem; font-weight: 700; }
.b.inactif { opacity: .55; cursor: not-allowed; }
.compteur-fondateurs .chiffre { font-size: 2rem; font-weight: 800; color: #111113; margin-right: 6px; }
.code-parrain { font-family: ui-monospace, monospace; letter-spacing: .08em; }
.mes-etat { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--trait, #e8e5ef); flex-wrap: wrap; }
.mes-supprimer summary { cursor: pointer; list-style: none; }
.formules-repli > summary { cursor: pointer; }
/* 28.10.2026 — permis de circulation et estimation */
.permis-dit ul { margin: 6px 0; padding-left: 18px; }
.vh-estimation { margin: 6px 0 10px; }
.estim-ligne { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--trait, #e8e5ef); }
.estim-mention { margin-top: 8px; }

/* 28.10.2026 (bloc 17h15) — durées et rabais (dépôt), page publique d'une annonce, photo d'illustration */
.vh-si-location { display: none; }
.vh-form:has(input[name="operation"][value^="location"]:checked) .vh-si-location { display: block; }
@supports not selector(:has(*)) { .vh-si-location { display: block; } }
.vh-durees { margin-top: 12px; }
.vh-sous-titre { font-weight: 700; margin: 0 0 6px; }
.vh-duree { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 8px; align-items: center; min-height: 44px; }
.vh-rabais { display: flex; align-items: center; gap: 6px; }
.vh-rabais .champ { width: 80px; min-height: 44px; }
.offre h1 { margin: 4px 0 12px; }
.illustration { margin: 0 0 16px; }
.illustration-cadre { position: relative; border-radius: 16px; overflow: hidden; background: #f4f4f5; }
.illustration-cadre img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.bandeau-illustration { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; background: rgba(17, 17, 19, .82); color: #fff; font-weight: 700; font-size: .9rem; line-height: 1.3; }
.illustration figcaption { margin-top: 6px; font-size: .8rem; }
.faits-offre { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; list-style: none; margin: 0 0 12px; }
table.durees { width: 100%; border-collapse: collapse; margin: 6px 0; }
table.durees th, table.durees td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--trait, #e5e5e5); vertical-align: top; }
table.durees th { font-weight: 600; width: 42%; }
.prix-offre-grand { font-size: 1.6rem; font-weight: 800; margin: 4px 0 8px; }
.mention-offre { border-left: 4px solid #111113; padding: 8px 12px; background: #f4f4f5; border-radius: 0 12px 12px 0; }
.avertissement-vente { font-weight: 700; }

/* 29.10.2026 (bloc de 13h15, point 1) — LE CHOIX SÉLECTIONNÉ BIEN VISIBLE, sur tous les choix (ronds et cases) :
   contour violet #7A5CC4 de 2 px, fond violet très clair, petite coche ; les autres restent gris ; visible au clavier. */
:root { --choix: #7A5CC4; --choix-fond: #F1ECFB; --choix-gris: #CFCADB; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --choix: #A98BFF; --choix-fond: rgba(122, 92, 196, .24); --choix-gris: #4A4560; } }
:root[data-theme="dark"] { --choix: #A98BFF; --choix-fond: rgba(122, 92, 196, .24); --choix-gris: #4A4560; }
:where(label:has(input[type="radio"], input[type="checkbox"])) { border-radius: 12px; }
:where(label:not([class]):has(input[type="radio"], input[type="checkbox"])) { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; }
label:has(input[type="radio"], input[type="checkbox"]) { border-width: 2px; border-style: solid; border-color: var(--choix-gris); }
label:has(input[type="radio"]:checked, input[type="checkbox"]:checked) { border-color: var(--choix) !important; background: var(--choix-fond) !important; }
label:has(input[type="radio"]:checked, input[type="checkbox"]:checked)::after { content: "✓"; margin-left: auto; padding-left: 6px; color: var(--choix); font-weight: 800; line-height: 1; }
label:has(input[type="radio"]:focus-visible, input[type="checkbox"]:focus-visible) { outline: 3px solid var(--choix); outline-offset: 2px; }
label:has(input[type="radio"], input[type="checkbox"]) input { accent-color: var(--choix); }
label:has(input[type="radio"]:disabled, input[type="checkbox"]:disabled) { opacity: .55; }

/* 29.10.2026 (bloc de 13h15, point 4) — LES FORMULES MIEUX CADRÉES : 2 × 2 sur ordinateur et tablette, une colonne sur
   téléphone ; prix sur une ligne ; aucune phrase coupée ; marges égales ; même hauteur ; bouton aligné en bas. */
.grille-formules { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: 1fr; gap: 12px; overflow: visible !important; align-items: stretch; }
.grille-formules .formule { flex: none !important; padding: 14px; gap: 10px; height: 100%; box-sizing: border-box; }
@media (max-width: 600px) { .grille-formules { grid-template-columns: 1fr !important; } }
.formule-tete { display: flex; align-items: center; gap: 10px; }
.formule-tete .formule-icone { display: inline-flex; flex: none; }
.formule-prix { white-space: nowrap; }
.formule ul { padding-left: 16px; flex: 1 1 auto; }
.formule li { margin: 2px 0; font-size: .9rem; }
@media (min-width: 340px) { .formule li { white-space: nowrap; } }
.formule-bouton { margin-top: auto; }
.formule-bouton .b { display: flex; width: 100%; justify-content: center; text-align: center; box-sizing: border-box; min-height: 44px; align-items: center; }
.lancement h2 { margin: 6px 0 10px; }
.compteur-lancement .chiffre { font-size: 2rem; font-weight: 800; color: #111113; margin-right: 6px; }
@media (prefers-color-scheme: dark) { .compteur-lancement .chiffre { color: inherit; } }
/* 29.10.2026 — fiche de l'annuaire */
.fiche-annuaire .faits { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; }
.fiche-annuaire .faits dt { font-weight: 700; }
.mention-annuaire { border-left: 4px solid #111113; padding: 8px 12px; background: #f4f4f5; border-radius: 0 12px 12px 0; font-style: italic; }
@media (prefers-color-scheme: dark) { .mention-annuaire { background: rgba(255, 255, 255, .06); border-left-color: #c3adff; } }
/* 29.10.2026 — texte pour les lecteurs d'écran seulement (« nouvel onglet ») */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 29.10.2026 (bloc de 16h58, point 3) — « ANNONCER » EN 6 ÉTAPES ET CARTES ILLUSTRÉES (aussi « Je cherche ») :
   une image ou un pictogramme en trait simple sur chaque choix ; choix sélectionné : contour #7A5CC4 2 px, fond violet clair, coche. */
.vh-cartes { display: grid; gap: 10px; margin: 6px 0 10px; }
.vh-cartes-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vh-cartes-types { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.vh-cartes-durees { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.vh-carte { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding: 10px; border: 2px solid var(--choix-gris, #CFCADB); border-radius: 14px; background: var(--carte, #fff); cursor: pointer; text-align: center; min-height: 44px; }
.vh-carte input[type="radio"], .vh-carte > label > input[type="checkbox"], .vh-carte-haut input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vh-carte-image { display: flex; align-items: center; justify-content: center; width: 100%; color: #2b2540; }
.vh-carte-photo .vh-carte-image { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; background: #f4f4f5; }
.vh-carte-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vh-carte-grande { padding: 22px 10px; }
.vh-carte-grande .vh-picto { width: 56px; height: 56px; }
.vh-carte-nom { font-weight: 700; line-height: 1.25; }
/* ⚠ 29.10.2026 19h30 : PAS de « :has » sur les cartes (WebKit / Safari plantait en quittant la page après l'étape du prix).
   Une carte-étiquette (Louer, Vendre, type, Particulier…) prend le style « choix sélectionné » commun (label:has, plus haut) ;
   la carte d'une durée (un bloc avec sa case et son rabais) reçoit la classe « choisie » du script (v3/annoncer-etapes.js). */
.vh-carte::after { position: absolute; top: 6px; right: 8px; margin: 0 !important; padding: 0 !important; }
.vh-carte-duree.choisie { border-color: var(--choix, #7A5CC4) !important; background: var(--choix-fond, #F1ECFB) !important; }
.vh-carte-duree.choisie::after { content: "✓"; color: var(--choix, #7A5CC4); font-weight: 800; }
.vh-carte-duree { cursor: default; }
.vh-carte-haut { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; border: 0 !important; background: none !important; padding: 0; width: 100%; }
.vh-carte-duree .vh-rabais { display: flex; align-items: center; gap: 4px; font-size: .85rem; border: 0 !important; background: none !important; padding: 0; }
.vh-carte-duree .vh-rabais .champ { width: 4.5em; padding: 6px; text-align: right; }
.vh-cache-pourquoi { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vh-preciser { margin: 8px 0; }
.vh-preciser > summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
/* les étapes */
.vh-etape { border: 0; padding: 4px 0 10px; }
.vh-etape-titre { font-size: 1.35rem; margin: 6px 0 12px; }
.vh-etapes:not(.en-etapes) .vh-etape + .vh-etape { border-top: 1px solid var(--trait, #e8e5ef); margin-top: 10px; padding-top: 14px; }
.vh-progression { margin: 0 0 12px; }
.vh-progression-barre { height: 8px; border-radius: 999px; background: #ece9f3; overflow: hidden; }
.vh-progression-barre span { display: block; height: 100%; width: 0; background: var(--choix, #7A5CC4); transition: width .25s; }
.vh-progression-texte { margin: 6px 0 0; font-size: .85rem; color: var(--gris, #5b5570); }
.vh-etapes-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 14px; }
.vh-etapes-nav .b { min-height: 48px; flex: 1 1 0; }
.vh-etapes-nav .b[hidden] { display: none; }
/* le permis : un champ, ⓘ, des flèches qui tournent */
.vh-permis-ligne { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vh-fichier { position: relative; display: inline-flex; border: 0 !important; background: none !important; padding: 0 !important; }
.vh-fichier input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.vh-fichier .b { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; }
.vh-fichier .vh-picto { width: 22px; height: 22px; }
.vh-info-i { position: relative; }
.vh-info-i > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; color: var(--choix, #7A5CC4); }
.vh-info-i > summary::-webkit-details-marker { display: none; }
.vh-info-i[open] > p { font-size: .9rem; margin: 4px 0 0; padding: 10px 12px; background: #f4f4f5; border-radius: 10px; max-width: 34em; }
.vh-lecture { display: inline-flex; align-items: center; }
.vh-lecture[hidden] { display: none; }
.vh-fleches .vh-picto { width: 32px; height: 32px; color: var(--choix, #7A5CC4); animation: vh-tourne 1s linear infinite; }
@keyframes vh-tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vh-fleches .vh-picto { animation-duration: 3s; } }
.vh-simples .champ.rempli { border-color: var(--choix, #7A5CC4); background: var(--choix-fond, #F1ECFB); }
.vh-details .vh-champ { margin: 8px 0; }
@media (max-width: 420px) { .vh-cartes-types, .vh-cartes-durees { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vh-etape-titre { font-size: 1.2rem; } }
@media (prefers-color-scheme: dark) { .vh-carte-image { color: #ecebf2; } .vh-progression-barre { background: #2d2840; } .vh-info-i[open] > p { background: rgba(255,255,255,.06); } }
/* la case d'une carte de durée : le cadre et la coche sont sur la carte entière, pas sur la case (sans « :has ») */
.vh-form .vh-carte-duree label.vh-carte-haut { border: 0 !important; background: none !important; padding: 0 !important; }
.vh-form .vh-carte-duree label.vh-carte-haut::after { content: none !important; }

/* 01.11.2026 : le bandeau d'illustration ne cache plus le véhicule au téléphone */
@media (max-width: 480px) { .bandeau-illustration { padding: 4px 8px; font-size: .72rem; font-weight: 600; } }


/* 06.11.2026 — Le menu de voyage, collant, toujours visible (Vols · Location de voiture · Hôtels).
   Accent noir des pages ; le violet de la marque ne sert que de surlignage léger. */
.menu-voyage { position: sticky; top: 0; z-index: 30; background: var(--fond); border-bottom: 1px solid var(--trait); }
.menu-voyage > div { display: flex; align-items: stretch; gap: 2px; flex-wrap: wrap; }
.menu-voyage .mv-lien { display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; min-height: 48px; font-weight: 700; color: var(--texte); text-decoration: none; border: 0; background: none; cursor: pointer; font: inherit; border-bottom: 3px solid transparent; }
.menu-voyage .mv-lien:hover { background: rgba(122, 92, 196, .08); border-bottom-color: var(--violet-marque); }
.menu-voyage details.mv-sous { position: relative; }
.menu-voyage details.mv-sous > summary { list-style: none; }
.menu-voyage details.mv-sous > summary::-webkit-details-marker { display: none; }
.menu-voyage details.mv-sous > summary::after { content: "\25BE"; font-size: .8em; color: var(--gris); }
.menu-voyage details.mv-sous[open] > summary { background: rgba(122, 92, 196, .13); border-bottom-color: var(--violet-marque); }
.menu-voyage .mv-panneau { position: absolute; top: 100%; left: 0; min-width: 232px; background: var(--fond); border: 1px solid var(--trait); border-radius: 12px; box-shadow: 0 10px 30px rgba(17, 17, 19, .14); padding: 6px; z-index: 31; display: flex; flex-direction: column; }
.menu-voyage .mv-panneau a { padding: 11px 12px; min-height: 44px; display: flex; align-items: center; border-radius: 8px; color: var(--texte); text-decoration: none; font-weight: 600; }
.menu-voyage .mv-panneau a:hover { background: rgba(122, 92, 196, .10); }
@media (max-width: 520px) {
  .menu-voyage .mv-panneau { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--trait); border-radius: 0; margin: 0 0 4px 14px; }
}


/* 06.11.2026 — téléphone : resserrer le menu de voyage pour que les 4 sections tiennent sur une ligne. */
@media (max-width: 480px){
  .menu-voyage > div{ padding-left: 8px; padding-right: 8px; }
  .menu-voyage .mv-lien{ padding: 11px 8px; font-size: .95rem; }
}

/* 24.11.2026 — véhicules seuls : le lien actif du menu du haut (Annoncer) */
.menu-voyage .mv-lien[aria-current="page"] { border-bottom-color: var(--violet-marque); }
