/* =====================================================================================================================
   APPARENCE (éditeur 2, lot L2, 30/10/2026). Classes « ap-… » et variables « --ap-… » posées par Contenu/Apparence.php
   (clé « style.ap » d'une section ou d'un élément). Une section ou un élément sans « ap » ne porte aucune de ces classes :
   le rendu des sites en ligne ne change pas, et cette feuille n'est chargée que sur une page qui en a besoin (ou dans l'éditeur).
   Règles :
   - chaque règle est écrite deux fois : force normale, et « .reg-forts … :not(#_) » (réglages forts, voir site.css) ;
   - « surface » : la section ou l'élément lui-même, le lien d'un bouton (.bouton), l'image d'un élément Image (img),
     la carte d'un élément Carte (.carte) ;
   - couleurs : jetons de la charte seulement (classes ap-bc-…, ap-fc-… écrites dans /theme.css par Apparence::cssPublic) ;
   - survol et clic : 150 à 250 ms, apparition 500 ms, courbes douces ; survol seulement sur un appareil qui survole ;
   - apparition sans JavaScript (animation-timeline: view()) dans @supports : sans support, l'élément reste visible ;
   - « réduire les animations » coupe toute animation et transition d'apparence (seul !important de la feuille, voulu).
   Feuille produite par un générateur : en la retouchant à la main, garder le doublement (le test editeur-2-apparence le vérifie).
   ===================================================================================================================== */

/* Taille S M L XL : le texte suit (titres sur l'échelle de la charte), une image prend une largeur */
.ap-t-s:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-t-s.el--bouton .bouton,
.ap-t-s.el--carte .carte,
.reg-forts .ap-t-s:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-t-s.el--bouton .bouton:not(#_),
.reg-forts .ap-t-s.el--carte .carte:not(#_) { font-size: .875em; }
.ap-t-s :is(h1, h2, h3, h4, h5, h6),
.reg-forts .ap-t-s :is(h1, h2, h3, h4, h5, h6):not(#_) { font-size: var(--t-l); }
.ap-t-s :is(p, li, blockquote),
.reg-forts .ap-t-s :is(p, li, blockquote):not(#_) { font-size: inherit; }
.ap-t-s.el--image img,
.reg-forts .ap-t-s.el--image img:not(#_) { width: min(100%, 240px); }
.ap-t-m:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-t-m.el--bouton .bouton,
.ap-t-m.el--carte .carte,
.reg-forts .ap-t-m:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-t-m.el--bouton .bouton:not(#_),
.reg-forts .ap-t-m.el--carte .carte:not(#_) { font-size: 1em; }
.ap-t-m :is(h1, h2, h3, h4, h5, h6),
.reg-forts .ap-t-m :is(h1, h2, h3, h4, h5, h6):not(#_) { font-size: var(--t-xl); }
.ap-t-m :is(p, li, blockquote),
.reg-forts .ap-t-m :is(p, li, blockquote):not(#_) { font-size: inherit; }
.ap-t-m.el--image img,
.reg-forts .ap-t-m.el--image img:not(#_) { width: min(100%, 400px); }
.ap-t-l:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-t-l.el--bouton .bouton,
.ap-t-l.el--carte .carte,
.reg-forts .ap-t-l:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-t-l.el--bouton .bouton:not(#_),
.reg-forts .ap-t-l.el--carte .carte:not(#_) { font-size: 1.2em; }
.ap-t-l :is(h1, h2, h3, h4, h5, h6),
.reg-forts .ap-t-l :is(h1, h2, h3, h4, h5, h6):not(#_) { font-size: var(--t-xxl); }
.ap-t-l :is(p, li, blockquote),
.reg-forts .ap-t-l :is(p, li, blockquote):not(#_) { font-size: inherit; }
.ap-t-l.el--image img,
.reg-forts .ap-t-l.el--image img:not(#_) { width: min(100%, 640px); }
.ap-t-xl:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-t-xl.el--bouton .bouton,
.ap-t-xl.el--carte .carte,
.reg-forts .ap-t-xl:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-t-xl.el--bouton .bouton:not(#_),
.reg-forts .ap-t-xl.el--carte .carte:not(#_) { font-size: 1.5em; }
.ap-t-xl :is(h1, h2, h3, h4, h5, h6),
.reg-forts .ap-t-xl :is(h1, h2, h3, h4, h5, h6):not(#_) { font-size: var(--t-h1); }
.ap-t-xl :is(p, li, blockquote),
.reg-forts .ap-t-xl :is(p, li, blockquote):not(#_) { font-size: inherit; }
.ap-t-xl.el--image img,
.reg-forts .ap-t-xl.el--image img:not(#_) { width: min(100%, 100%); }

/* Largeur et hauteur : px ou % (variables --ap-l, --ap-h), « selon le texte », « colonne » */
.ap-l:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-l.el--bouton .bouton,
.ap-l.el--image img,
.ap-l.el--carte .carte,
.reg-forts .ap-l:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-l.el--bouton .bouton:not(#_),
.reg-forts .ap-l.el--image img:not(#_),
.reg-forts .ap-l.el--carte .carte:not(#_) { width: var(--ap-l); max-width: 100%; }
.ap-l-texte:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-l-texte.el--bouton .bouton,
.ap-l-texte.el--image img,
.ap-l-texte.el--carte .carte,
.reg-forts .ap-l-texte:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-l-texte.el--bouton .bouton:not(#_),
.reg-forts .ap-l-texte.el--image img:not(#_),
.reg-forts .ap-l-texte.el--carte .carte:not(#_) { width: fit-content; max-width: 100%; }
.ap-l-colonne:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-l-colonne.el--bouton .bouton,
.ap-l-colonne.el--image img,
.ap-l-colonne.el--carte .carte,
.reg-forts .ap-l-colonne:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-l-colonne.el--bouton .bouton:not(#_),
.reg-forts .ap-l-colonne.el--image img:not(#_),
.reg-forts .ap-l-colonne.el--carte .carte:not(#_) { width: 100%; }
.ap-h:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-h.el--bouton .bouton,
.ap-h.el--carte .carte,
.reg-forts .ap-h:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-h.el--bouton .bouton:not(#_),
.reg-forts .ap-h.el--carte .carte:not(#_) { min-height: var(--ap-h); }
.ap-h.el--image img,
.reg-forts .ap-h.el--image img:not(#_) { height: var(--ap-h); object-fit: cover; }
.ap-h-texte:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-h-texte.el--bouton .bouton,
.ap-h-texte.el--image img,
.ap-h-texte.el--carte .carte,
.reg-forts .ap-h-texte:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-h-texte.el--bouton .bouton:not(#_),
.reg-forts .ap-h-texte.el--image img:not(#_),
.reg-forts .ap-h-texte.el--carte .carte:not(#_) { min-height: 0; height: auto; }
.ap-h-colonne,
.reg-forts .ap-h-colonne:not(#_) { align-self: stretch; height: 100%; }

/* Marges autour (margin) et dedans (padding), quatre côtés */
.ap-mh,
.reg-forts .ap-mh:not(#_) { margin-block-start: var(--ap-mh); }
.ap-md,
.reg-forts .ap-md:not(#_) { margin-inline-end: var(--ap-md); }
.ap-mb,
.reg-forts .ap-mb:not(#_) { margin-block-end: var(--ap-mb); }
.ap-mg,
.reg-forts .ap-mg:not(#_) { margin-inline-start: var(--ap-mg); }
.ap-ph:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-ph.el--bouton .bouton,
.ap-ph.el--image img,
.ap-ph.el--carte .carte,
.reg-forts .ap-ph:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-ph.el--bouton .bouton:not(#_),
.reg-forts .ap-ph.el--image img:not(#_),
.reg-forts .ap-ph.el--carte .carte:not(#_) { padding-block-start: var(--ap-ph); }
.ap-pd:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-pd.el--bouton .bouton,
.ap-pd.el--image img,
.ap-pd.el--carte .carte,
.reg-forts .ap-pd:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-pd.el--bouton .bouton:not(#_),
.reg-forts .ap-pd.el--image img:not(#_),
.reg-forts .ap-pd.el--carte .carte:not(#_) { padding-inline-end: var(--ap-pd); }
.ap-pb:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-pb.el--bouton .bouton,
.ap-pb.el--image img,
.ap-pb.el--carte .carte,
.reg-forts .ap-pb:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-pb.el--bouton .bouton:not(#_),
.reg-forts .ap-pb.el--image img:not(#_),
.reg-forts .ap-pb.el--carte .carte:not(#_) { padding-block-end: var(--ap-pb); }
.ap-pg:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-pg.el--bouton .bouton,
.ap-pg.el--image img,
.ap-pg.el--carte .carte,
.reg-forts .ap-pg:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-pg.el--bouton .bouton:not(#_),
.reg-forts .ap-pg.el--image img:not(#_),
.reg-forts .ap-pg.el--carte .carte:not(#_) { padding-inline-start: var(--ap-pg); }

/* « À part au téléphone » : mêmes réglages, clés p (classes ap-p-…), sous 760 px comme le reste du site */
@media (max-width: 760px) {
  .ap-p-t-s:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-t-s.el--bouton .bouton,
  .ap-p-t-s.el--carte .carte,
  .reg-forts .ap-p-t-s:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-t-s.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-t-s.el--carte .carte:not(#_) { font-size: .875em; }
  .ap-p-t-s :is(h1, h2, h3, h4, h5, h6),
  .reg-forts .ap-p-t-s :is(h1, h2, h3, h4, h5, h6):not(#_) { font-size: var(--t-l); }
  .ap-p-t-s :is(p, li, blockquote),
  .reg-forts .ap-p-t-s :is(p, li, blockquote):not(#_) { font-size: inherit; }
  .ap-p-t-s.el--image img,
  .reg-forts .ap-p-t-s.el--image img:not(#_) { width: min(100%, 240px); }
  .ap-p-t-m:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-t-m.el--bouton .bouton,
  .ap-p-t-m.el--carte .carte,
  .reg-forts .ap-p-t-m:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-t-m.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-t-m.el--carte .carte:not(#_) { font-size: 1em; }
  .ap-p-t-m :is(h1, h2, h3, h4, h5, h6),
  .reg-forts .ap-p-t-m :is(h1, h2, h3, h4, h5, h6):not(#_) { font-size: var(--t-xl); }
  .ap-p-t-m :is(p, li, blockquote),
  .reg-forts .ap-p-t-m :is(p, li, blockquote):not(#_) { font-size: inherit; }
  .ap-p-t-m.el--image img,
  .reg-forts .ap-p-t-m.el--image img:not(#_) { width: min(100%, 400px); }
  .ap-p-t-l:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-t-l.el--bouton .bouton,
  .ap-p-t-l.el--carte .carte,
  .reg-forts .ap-p-t-l:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-t-l.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-t-l.el--carte .carte:not(#_) { font-size: 1.2em; }
  .ap-p-t-l :is(h1, h2, h3, h4, h5, h6),
  .reg-forts .ap-p-t-l :is(h1, h2, h3, h4, h5, h6):not(#_) { font-size: var(--t-xxl); }
  .ap-p-t-l :is(p, li, blockquote),
  .reg-forts .ap-p-t-l :is(p, li, blockquote):not(#_) { font-size: inherit; }
  .ap-p-t-l.el--image img,
  .reg-forts .ap-p-t-l.el--image img:not(#_) { width: min(100%, 640px); }
  .ap-p-t-xl:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-t-xl.el--bouton .bouton,
  .ap-p-t-xl.el--carte .carte,
  .reg-forts .ap-p-t-xl:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-t-xl.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-t-xl.el--carte .carte:not(#_) { font-size: 1.5em; }
  .ap-p-t-xl :is(h1, h2, h3, h4, h5, h6),
  .reg-forts .ap-p-t-xl :is(h1, h2, h3, h4, h5, h6):not(#_) { font-size: var(--t-h1); }
  .ap-p-t-xl :is(p, li, blockquote),
  .reg-forts .ap-p-t-xl :is(p, li, blockquote):not(#_) { font-size: inherit; }
  .ap-p-t-xl.el--image img,
  .reg-forts .ap-p-t-xl.el--image img:not(#_) { width: min(100%, 100%); }
  .ap-p-l:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-l.el--bouton .bouton,
  .ap-p-l.el--image img,
  .ap-p-l.el--carte .carte,
  .reg-forts .ap-p-l:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-l.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-l.el--image img:not(#_),
  .reg-forts .ap-p-l.el--carte .carte:not(#_) { width: var(--ap-l-p); max-width: 100%; }
  .ap-p-l-texte:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-l-texte.el--bouton .bouton,
  .ap-p-l-texte.el--image img,
  .ap-p-l-texte.el--carte .carte,
  .reg-forts .ap-p-l-texte:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-l-texte.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-l-texte.el--image img:not(#_),
  .reg-forts .ap-p-l-texte.el--carte .carte:not(#_) { width: fit-content; max-width: 100%; }
  .ap-p-l-colonne:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-l-colonne.el--bouton .bouton,
  .ap-p-l-colonne.el--image img,
  .ap-p-l-colonne.el--carte .carte,
  .reg-forts .ap-p-l-colonne:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-l-colonne.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-l-colonne.el--image img:not(#_),
  .reg-forts .ap-p-l-colonne.el--carte .carte:not(#_) { width: 100%; }
  .ap-p-h:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-h.el--bouton .bouton,
  .ap-p-h.el--carte .carte,
  .reg-forts .ap-p-h:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-h.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-h.el--carte .carte:not(#_) { min-height: var(--ap-h-p); }
  .ap-p-h.el--image img,
  .reg-forts .ap-p-h.el--image img:not(#_) { height: var(--ap-h-p); object-fit: cover; }
  .ap-p-h-texte:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-h-texte.el--bouton .bouton,
  .ap-p-h-texte.el--image img,
  .ap-p-h-texte.el--carte .carte,
  .reg-forts .ap-p-h-texte:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-h-texte.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-h-texte.el--image img:not(#_),
  .reg-forts .ap-p-h-texte.el--carte .carte:not(#_) { min-height: 0; height: auto; }
  .ap-p-h-colonne,
  .reg-forts .ap-p-h-colonne:not(#_) { align-self: stretch; height: 100%; }
  .ap-p-mh,
  .reg-forts .ap-p-mh:not(#_) { margin-block-start: var(--ap-mh-p); }
  .ap-p-md,
  .reg-forts .ap-p-md:not(#_) { margin-inline-end: var(--ap-md-p); }
  .ap-p-mb,
  .reg-forts .ap-p-mb:not(#_) { margin-block-end: var(--ap-mb-p); }
  .ap-p-mg,
  .reg-forts .ap-p-mg:not(#_) { margin-inline-start: var(--ap-mg-p); }
  .ap-p-ph:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-ph.el--bouton .bouton,
  .ap-p-ph.el--image img,
  .ap-p-ph.el--carte .carte,
  .reg-forts .ap-p-ph:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-ph.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-ph.el--image img:not(#_),
  .reg-forts .ap-p-ph.el--carte .carte:not(#_) { padding-block-start: var(--ap-ph-p); }
  .ap-p-pd:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-pd.el--bouton .bouton,
  .ap-p-pd.el--image img,
  .ap-p-pd.el--carte .carte,
  .reg-forts .ap-p-pd:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-pd.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-pd.el--image img:not(#_),
  .reg-forts .ap-p-pd.el--carte .carte:not(#_) { padding-inline-end: var(--ap-pd-p); }
  .ap-p-pb:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-pb.el--bouton .bouton,
  .ap-p-pb.el--image img,
  .ap-p-pb.el--carte .carte,
  .reg-forts .ap-p-pb:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-pb.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-pb.el--image img:not(#_),
  .reg-forts .ap-p-pb.el--carte .carte:not(#_) { padding-block-end: var(--ap-pb-p); }
  .ap-p-pg:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-p-pg.el--bouton .bouton,
  .ap-p-pg.el--image img,
  .ap-p-pg.el--carte .carte,
  .reg-forts .ap-p-pg:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-p-pg.el--bouton .bouton:not(#_),
  .reg-forts .ap-p-pg.el--image img:not(#_),
  .reg-forts .ap-p-pg.el--carte .carte:not(#_) { padding-inline-start: var(--ap-pg-p); }
}

/* Forme : pilule, droit, doux, coins par côté ; formes d'image */
.ap-f-pilule:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-f-pilule.el--bouton .bouton,
.ap-f-pilule.el--image img,
.ap-f-pilule.el--carte .carte,
.reg-forts .ap-f-pilule:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-f-pilule.el--bouton .bouton:not(#_),
.reg-forts .ap-f-pilule.el--image img:not(#_),
.reg-forts .ap-f-pilule.el--carte .carte:not(#_) { border-radius: 999px; }
.ap-f-droit:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-f-droit.el--bouton .bouton,
.ap-f-droit.el--image img,
.ap-f-droit.el--carte .carte,
.reg-forts .ap-f-droit:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-f-droit.el--bouton .bouton:not(#_),
.reg-forts .ap-f-droit.el--image img:not(#_),
.reg-forts .ap-f-droit.el--carte .carte:not(#_) { border-radius: 0; }
.ap-f-doux:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-f-doux.el--bouton .bouton,
.ap-f-doux.el--image img,
.ap-f-doux.el--carte .carte,
.reg-forts .ap-f-doux:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-f-doux.el--bouton .bouton:not(#_),
.reg-forts .ap-f-doux.el--image img:not(#_),
.reg-forts .ap-f-doux.el--carte .carte:not(#_) { border-radius: calc(var(--rayon, 10px) * 1.6); }
.ap-coins:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-coins.el--bouton .bouton,
.ap-coins.el--image img,
.ap-coins.el--carte .carte,
.reg-forts .ap-coins:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-coins.el--bouton .bouton:not(#_),
.reg-forts .ap-coins.el--image img:not(#_),
.reg-forts .ap-coins.el--carte .carte:not(#_) { border-radius: var(--ap-chg, 0) var(--ap-chd, 0) var(--ap-cbd, 0) var(--ap-cbg, 0); }
.ap-img-rond.el--image img,
.reg-forts .ap-img-rond.el--image img:not(#_) { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.ap-img-arche.el--image img,
.reg-forts .ap-img-arche.el--image img:not(#_) { border-radius: 999px 999px var(--rayon, 10px) var(--rayon, 10px); aspect-ratio: 3 / 4; object-fit: cover; }
.ap-img-goutte.el--image img,
.reg-forts .ap-img-goutte.el--image img:not(#_) { border-radius: 0 50% 50% 50%; aspect-ratio: 1; object-fit: cover; }
.ap-img-polygone.el--image img,
.reg-forts .ap-img-polygone.el--image img:not(#_) { clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); aspect-ratio: 1.12; object-fit: cover; }

/* Bord : épaisseur (--ap-be), style, couleur de la charte (--ap-bc, classes ap-bc-… dans /theme.css) */
.ap-bord:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-bord.el--bouton .bouton,
.ap-bord.el--image img,
.ap-bord.el--carte .carte,
.reg-forts .ap-bord:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-bord.el--bouton .bouton:not(#_),
.reg-forts .ap-bord.el--image img:not(#_),
.reg-forts .ap-bord.el--carte .carte:not(#_) { border: var(--ap-be, 1px) var(--ap-bs, solid) var(--ap-bc, currentColor); }
.ap-bs-plein,
.reg-forts .ap-bs-plein:not(#_) { --ap-bs: solid; }
.ap-bs-tirets,
.reg-forts .ap-bs-tirets:not(#_) { --ap-bs: dashed; }
.ap-bs-points,
.reg-forts .ap-bs-points:not(#_) { --ap-bs: dotted; }
.ap-bs-double,
.reg-forts .ap-bs-double:not(#_) { --ap-bs: double; }

/* Ombre : préréglages teintés par le texte de la charte, flou réglable (--ap-of) */
.ap-om-flou:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-om-flou.el--bouton .bouton,
.ap-om-flou.el--image img,
.ap-om-flou.el--carte .carte,
.reg-forts .ap-om-flou:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-om-flou.el--bouton .bouton:not(#_),
.reg-forts .ap-om-flou.el--image img:not(#_),
.reg-forts .ap-om-flou.el--carte .carte:not(#_) { box-shadow: 0 calc(var(--ap-of) * .35) var(--ap-of) color-mix(in srgb, var(--c-texte, #000) 16%, transparent); }
.ap-om-aucune:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-om-aucune.el--bouton .bouton,
.ap-om-aucune.el--image img,
.ap-om-aucune.el--carte .carte,
.reg-forts .ap-om-aucune:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-om-aucune.el--bouton .bouton:not(#_),
.reg-forts .ap-om-aucune.el--image img:not(#_),
.reg-forts .ap-om-aucune.el--carte .carte:not(#_) { box-shadow: none; }
.ap-om-douce:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-om-douce.el--bouton .bouton,
.ap-om-douce.el--image img,
.ap-om-douce.el--carte .carte,
.reg-forts .ap-om-douce:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-om-douce.el--bouton .bouton:not(#_),
.reg-forts .ap-om-douce.el--image img:not(#_),
.reg-forts .ap-om-douce.el--carte .carte:not(#_) { box-shadow: 0 2px var(--ap-of, 10px) color-mix(in srgb, var(--c-texte, #000) 10%, transparent); }
.ap-om-nette:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-om-nette.el--bouton .bouton,
.ap-om-nette.el--image img,
.ap-om-nette.el--carte .carte,
.reg-forts .ap-om-nette:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-om-nette.el--bouton .bouton:not(#_),
.reg-forts .ap-om-nette.el--image img:not(#_),
.reg-forts .ap-om-nette.el--carte .carte:not(#_) { box-shadow: 0 1px var(--ap-of, 2px) color-mix(in srgb, var(--c-texte, #000) 26%, transparent); }
.ap-om-forte:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-om-forte.el--bouton .bouton,
.ap-om-forte.el--image img,
.ap-om-forte.el--carte .carte,
.reg-forts .ap-om-forte:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-om-forte.el--bouton .bouton:not(#_),
.reg-forts .ap-om-forte.el--image img:not(#_),
.reg-forts .ap-om-forte.el--carte .carte:not(#_) { box-shadow: 0 12px var(--ap-of, 32px) color-mix(in srgb, var(--c-texte, #000) 24%, transparent); }
.ap-om-flottante:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-om-flottante.el--bouton .bouton,
.ap-om-flottante.el--image img,
.ap-om-flottante.el--carte .carte,
.reg-forts .ap-om-flottante:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-om-flottante.el--bouton .bouton:not(#_),
.reg-forts .ap-om-flottante.el--image img:not(#_),
.reg-forts .ap-om-flottante.el--carte .carte:not(#_) { box-shadow: 0 24px var(--ap-of, 48px) -12px color-mix(in srgb, var(--c-texte, #000) 30%, transparent); }
.ap-om-creuse:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-om-creuse.el--bouton .bouton,
.ap-om-creuse.el--image img,
.ap-om-creuse.el--carte .carte,
.reg-forts .ap-om-creuse:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-om-creuse.el--bouton .bouton:not(#_),
.reg-forts .ap-om-creuse.el--image img:not(#_),
.reg-forts .ap-om-creuse.el--carte .carte:not(#_) { box-shadow: inset 0 2px var(--ap-of, 8px) color-mix(in srgb, var(--c-texte, #000) 18%, transparent); }

/* Fond : uni (couleur de la charte), dégradé de la charte, image de la médiathèque, décor */
.ap-fc:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-fc.el--bouton .bouton,
.ap-fc.el--image img,
.ap-fc.el--carte .carte,
.reg-forts .ap-fc:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-fc.el--bouton .bouton:not(#_),
.reg-forts .ap-fc.el--image img:not(#_),
.reg-forts .ap-fc.el--carte .carte:not(#_) { background-color: var(--ap-fc); color: var(--ap-fc-txt); }
.ap-fond-img:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-fond-img.el--bouton .bouton,
.ap-fond-img.el--image img,
.ap-fond-img.el--carte .carte,
.reg-forts .ap-fond-img:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-fond-img.el--bouton .bouton:not(#_),
.reg-forts .ap-fond-img.el--image img:not(#_),
.reg-forts .ap-fond-img.el--carte .carte:not(#_) { background-image: var(--ap-decor, none), var(--ap-fimg, none); background-size: var(--ap-decor-t, auto), cover; background-position: 0 0, center; background-repeat: repeat, no-repeat; }
.ap-ftxt:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-ftxt.el--bouton .bouton,
.ap-ftxt.el--image img,
.ap-ftxt.el--carte .carte,
.reg-forts .ap-ftxt:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-ftxt.el--bouton .bouton:not(#_),
.reg-forts .ap-ftxt.el--image img:not(#_),
.reg-forts .ap-ftxt.el--carte .carte:not(#_) { color: var(--ap-ftxt); }
.ap-decor-points,
.reg-forts .ap-decor-points:not(#_) { --ap-decor: radial-gradient(color-mix(in srgb, currentColor 22%, transparent) 1.2px, transparent 1.7px); --ap-decor-t: 18px 18px; }
.ap-decor-lignes,
.reg-forts .ap-decor-lignes:not(#_) { --ap-decor: repeating-linear-gradient(135deg, color-mix(in srgb, currentColor 14%, transparent) 0 1px, transparent 1px 14px); --ap-decor-t: auto; }
.ap-decor-grille,
.reg-forts .ap-decor-grille:not(#_) { --ap-decor: conic-gradient(from 90deg at 1px 1px, transparent 25%, color-mix(in srgb, currentColor 12%, transparent) 0); --ap-decor-t: 28px 28px; }
.ap-decor-grain,
.reg-forts .ap-decor-grain:not(#_) { --ap-decor: radial-gradient(color-mix(in srgb, currentColor 16%, transparent) .6px, transparent 1px); --ap-decor-t: 5px 5px; }

/* Apparition au défilement, sans JavaScript ; « décalage » (--ap-dec, 0 à 8) fait entrer les éléments l'un après l'autre ; la fin reste avant « entry 100% » (94 % au plus) : un élément en bas de page finit toujours visible */
@keyframes ap-k-fondu { from { opacity: 0; } }
@keyframes ap-k-glisse { from { opacity: 0; transform: translateY(24px); } }
@keyframes ap-k-zoom { from { opacity: 0; transform: scale(.94); } }
@supports (animation-timeline: view()) {
  .ap-app-fondu,
  .reg-forts .ap-app-fondu:not(#_) { animation: ap-k-fondu 500ms cubic-bezier(.23, 1, .32, 1) both; animation-timeline: view(); animation-range: entry calc(var(--ap-dec, 0) * 3%) entry calc(70% + var(--ap-dec, 0) * 3%); }
  .ap-app-glisse,
  .reg-forts .ap-app-glisse:not(#_) { animation: ap-k-glisse 500ms cubic-bezier(.23, 1, .32, 1) both; animation-timeline: view(); animation-range: entry calc(var(--ap-dec, 0) * 3%) entry calc(70% + var(--ap-dec, 0) * 3%); }
  .ap-app-zoom,
  .reg-forts .ap-app-zoom:not(#_) { animation: ap-k-zoom 500ms cubic-bezier(.23, 1, .32, 1) both; animation-timeline: view(); animation-range: entry calc(var(--ap-dec, 0) * 3%) entry calc(70% + var(--ap-dec, 0) * 3%); }
}

/* Survol : se soulève, s'assombrit, trait, halo, fond glissant ; seulement sur un appareil qui survole */
.ap-sv-souleve:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-sv-souleve.el--bouton .bouton,
.ap-sv-souleve.el--image img,
.ap-sv-souleve.el--carte .carte,
.reg-forts .ap-sv-souleve:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-sv-souleve.el--bouton .bouton:not(#_),
.reg-forts .ap-sv-souleve.el--image img:not(#_),
.reg-forts .ap-sv-souleve.el--carte .carte:not(#_) { transition: transform 200ms cubic-bezier(.23, 1, .32, 1), box-shadow 200ms cubic-bezier(.23, 1, .32, 1); }
.ap-sv-assombrit:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-sv-assombrit.el--bouton .bouton,
.ap-sv-assombrit.el--image img,
.ap-sv-assombrit.el--carte .carte,
.reg-forts .ap-sv-assombrit:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-sv-assombrit.el--bouton .bouton:not(#_),
.reg-forts .ap-sv-assombrit.el--image img:not(#_),
.reg-forts .ap-sv-assombrit.el--carte .carte:not(#_) { transition: filter 200ms ease; }
.ap-sv-trait:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-sv-trait.el--bouton .bouton,
.ap-sv-trait.el--image img,
.ap-sv-trait.el--carte .carte,
.reg-forts .ap-sv-trait:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-sv-trait.el--bouton .bouton:not(#_),
.reg-forts .ap-sv-trait.el--image img:not(#_),
.reg-forts .ap-sv-trait.el--carte .carte:not(#_) { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 250ms cubic-bezier(.23, 1, .32, 1); }
.ap-sv-halo:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-sv-halo.el--bouton .bouton,
.ap-sv-halo.el--image img,
.ap-sv-halo.el--carte .carte,
.reg-forts .ap-sv-halo:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-sv-halo.el--bouton .bouton:not(#_),
.reg-forts .ap-sv-halo.el--image img:not(#_),
.reg-forts .ap-sv-halo.el--carte .carte:not(#_) { outline: 2px solid transparent; outline-offset: 0; transition: outline-offset 200ms ease, outline-color 200ms ease; }
.ap-sv-glisse:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-sv-glisse.el--bouton .bouton,
.ap-sv-glisse.el--image img,
.ap-sv-glisse.el--carte .carte,
.reg-forts .ap-sv-glisse:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-sv-glisse.el--bouton .bouton:not(#_),
.reg-forts .ap-sv-glisse.el--image img:not(#_),
.reg-forts .ap-sv-glisse.el--carte .carte:not(#_) { background-image: linear-gradient(var(--ap-sf, var(--c-primaire)), var(--ap-sf, var(--c-primaire))); background-size: 0 100%; background-position: 0 0; background-repeat: no-repeat; transition: background-size 250ms cubic-bezier(.23, 1, .32, 1), color 200ms ease; }
.ap-sf:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-sf.el--bouton .bouton,
.ap-sf.el--image img,
.ap-sf.el--carte .carte,
.reg-forts .ap-sf:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-sf.el--bouton .bouton:not(#_),
.reg-forts .ap-sf.el--image img:not(#_),
.reg-forts .ap-sf.el--carte .carte:not(#_) { transition: background-color 200ms ease, color 200ms ease; }
.ap-st:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-st.el--bouton .bouton,
.ap-st.el--image img,
.ap-st.el--carte .carte,
.reg-forts .ap-st:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-st.el--bouton .bouton:not(#_),
.reg-forts .ap-st.el--image img:not(#_),
.reg-forts .ap-st.el--carte .carte:not(#_) { transition: color 200ms ease; }
@media (hover: hover) {
  .ap-sv-souleve:not(.el--bouton):not(.el--image):not(.el--carte):hover,
  .ap-sv-souleve.el--bouton .bouton:hover,
  .ap-sv-souleve.el--image img:hover,
  .ap-sv-souleve.el--carte .carte:hover,
  .reg-forts .ap-sv-souleve:not(.el--bouton):not(.el--image):not(.el--carte):hover:not(#_),
  .reg-forts .ap-sv-souleve.el--bouton .bouton:hover:not(#_),
  .reg-forts .ap-sv-souleve.el--image img:hover:not(#_),
  .reg-forts .ap-sv-souleve.el--carte .carte:hover:not(#_) { transform: translateY(-3px); box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--c-texte, #000) 30%, transparent); }
  .ap-sv-assombrit:not(.el--bouton):not(.el--image):not(.el--carte):hover,
  .ap-sv-assombrit.el--bouton .bouton:hover,
  .ap-sv-assombrit.el--image img:hover,
  .ap-sv-assombrit.el--carte .carte:hover,
  .reg-forts .ap-sv-assombrit:not(.el--bouton):not(.el--image):not(.el--carte):hover:not(#_),
  .reg-forts .ap-sv-assombrit.el--bouton .bouton:hover:not(#_),
  .reg-forts .ap-sv-assombrit.el--image img:hover:not(#_),
  .reg-forts .ap-sv-assombrit.el--carte .carte:hover:not(#_) { filter: brightness(.9); }
  .ap-sv-trait:not(.el--bouton):not(.el--image):not(.el--carte):hover,
  .ap-sv-trait.el--bouton .bouton:hover,
  .ap-sv-trait.el--image img:hover,
  .ap-sv-trait.el--carte .carte:hover,
  .reg-forts .ap-sv-trait:not(.el--bouton):not(.el--image):not(.el--carte):hover:not(#_),
  .reg-forts .ap-sv-trait.el--bouton .bouton:hover:not(#_),
  .reg-forts .ap-sv-trait.el--image img:hover:not(#_),
  .reg-forts .ap-sv-trait.el--carte .carte:hover:not(#_) { background-size: 100% 2px; }
  .ap-sv-halo:not(.el--bouton):not(.el--image):not(.el--carte):hover,
  .ap-sv-halo.el--bouton .bouton:hover,
  .ap-sv-halo.el--image img:hover,
  .ap-sv-halo.el--carte .carte:hover,
  .reg-forts .ap-sv-halo:not(.el--bouton):not(.el--image):not(.el--carte):hover:not(#_),
  .reg-forts .ap-sv-halo.el--bouton .bouton:hover:not(#_),
  .reg-forts .ap-sv-halo.el--image img:hover:not(#_),
  .reg-forts .ap-sv-halo.el--carte .carte:hover:not(#_) { outline-color: var(--c-accent, currentColor); outline-offset: 4px; }
  .ap-sv-glisse:not(.el--bouton):not(.el--image):not(.el--carte):hover,
  .ap-sv-glisse.el--bouton .bouton:hover,
  .ap-sv-glisse.el--image img:hover,
  .ap-sv-glisse.el--carte .carte:hover,
  .reg-forts .ap-sv-glisse:not(.el--bouton):not(.el--image):not(.el--carte):hover:not(#_),
  .reg-forts .ap-sv-glisse.el--bouton .bouton:hover:not(#_),
  .reg-forts .ap-sv-glisse.el--image img:hover:not(#_),
  .reg-forts .ap-sv-glisse.el--carte .carte:hover:not(#_) { background-size: 100% 100%; color: var(--ap-sf-txt, var(--c-primaire-txt)); }
  .ap-sf:not(.el--bouton):not(.el--image):not(.el--carte):hover,
  .ap-sf.el--bouton .bouton:hover,
  .ap-sf.el--image img:hover,
  .ap-sf.el--carte .carte:hover,
  .reg-forts .ap-sf:not(.el--bouton):not(.el--image):not(.el--carte):hover:not(#_),
  .reg-forts .ap-sf.el--bouton .bouton:hover:not(#_),
  .reg-forts .ap-sf.el--image img:hover:not(#_),
  .reg-forts .ap-sf.el--carte .carte:hover:not(#_) { background-color: var(--ap-sf); color: var(--ap-sf-txt); }
  .ap-st:not(.el--bouton):not(.el--image):not(.el--carte):hover,
  .ap-st.el--bouton .bouton:hover,
  .ap-st.el--image img:hover,
  .ap-st.el--carte .carte:hover,
  .reg-forts .ap-st:not(.el--bouton):not(.el--image):not(.el--carte):hover:not(#_),
  .reg-forts .ap-st.el--bouton .bouton:hover:not(#_),
  .reg-forts .ap-st.el--image img:hover:not(#_),
  .reg-forts .ap-st.el--carte .carte:hover:not(#_) { color: var(--ap-st); }
}

/* Clic : s'enfonce, onde, ressort ; état « appui » (couleur) et « désactivé » */
.ap-cl-enfonce:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-cl-enfonce.el--bouton .bouton,
.ap-cl-enfonce.el--image img,
.ap-cl-enfonce.el--carte .carte,
.reg-forts .ap-cl-enfonce:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-cl-enfonce.el--bouton .bouton:not(#_),
.reg-forts .ap-cl-enfonce.el--image img:not(#_),
.reg-forts .ap-cl-enfonce.el--carte .carte:not(#_) { transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.ap-cl-enfonce:not(.el--bouton):not(.el--image):not(.el--carte):active,
.ap-cl-enfonce.el--bouton .bouton:active,
.ap-cl-enfonce.el--image img:active,
.ap-cl-enfonce.el--carte .carte:active,
.reg-forts .ap-cl-enfonce:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
.reg-forts .ap-cl-enfonce.el--bouton .bouton:active:not(#_),
.reg-forts .ap-cl-enfonce.el--image img:active:not(#_),
.reg-forts .ap-cl-enfonce.el--carte .carte:active:not(#_) { transform: scale(.97); }
.ap-cl-onde:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-cl-onde.el--bouton .bouton,
.ap-cl-onde.el--image img,
.ap-cl-onde.el--carte .carte,
.reg-forts .ap-cl-onde:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-cl-onde.el--bouton .bouton:not(#_),
.reg-forts .ap-cl-onde.el--image img:not(#_),
.reg-forts .ap-cl-onde.el--carte .carte:not(#_) { background-image: radial-gradient(circle closest-side, color-mix(in srgb, currentColor 22%, transparent) 98%, transparent 100%); background-position: center; background-repeat: no-repeat; background-size: 0 0; }
.ap-cl-onde:not(.el--bouton):not(.el--image):not(.el--carte):active,
.ap-cl-onde.el--bouton .bouton:active,
.ap-cl-onde.el--image img:active,
.ap-cl-onde.el--carte .carte:active,
.reg-forts .ap-cl-onde:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
.reg-forts .ap-cl-onde.el--bouton .bouton:active:not(#_),
.reg-forts .ap-cl-onde.el--image img:active:not(#_),
.reg-forts .ap-cl-onde.el--carte .carte:active:not(#_) { background-size: 260% 260%; transition: background-size 250ms cubic-bezier(.23, 1, .32, 1); }
.ap-cl-ressort:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-cl-ressort.el--bouton .bouton,
.ap-cl-ressort.el--image img,
.ap-cl-ressort.el--carte .carte,
.reg-forts .ap-cl-ressort:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-cl-ressort.el--bouton .bouton:not(#_),
.reg-forts .ap-cl-ressort.el--image img:not(#_),
.reg-forts .ap-cl-ressort.el--carte .carte:not(#_) { transition: transform 250ms cubic-bezier(.34, 1.4, .64, 1); }
.ap-cl-ressort:not(.el--bouton):not(.el--image):not(.el--carte):active,
.ap-cl-ressort.el--bouton .bouton:active,
.ap-cl-ressort.el--image img:active,
.ap-cl-ressort.el--carte .carte:active,
.reg-forts .ap-cl-ressort:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
.reg-forts .ap-cl-ressort.el--bouton .bouton:active:not(#_),
.reg-forts .ap-cl-ressort.el--image img:active:not(#_),
.reg-forts .ap-cl-ressort.el--carte .carte:active:not(#_) { transform: scale(.94); transition: transform 150ms cubic-bezier(.23, 1, .32, 1); }
.ap-af:not(.el--bouton):not(.el--image):not(.el--carte):active,
.ap-af.el--bouton .bouton:active,
.ap-af.el--image img:active,
.ap-af.el--carte .carte:active,
.reg-forts .ap-af:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
.reg-forts .ap-af.el--bouton .bouton:active:not(#_),
.reg-forts .ap-af.el--image img:active:not(#_),
.reg-forts .ap-af.el--carte .carte:active:not(#_) { background-color: var(--ap-af); color: var(--ap-af-txt); }
.ap-desactive:not(.el--bouton):not(.el--image):not(.el--carte),
.ap-desactive.el--bouton .bouton,
.ap-desactive.el--image img,
.ap-desactive.el--carte .carte,
.reg-forts .ap-desactive:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
.reg-forts .ap-desactive.el--bouton .bouton:not(#_),
.reg-forts .ap-desactive.el--image img:not(#_),
.reg-forts .ap-desactive.el--carte .carte:not(#_) { opacity: .5; filter: grayscale(.6); cursor: not-allowed; }

/* Réduire les animations : plus aucun mouvement d'apparence (l'apparition laisse l'élément visible) */
@media (prefers-reduced-motion: reduce) {
  .ap-app-fondu,
  .ap-app-glisse,
  .ap-app-zoom,
  .ap-sv-souleve:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-sv-souleve.el--bouton .bouton,
  .ap-sv-souleve.el--image img,
  .ap-sv-souleve.el--carte .carte,
  .ap-sv-souleve:not(.el--bouton):not(.el--image):not(.el--carte):active,
  .ap-sv-souleve.el--bouton .bouton:active,
  .ap-sv-souleve.el--image img:active,
  .ap-sv-souleve.el--carte .carte:active,
  .ap-sv-assombrit:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-sv-assombrit.el--bouton .bouton,
  .ap-sv-assombrit.el--image img,
  .ap-sv-assombrit.el--carte .carte,
  .ap-sv-assombrit:not(.el--bouton):not(.el--image):not(.el--carte):active,
  .ap-sv-assombrit.el--bouton .bouton:active,
  .ap-sv-assombrit.el--image img:active,
  .ap-sv-assombrit.el--carte .carte:active,
  .ap-sv-trait:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-sv-trait.el--bouton .bouton,
  .ap-sv-trait.el--image img,
  .ap-sv-trait.el--carte .carte,
  .ap-sv-trait:not(.el--bouton):not(.el--image):not(.el--carte):active,
  .ap-sv-trait.el--bouton .bouton:active,
  .ap-sv-trait.el--image img:active,
  .ap-sv-trait.el--carte .carte:active,
  .ap-sv-halo:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-sv-halo.el--bouton .bouton,
  .ap-sv-halo.el--image img,
  .ap-sv-halo.el--carte .carte,
  .ap-sv-halo:not(.el--bouton):not(.el--image):not(.el--carte):active,
  .ap-sv-halo.el--bouton .bouton:active,
  .ap-sv-halo.el--image img:active,
  .ap-sv-halo.el--carte .carte:active,
  .ap-sv-glisse:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-sv-glisse.el--bouton .bouton,
  .ap-sv-glisse.el--image img,
  .ap-sv-glisse.el--carte .carte,
  .ap-sv-glisse:not(.el--bouton):not(.el--image):not(.el--carte):active,
  .ap-sv-glisse.el--bouton .bouton:active,
  .ap-sv-glisse.el--image img:active,
  .ap-sv-glisse.el--carte .carte:active,
  .ap-sf:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-sf.el--bouton .bouton,
  .ap-sf.el--image img,
  .ap-sf.el--carte .carte,
  .ap-sf:not(.el--bouton):not(.el--image):not(.el--carte):active,
  .ap-sf.el--bouton .bouton:active,
  .ap-sf.el--image img:active,
  .ap-sf.el--carte .carte:active,
  .ap-st:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-st.el--bouton .bouton,
  .ap-st.el--image img,
  .ap-st.el--carte .carte,
  .ap-st:not(.el--bouton):not(.el--image):not(.el--carte):active,
  .ap-st.el--bouton .bouton:active,
  .ap-st.el--image img:active,
  .ap-st.el--carte .carte:active,
  .ap-cl-enfonce:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-cl-enfonce.el--bouton .bouton,
  .ap-cl-enfonce.el--image img,
  .ap-cl-enfonce.el--carte .carte,
  .ap-cl-enfonce:not(.el--bouton):not(.el--image):not(.el--carte):active,
  .ap-cl-enfonce.el--bouton .bouton:active,
  .ap-cl-enfonce.el--image img:active,
  .ap-cl-enfonce.el--carte .carte:active,
  .ap-cl-onde:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-cl-onde.el--bouton .bouton,
  .ap-cl-onde.el--image img,
  .ap-cl-onde.el--carte .carte,
  .ap-cl-onde:not(.el--bouton):not(.el--image):not(.el--carte):active,
  .ap-cl-onde.el--bouton .bouton:active,
  .ap-cl-onde.el--image img:active,
  .ap-cl-onde.el--carte .carte:active,
  .ap-cl-ressort:not(.el--bouton):not(.el--image):not(.el--carte),
  .ap-cl-ressort.el--bouton .bouton,
  .ap-cl-ressort.el--image img,
  .ap-cl-ressort.el--carte .carte,
  .ap-cl-ressort:not(.el--bouton):not(.el--image):not(.el--carte):active,
  .ap-cl-ressort.el--bouton .bouton:active,
  .ap-cl-ressort.el--image img:active,
  .ap-cl-ressort.el--carte .carte:active,
  .reg-forts .ap-app-fondu:not(#_),
  .reg-forts .ap-app-glisse:not(#_),
  .reg-forts .ap-app-zoom:not(#_),
  .reg-forts .ap-sv-souleve:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-sv-souleve.el--bouton .bouton:not(#_),
  .reg-forts .ap-sv-souleve.el--image img:not(#_),
  .reg-forts .ap-sv-souleve.el--carte .carte:not(#_),
  .reg-forts .ap-sv-souleve:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
  .reg-forts .ap-sv-souleve.el--bouton .bouton:active:not(#_),
  .reg-forts .ap-sv-souleve.el--image img:active:not(#_),
  .reg-forts .ap-sv-souleve.el--carte .carte:active:not(#_),
  .reg-forts .ap-sv-assombrit:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-sv-assombrit.el--bouton .bouton:not(#_),
  .reg-forts .ap-sv-assombrit.el--image img:not(#_),
  .reg-forts .ap-sv-assombrit.el--carte .carte:not(#_),
  .reg-forts .ap-sv-assombrit:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
  .reg-forts .ap-sv-assombrit.el--bouton .bouton:active:not(#_),
  .reg-forts .ap-sv-assombrit.el--image img:active:not(#_),
  .reg-forts .ap-sv-assombrit.el--carte .carte:active:not(#_),
  .reg-forts .ap-sv-trait:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-sv-trait.el--bouton .bouton:not(#_),
  .reg-forts .ap-sv-trait.el--image img:not(#_),
  .reg-forts .ap-sv-trait.el--carte .carte:not(#_),
  .reg-forts .ap-sv-trait:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
  .reg-forts .ap-sv-trait.el--bouton .bouton:active:not(#_),
  .reg-forts .ap-sv-trait.el--image img:active:not(#_),
  .reg-forts .ap-sv-trait.el--carte .carte:active:not(#_),
  .reg-forts .ap-sv-halo:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-sv-halo.el--bouton .bouton:not(#_),
  .reg-forts .ap-sv-halo.el--image img:not(#_),
  .reg-forts .ap-sv-halo.el--carte .carte:not(#_),
  .reg-forts .ap-sv-halo:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
  .reg-forts .ap-sv-halo.el--bouton .bouton:active:not(#_),
  .reg-forts .ap-sv-halo.el--image img:active:not(#_),
  .reg-forts .ap-sv-halo.el--carte .carte:active:not(#_),
  .reg-forts .ap-sv-glisse:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-sv-glisse.el--bouton .bouton:not(#_),
  .reg-forts .ap-sv-glisse.el--image img:not(#_),
  .reg-forts .ap-sv-glisse.el--carte .carte:not(#_),
  .reg-forts .ap-sv-glisse:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
  .reg-forts .ap-sv-glisse.el--bouton .bouton:active:not(#_),
  .reg-forts .ap-sv-glisse.el--image img:active:not(#_),
  .reg-forts .ap-sv-glisse.el--carte .carte:active:not(#_),
  .reg-forts .ap-sf:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-sf.el--bouton .bouton:not(#_),
  .reg-forts .ap-sf.el--image img:not(#_),
  .reg-forts .ap-sf.el--carte .carte:not(#_),
  .reg-forts .ap-sf:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
  .reg-forts .ap-sf.el--bouton .bouton:active:not(#_),
  .reg-forts .ap-sf.el--image img:active:not(#_),
  .reg-forts .ap-sf.el--carte .carte:active:not(#_),
  .reg-forts .ap-st:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-st.el--bouton .bouton:not(#_),
  .reg-forts .ap-st.el--image img:not(#_),
  .reg-forts .ap-st.el--carte .carte:not(#_),
  .reg-forts .ap-st:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
  .reg-forts .ap-st.el--bouton .bouton:active:not(#_),
  .reg-forts .ap-st.el--image img:active:not(#_),
  .reg-forts .ap-st.el--carte .carte:active:not(#_),
  .reg-forts .ap-cl-enfonce:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-cl-enfonce.el--bouton .bouton:not(#_),
  .reg-forts .ap-cl-enfonce.el--image img:not(#_),
  .reg-forts .ap-cl-enfonce.el--carte .carte:not(#_),
  .reg-forts .ap-cl-enfonce:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
  .reg-forts .ap-cl-enfonce.el--bouton .bouton:active:not(#_),
  .reg-forts .ap-cl-enfonce.el--image img:active:not(#_),
  .reg-forts .ap-cl-enfonce.el--carte .carte:active:not(#_),
  .reg-forts .ap-cl-onde:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-cl-onde.el--bouton .bouton:not(#_),
  .reg-forts .ap-cl-onde.el--image img:not(#_),
  .reg-forts .ap-cl-onde.el--carte .carte:not(#_),
  .reg-forts .ap-cl-onde:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
  .reg-forts .ap-cl-onde.el--bouton .bouton:active:not(#_),
  .reg-forts .ap-cl-onde.el--image img:active:not(#_),
  .reg-forts .ap-cl-onde.el--carte .carte:active:not(#_),
  .reg-forts .ap-cl-ressort:not(.el--bouton):not(.el--image):not(.el--carte):not(#_),
  .reg-forts .ap-cl-ressort.el--bouton .bouton:not(#_),
  .reg-forts .ap-cl-ressort.el--image img:not(#_),
  .reg-forts .ap-cl-ressort.el--carte .carte:not(#_),
  .reg-forts .ap-cl-ressort:not(.el--bouton):not(.el--image):not(.el--carte):active:not(#_),
  .reg-forts .ap-cl-ressort.el--bouton .bouton:active:not(#_),
  .reg-forts .ap-cl-ressort.el--image img:active:not(#_),
  .reg-forts .ap-cl-ressort.el--carte .carte:active:not(#_) { animation: none !important; transition: none !important; }
  /* D.4 : le fondu de la couleur au survol d'un bouton */
  .ap-b-cs.bouton, .reg-forts .ap-b-cs.bouton:not(#_) { transition: none !important; }
}

/* lot L10 : les formulaires en plusieurs étapes (écran 11b), au visuel du site (variables du thème seulement).
   Classe ap-fe posée sur un formulaire qui a au moins deux étapes : un formulaire sans étape ne la porte jamais.
   Deux forces, comme le reste de la feuille ; aucun mouvement ici (le passage d'une étape à l'autre reste celui de site.css). */
.ap-fe .formulaire__sommaire ol { gap: 10px; padding-bottom: .9rem; }
.ap-fe .formulaire__sommaire li { flex: 1 1 0; min-width: 4.5rem; }
.ap-fe .formulaire__sommaire button { width: 100%; min-height: 44px; padding: .7rem 0 0; border: 0; border-top: 4px solid color-mix(in srgb, var(--c-doux) 28%, transparent); border-radius: 0; background: none; text-align: left; font-size: max(12px, var(--t-s)); font-weight: 600; color: var(--c-doux); white-space: normal; }
.ap-fe .formulaire__sommaire li:has(~ li:not([hidden]) > [aria-current="step"]) button { border-top-color: var(--c-texte); color: var(--c-texte); }
.ap-fe .formulaire__sommaire button[aria-current="step"] { border-top-color: var(--c-primaire); color: var(--c-texte); background: none; }
.ap-fe .formulaire__progression { font-size: max(12px, var(--t-s)); }
.ap-fe .formulaire__progression progress { height: 6px; accent-color: var(--c-primaire); }
.ap-fe [aria-invalid="true"] { border-color: #b42318; background-color: color-mix(in srgb, #b42318 4%, transparent); box-shadow: 0 0 0 1px #b42318; }
.ap-fe .champ__erreur { margin-top: .4rem; padding-left: 1.5em; font-size: max(12px, var(--t-s)); background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23b42318%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 3 2 21h20L12 3z%27/%3E%3Cpath d=%27M12 10v5M12 18h.01%27/%3E%3C/svg%3E") left .15em / 1.1em no-repeat; }
.ap-fe .formulaire__actions { align-items: center; padding-top: 1.25rem; border-top: 2px solid var(--c-texte); }
.ap-fe .formulaire__actions .bouton { min-height: 48px; }
.ap-fe .formulaire__actions [data-precedent] { background: none; border-color: transparent; box-shadow: none; color: var(--c-texte); text-decoration: underline; text-underline-offset: .25em; padding-inline: .25rem; }
.ap-fe .formulaire__actions [data-suivant] { margin-left: auto; }
.ap-fe .formulaire__actions [type="submit"] { margin-left: auto; }
.ap-fe .formulaire__confidentialite { flex: 1 0 100%; margin: .25rem 0 0; font-size: max(12px, var(--t-xs)); line-height: 1.45; color: var(--c-doux); }
.ap-fe .formulaire__confidentialite a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.reg-forts .ap-fe .formulaire__sommaire ol:not(#_) { gap: 10px; padding-bottom: .9rem; }
.reg-forts .ap-fe .formulaire__sommaire li:not(#_) { flex: 1 1 0; min-width: 4.5rem; }
.reg-forts .ap-fe .formulaire__sommaire button:not(#_) { width: 100%; min-height: 44px; padding: .7rem 0 0; border: 0; border-top: 4px solid color-mix(in srgb, var(--c-doux) 28%, transparent); border-radius: 0; background: none; text-align: left; font-size: max(12px, var(--t-s)); font-weight: 600; color: var(--c-doux); white-space: normal; }
.reg-forts .ap-fe .formulaire__sommaire li:has(~ li:not([hidden]) > [aria-current="step"]) button:not(#_) { border-top-color: var(--c-texte); color: var(--c-texte); }
.reg-forts .ap-fe .formulaire__sommaire button[aria-current="step"]:not(#_) { border-top-color: var(--c-primaire); color: var(--c-texte); background: none; }
.reg-forts .ap-fe .formulaire__progression:not(#_) { font-size: max(12px, var(--t-s)); }
.reg-forts .ap-fe .formulaire__progression progress:not(#_) { height: 6px; accent-color: var(--c-primaire); }
.reg-forts .ap-fe [aria-invalid="true"]:not(#_) { border-color: #b42318; background-color: color-mix(in srgb, #b42318 4%, transparent); box-shadow: 0 0 0 1px #b42318; }
.reg-forts .ap-fe .champ__erreur:not(#_) { margin-top: .4rem; padding-left: 1.5em; font-size: max(12px, var(--t-s)); background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23b42318%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 3 2 21h20L12 3z%27/%3E%3Cpath d=%27M12 10v5M12 18h.01%27/%3E%3C/svg%3E") left .15em / 1.1em no-repeat; }
.reg-forts .ap-fe .formulaire__actions:not(#_) { align-items: center; padding-top: 1.25rem; border-top: 2px solid var(--c-texte); }
.reg-forts .ap-fe .formulaire__actions .bouton:not(#_) { min-height: 48px; }
.reg-forts .ap-fe .formulaire__actions [data-precedent]:not(#_) { background: none; border-color: transparent; box-shadow: none; color: var(--c-texte); text-decoration: underline; text-underline-offset: .25em; padding-inline: .25rem; }
.reg-forts .ap-fe .formulaire__actions [data-suivant]:not(#_) { margin-left: auto; }
.reg-forts .ap-fe .formulaire__actions [type="submit"]:not(#_) { margin-left: auto; }
.reg-forts .ap-fe .formulaire__confidentialite:not(#_) { flex: 1 0 100%; margin: .25rem 0 0; font-size: max(12px, var(--t-xs)); line-height: 1.45; color: var(--c-doux); }
.reg-forts .ap-fe .formulaire__confidentialite a:not(#_) { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.ap-fe.formulaire--sommaire .formulaire__progression progress { display: none; }
.reg-forts .ap-fe.formulaire--sommaire .formulaire__progression progress:not(#_) { display: none; }
@media (max-width: 560px) {
  .ap-fe .formulaire__sommaire li { min-width: 3.6rem; }
  .ap-fe .formulaire__actions [data-suivant] { flex: 1 1 auto; }
  .ap-fe .formulaire__actions [type="submit"] { flex: 1 1 auto; }
  .reg-forts .ap-fe .formulaire__sommaire li:not(#_) { min-width: 3.6rem; }
  .reg-forts .ap-fe .formulaire__actions [data-suivant]:not(#_) { flex: 1 1 auto; }
  .reg-forts .ap-fe .formulaire__actions [type="submit"]:not(#_) { flex: 1 1 auto; }
}
/* fin du lot L10 */
/* lot L10b (01/11) : modèles d'un formulaire choisis dans la fiche (ap-fm-carte, ap-fm-contour ; variables du thème seulement),
   et la progression nommée lisible au téléphone : sous 480 px, seule l'étape en cours garde son nom (les autres gardent
   leur trait et leur nom lu par les lecteurs d'écran). */
.ap-fm-carte { padding: clamp(1.25rem, 4vw, 2.25rem); border-radius: 1.5rem; background: color-mix(in srgb, var(--c-texte) 4%, var(--c-fond, #fff)); box-shadow: 0 1px 0 color-mix(in srgb, var(--c-texte) 6%, transparent), 0 24px 48px -32px color-mix(in srgb, var(--c-texte) 45%, transparent); }
.ap-fm-contour { padding: clamp(1.25rem, 4vw, 2rem); border: 1.5px solid color-mix(in srgb, var(--c-texte) 18%, transparent); border-radius: 1.25rem; }
.reg-forts .ap-fm-carte:not(#_) { padding: clamp(1.25rem, 4vw, 2.25rem); border-radius: 1.5rem; background: color-mix(in srgb, var(--c-texte) 4%, var(--c-fond, #fff)); }
.reg-forts .ap-fm-contour:not(#_) { padding: clamp(1.25rem, 4vw, 2rem); border: 1.5px solid color-mix(in srgb, var(--c-texte) 18%, transparent); border-radius: 1.25rem; }
@media (max-width: 480px) {
  .ap-fe .formulaire__sommaire li { min-width: 1.75rem; }
  .ap-fe .formulaire__sommaire li:has(> [aria-current="step"]) { flex-grow: 3; }
  .ap-fe .formulaire__sommaire li:not(:has(> [aria-current="step"])) button { font-size: 0; }
  .reg-forts .ap-fe .formulaire__sommaire li:not(#_) { min-width: 1.75rem; }
  .reg-forts .ap-fe .formulaire__sommaire li:has(> [aria-current="step"]):not(#_) { flex-grow: 3; }
  .reg-forts .ap-fe .formulaire__sommaire li:not(:has(> [aria-current="step"])) button:not(#_) { font-size: 0; }
}
/* fin du lot L10b */

/* lot L15 : cadrage d'une image (écran 13b) : format (par appareil), zoom autour du point important, point important,
   forme « Arrondie ». Avec un zoom, la forme découpe le cadre (picture) et la photo grandit dedans : une forme convexe
   agrandie autour d'un point intérieur couvre toujours la forme d'origine, aucun vide n'apparaît. */
.ap-img-arrondi.el--image img,
.reg-forts .ap-img-arrondi.el--image img:not(#_) { border-radius: calc(var(--rayon, 10px) * 1.6); }
.ap-cad-1-1.el--image img, .reg-forts .ap-cad-1-1.el--image img:not(#_) { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.ap-cad-4-5.el--image img, .reg-forts .ap-cad-4-5.el--image img:not(#_) { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto; }
.ap-cad-3-2.el--image img, .reg-forts .ap-cad-3-2.el--image img:not(#_) { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.ap-cad-16-9.el--image img, .reg-forts .ap-cad-16-9.el--image img:not(#_) { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
@media (max-width: 700px) {
  .ap-p-cad-1-1.el--image img, .reg-forts .ap-p-cad-1-1.el--image img:not(#_) { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
  .ap-p-cad-4-5.el--image img, .reg-forts .ap-p-cad-4-5.el--image img:not(#_) { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto; }
  .ap-p-cad-3-2.el--image img, .reg-forts .ap-p-cad-3-2.el--image img:not(#_) { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
  .ap-p-cad-16-9.el--image img, .reg-forts .ap-p-cad-16-9.el--image img:not(#_) { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
}
/* Le point important passe devant celui du fichier (style en ligne posé par Medias::picture). */
.ap-focal.el--image img, .reg-forts .ap-focal.el--image img:not(#_) { object-position: var(--ap-fx, 50%) var(--ap-fy, 50%) !important; }
.ap-zoom.el--image picture, .reg-forts .ap-zoom.el--image picture:not(#_) { display: block; overflow: hidden; }
.ap-zoom.el--image img, .reg-forts .ap-zoom.el--image img:not(#_) { display: block; transform: scale(var(--ap-zoom, 1)); transform-origin: var(--ap-fx, 50%) var(--ap-fy, 50%); }
.ap-zoom.ap-img-rond.el--image picture, .reg-forts .ap-zoom.ap-img-rond.el--image picture:not(#_) { border-radius: 50%; }
.ap-zoom.ap-img-arche.el--image picture, .reg-forts .ap-zoom.ap-img-arche.el--image picture:not(#_) { border-radius: 999px 999px var(--rayon, 10px) var(--rayon, 10px); }
.ap-zoom.ap-img-goutte.el--image picture, .reg-forts .ap-zoom.ap-img-goutte.el--image picture:not(#_) { border-radius: 0 50% 50% 50%; }
.ap-zoom.ap-img-arrondi.el--image picture, .reg-forts .ap-zoom.ap-img-arrondi.el--image picture:not(#_) { border-radius: calc(var(--rayon, 10px) * 1.6); }
.ap-zoom.ap-img-polygone.el--image picture, .reg-forts .ap-zoom.ap-img-polygone.el--image picture:not(#_) { clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
/* fin du lot L15 */

/* lot L14 : largeur des boutons (btl) et du titre (til) d'une section, réglée sur la section (style.ap de la section).
   Les boutons et les titres des éléments (.el) ne sont pas touchés. */
.ap-btl .boutons > .bouton,
.reg-forts .ap-btl .boutons > .bouton:not(#_) { width: var(--ap-btl); max-width: 100%; }
.ap-btl-texte .boutons > .bouton,
.reg-forts .ap-btl-texte .boutons > .bouton:not(#_) { width: fit-content; max-width: 100%; }
.ap-btl-colonne .boutons > .bouton,
.reg-forts .ap-btl-colonne .boutons > .bouton:not(#_) { width: 100%; }
.ap-til :is(h1, h2):not(.el *),
.reg-forts .ap-til :is(h1, h2):not(.el *):not(#_) { width: var(--ap-til); max-width: 100%; }
.ap-til-texte :is(h1, h2):not(.el *),
.reg-forts .ap-til-texte :is(h1, h2):not(.el *):not(#_) { width: fit-content; max-width: 100%; }
.ap-til-colonne :is(h1, h2):not(.el *),
.reg-forts .ap-til-colonne :is(h1, h2):not(.el *):not(#_) { width: 100%; }
@media (max-width: 760px) {
  .ap-p-btl .boutons > .bouton,
  .reg-forts .ap-p-btl .boutons > .bouton:not(#_) { width: var(--ap-btl-p); max-width: 100%; }
  .ap-p-btl-texte .boutons > .bouton,
  .reg-forts .ap-p-btl-texte .boutons > .bouton:not(#_) { width: fit-content; max-width: 100%; }
  .ap-p-btl-colonne .boutons > .bouton,
  .reg-forts .ap-p-btl-colonne .boutons > .bouton:not(#_) { width: 100%; }
  .ap-p-til :is(h1, h2):not(.el *),
  .reg-forts .ap-p-til :is(h1, h2):not(.el *):not(#_) { width: var(--ap-til-p); max-width: 100%; }
  .ap-p-til-texte :is(h1, h2):not(.el *),
  .reg-forts .ap-p-til-texte :is(h1, h2):not(.el *):not(#_) { width: fit-content; max-width: 100%; }
  .ap-p-til-colonne :is(h1, h2):not(.el *),
  .reg-forts .ap-p-til-colonne :is(h1, h2):not(.el *):not(#_) { width: 100%; }
}

/* lot L14 : S M L XL des boutons d'une section (style.ap.btt de la section), même échelle que ap-t-* des boutons-éléments. */
.ap-btt-s .boutons > .bouton,
.reg-forts .ap-btt-s .boutons > .bouton:not(#_) { font-size: .875em; }
.ap-btt-m .boutons > .bouton,
.reg-forts .ap-btt-m .boutons > .bouton:not(#_) { font-size: 1em; }
.ap-btt-l .boutons > .bouton,
.reg-forts .ap-btt-l .boutons > .bouton:not(#_) { font-size: 1.2em; }
.ap-btt-xl .boutons > .bouton,
.reg-forts .ap-btt-xl .boutons > .bouton:not(#_) { font-size: 1.5em; }
@media (max-width: 760px) {
  .ap-p-btt-s .boutons > .bouton,
  .reg-forts .ap-p-btt-s .boutons > .bouton:not(#_) { font-size: .875em; }
  .ap-p-btt-m .boutons > .bouton,
  .reg-forts .ap-p-btt-m .boutons > .bouton:not(#_) { font-size: 1em; }
  .ap-p-btt-l .boutons > .bouton,
  .reg-forts .ap-p-btt-l .boutons > .bouton:not(#_) { font-size: 1.2em; }
  .ap-p-btt-xl .boutons > .bouton,
  .reg-forts .ap-p-btt-xl .boutons > .bouton:not(#_) { font-size: 1.5em; }
}
/* Éditeur 6 (E6-A) : « Souligné » du bloc Style du texte (clé de style u, Edition::appliquer op style). */
.ap-souligne { text-decoration: underline; text-underline-offset: .18em; }
.reg-forts .ap-souligne:not(#_) { text-decoration: underline; text-underline-offset: .18em; }
/* D.1 (10/11/2026) : S M L XL d'un texte, rapportés à la taille du texte de la charte (clé de style t : ps pm pl pxl) :
   M = le texte normal, S reste lisible (0,875 fois : 15,75 px pour un texte de 18). Les anciennes valeurs (.t-s à .t-xl) gardent leur rendu. */
.ap-t-ps { font-size: calc(var(--taille-base, 1rem) * .875) !important; }
.reg-forts .ap-t-ps:not(#_) { font-size: calc(var(--taille-base, 1rem) * .875) !important; }
.ap-t-pm { font-size: var(--taille-base, 1rem) !important; }
.reg-forts .ap-t-pm:not(#_) { font-size: var(--taille-base, 1rem) !important; }
.ap-t-pl { font-size: calc(var(--taille-base, 1rem) * 1.25) !important; }
.reg-forts .ap-t-pl:not(#_) { font-size: calc(var(--taille-base, 1rem) * 1.25) !important; }
.ap-t-pxl { font-size: calc(var(--taille-base, 1rem) * 1.56) !important; }
.reg-forts .ap-t-pxl:not(#_) { font-size: calc(var(--taille-base, 1rem) * 1.56) !important; }
/* D.1 : épaisseur, italique et souligné d'un bouton (Rendu::attrsBouton), plus forts que la règle de base de .bouton. */
.ap-b-g-400.bouton { font-weight: 400; }
.reg-forts .ap-b-g-400.bouton:not(#_) { font-weight: 400; }
.ap-b-g-600.bouton { font-weight: 600; }
.reg-forts .ap-b-g-600.bouton:not(#_) { font-weight: 600; }
.ap-b-g-700.bouton { font-weight: 700; }
.reg-forts .ap-b-g-700.bouton:not(#_) { font-weight: 700; }
.ap-b-i.bouton { font-style: italic; }
.reg-forts .ap-b-i.bouton:not(#_) { font-style: italic; }
.ap-souligne.bouton { text-decoration: underline; text-underline-offset: .18em; }
.reg-forts .ap-souligne.bouton:not(#_) { text-decoration: underline; text-underline-offset: .18em; }

/* D.2c (13b, retours de novembre) : la photo d'une section modèle (boîte .media d'un champ, Rendu::image) obéit aux
   mêmes réglages que l'élément image : forme, format (par appareil), zoom et point important. Les classes sont posées
   par Rendu::styleChamp ; sans réglage, aucune classe : les sites en ligne ne changent pas. Même force que pour .el--image
   (et « .reg-forts … :not(#_) » sur les sites aux réglages forts). */
.ap-img-arrondi.media img, .reg-forts .ap-img-arrondi.media img:not(#_) { border-radius: calc(var(--rayon, 10px) * 1.6); }
.ap-img-rond.media img, .reg-forts .ap-img-rond.media img:not(#_) { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; }
.ap-img-arche.media img, .reg-forts .ap-img-arche.media img:not(#_) { border-radius: 999px 999px var(--rayon, 10px) var(--rayon, 10px); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.ap-img-goutte.media img, .reg-forts .ap-img-goutte.media img:not(#_) { border-radius: 0 50% 50% 50%; aspect-ratio: 1; object-fit: cover; width: 100%; }
.ap-img-polygone.media img, .reg-forts .ap-img-polygone.media img:not(#_) { clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); aspect-ratio: 1.12; object-fit: cover; width: 100%; }
.ap-cad-1-1.media img, .reg-forts .ap-cad-1-1.media img:not(#_) { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.ap-cad-4-5.media img, .reg-forts .ap-cad-4-5.media img:not(#_) { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto; }
.ap-cad-3-2.media img, .reg-forts .ap-cad-3-2.media img:not(#_) { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.ap-cad-16-9.media img, .reg-forts .ap-cad-16-9.media img:not(#_) { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
@media (max-width: 700px) {
  .ap-p-cad-1-1.media img, .reg-forts .ap-p-cad-1-1.media img:not(#_) { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
  .ap-p-cad-4-5.media img, .reg-forts .ap-p-cad-4-5.media img:not(#_) { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto; }
  .ap-p-cad-3-2.media img, .reg-forts .ap-p-cad-3-2.media img:not(#_) { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
  .ap-p-cad-16-9.media img, .reg-forts .ap-p-cad-16-9.media img:not(#_) { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
}
.ap-focal.media img, .reg-forts .ap-focal.media img:not(#_) { object-position: var(--ap-fx, 50%) var(--ap-fy, 50%) !important; }
.ap-zoom.media, .reg-forts .ap-zoom.media:not(#_) { overflow: hidden; }
.ap-zoom.media picture, .reg-forts .ap-zoom.media picture:not(#_) { display: block; overflow: hidden; border-radius: var(--rayon, 10px); }
.ap-zoom.media img, .reg-forts .ap-zoom.media img:not(#_) { display: block; transform: scale(var(--ap-zoom, 1)); transform-origin: var(--ap-fx, 50%) var(--ap-fy, 50%); }
.ap-zoom.ap-img-rond.media picture, .reg-forts .ap-zoom.ap-img-rond.media picture:not(#_) { border-radius: 50%; }
.ap-zoom.ap-img-arche.media picture, .reg-forts .ap-zoom.ap-img-arche.media picture:not(#_) { border-radius: 999px 999px var(--rayon, 10px) var(--rayon, 10px); }
.ap-zoom.ap-img-goutte.media picture, .reg-forts .ap-zoom.ap-img-goutte.media picture:not(#_) { border-radius: 0 50% 50% 50%; }
.ap-zoom.ap-img-arrondi.media picture, .reg-forts .ap-zoom.ap-img-arrondi.media picture:not(#_) { border-radius: calc(var(--rayon, 10px) * 1.6); }
.ap-zoom.ap-img-polygone.media picture, .reg-forts .ap-zoom.ap-img-polygone.media picture:not(#_) { clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
/* AF-13 (D.2c) : Format « Entière » : la photo entière, jamais rognée, même là où la mise en page impose un carré (galerie). */
.ap-cad-entier.el--image img, .reg-forts .ap-cad-entier.el--image img:not(#_), .ap-cad-entier.media img, .reg-forts .ap-cad-entier.media img:not(#_) { aspect-ratio: auto; object-fit: contain; width: 100%; height: auto; }
@media (max-width: 700px) {
  .ap-p-cad-entier.el--image img, .reg-forts .ap-p-cad-entier.el--image img:not(#_), .ap-p-cad-entier.media img, .reg-forts .ap-p-cad-entier.media img:not(#_) { aspect-ratio: auto; object-fit: contain; width: 100%; height: auto; }
}

/* D.4 (J6, N63, retours de novembre) : les couleurs d'un bouton réglées à part dans le bloc « Couleurs du bouton »
   (Rendu::attrsBouton : classes ap-b-ct ap-b-cf ap-b-cc ap-b-cs, variables --b-ct --b-cf --b-cc --b-cs et textes lisibles --b-cf-txt,
   --b-cs-txt, charte ou couleur libre). La pastille « Tout » (b-couleur, --b) garde ses règles de site.css ; une couleur
   réglée à part passe devant elle. Sans réglage, aucune classe : les sites en ligne ne changent pas. Chaque règle a sa
   version « .reg-forts … :not(#_) ». Avec un fond ou un survol d'Avancé posé sur le même bouton, c'est Avancé qui gagne. */
.ap-b-cf.bouton, .reg-forts .ap-b-cf.bouton:not(#_) { background-color: var(--b-cf); background-image: none; color: var(--b-cf-txt); }
.ap-b-ct.bouton, .reg-forts .ap-b-ct.bouton:not(#_) { color: var(--b-ct); }
.ap-b-cc.bouton, .reg-forts .ap-b-cc.bouton:not(#_) { border-color: var(--b-cc); }
.ap-b-cc.bouton--lien, .reg-forts .ap-b-cc.bouton--lien:not(#_) { border: 2px solid var(--b-cc); padding: .3em .6em; }
.ap-b-cf.bouton--lien, .reg-forts .ap-b-cf.bouton--lien:not(#_) { padding: .3em .6em; text-decoration: none; }
.ap-b-cs.bouton, .reg-forts .ap-b-cs.bouton:not(#_) { transition: transform var(--transition, 160ms), background-color 200ms ease, color 200ms ease, box-shadow var(--transition, 160ms); }
@media (hover: hover) {
  .ap-b-cs.bouton:hover, .reg-forts .ap-b-cs.bouton:hover:not(#_) { background-color: var(--b-cs); background-image: none; color: var(--b-cs-txt); }
  .ap-b-ct.ap-b-cs.bouton:hover, .reg-forts .ap-b-ct.ap-b-cs.bouton:hover:not(#_) { color: var(--b-ct); }
}
/* D.4 (N63) : la couleur d'un élément (Rendu::element, clé de style c : classe ap-el-c, variable --el-c) : le picto d'une icône,
   le trait d'un séparateur, la valeur d'un chiffre, le texte et la flèche d'une carte, la citation ; et son fond (Apparence
   fond_c, classes ap-fc déjà rendues) : la couleur choisie passe devant le texte calculé du fond. */
.ap-el-c, .reg-forts .ap-el-c:not(#_) { color: var(--el-c); }
.ap-el-c.el--icone .el-icone__pic .icone, .reg-forts .ap-el-c.el--icone .el-icone__pic .icone:not(#_) { color: var(--el-c); }
.ap-el-c.el--separateur .separateur, .reg-forts .ap-el-c.el--separateur .separateur:not(#_) { border-top-color: var(--el-c); }
.ap-el-c .chiffre__valeur, .ap-el-c .carte, .ap-el-c .carte__titre, .ap-el-c .carte__lien, .ap-el-c blockquote,
.reg-forts .ap-el-c .chiffre__valeur:not(#_), .reg-forts .ap-el-c .carte:not(#_), .reg-forts .ap-el-c .carte__titre:not(#_), .reg-forts .ap-el-c .carte__lien:not(#_), .reg-forts .ap-el-c blockquote:not(#_) { color: var(--el-c); }
.ap-fc.ap-el-c:not(.el--bouton):not(.el--image):not(.el--carte), .reg-forts .ap-fc.ap-el-c:not(.el--bouton):not(.el--image):not(.el--carte):not(#_) { color: var(--el-c); }
.ap-fc.ap-el-c.el--carte .carte, .reg-forts .ap-fc.ap-el-c.el--carte .carte:not(#_) { color: var(--el-c); }

/* D9b (C05-10) : zoom et point important à part au téléphone (--ap-zoom-p, --ap-fx-p, --ap-fy-p, classes ap-p-zoom, ap-p-focal) ;
   sans réglage du téléphone, il reprend celui de l'ordinateur, comme avant. */
@media (max-width: 700px) {
  .ap-p-focal.el--image img, .reg-forts .ap-p-focal.el--image img:not(#_), .ap-p-focal.media img, .reg-forts .ap-p-focal.media img:not(#_),
  .ap-focal.el--image img, .reg-forts .ap-focal.el--image img:not(#_), .ap-focal.media img, .reg-forts .ap-focal.media img:not(#_) { object-position: var(--ap-fx-p, var(--ap-fx, 50%)) var(--ap-fy-p, var(--ap-fy, 50%)) !important; }
  .ap-p-zoom.el--image picture, .reg-forts .ap-p-zoom.el--image picture:not(#_), .ap-p-zoom.media, .reg-forts .ap-p-zoom.media:not(#_) { display: block; overflow: hidden; }
  .ap-p-zoom.el--image img, .reg-forts .ap-p-zoom.el--image img:not(#_), .ap-p-zoom.media img, .reg-forts .ap-p-zoom.media img:not(#_),
  .ap-zoom.el--image img, .reg-forts .ap-zoom.el--image img:not(#_), .ap-zoom.media img, .reg-forts .ap-zoom.media img:not(#_) { display: block; transform: scale(var(--ap-zoom-p, var(--ap-zoom, 1))); transform-origin: var(--ap-fx-p, var(--ap-fx, 50%)) var(--ap-fy-p, var(--ap-fy, 50%)); }
}
/* D9b (C04-04) : le voile d'une photo de fond (grand titre « photo plein écran », photo de fond d'une section). Sans réglage : celui d'avant. */
.ap-voile-aucun.v-plein .hero .media::after, .ap-voile-aucun > .bloc__fond::after,
.reg-forts .ap-voile-aucun.v-plein .hero .media:not(#_)::after, .reg-forts .ap-voile-aucun > .bloc__fond:not(#_)::after { background: none; }
.ap-voile-leger.v-plein .hero .media::after, .ap-voile-leger > .bloc__fond::after,
.reg-forts .ap-voile-leger.v-plein .hero .media:not(#_)::after, .reg-forts .ap-voile-leger > .bloc__fond:not(#_)::after { background: linear-gradient(0deg, rgb(0 0 0 / .4), rgb(0 0 0 / 0) 70%); }
.ap-voile-fort.v-plein .hero .media::after, .ap-voile-fort > .bloc__fond::after,
.reg-forts .ap-voile-fort.v-plein .hero .media:not(#_)::after, .reg-forts .ap-voile-fort > .bloc__fond:not(#_)::after { background: rgb(0 0 0 / .7); }
.ap-voile-couleur.v-plein .hero .media::after, .ap-voile-couleur > .bloc__fond::after,
.reg-forts .ap-voile-couleur.v-plein .hero .media:not(#_)::after, .reg-forts .ap-voile-couleur > .bloc__fond:not(#_)::after { background: color-mix(in srgb, var(--c-primaire, #4b176f) 72%, transparent); }

/* D10a (N63, « chaque couleur se change ») : couleur des liens, des puces et des légendes d'une section ou d'un élément
   (Avancé › Couleurs du texte), jeton de la charte ou « Autre couleur », lue dans --ap-lc, --ap-pc, --ap-gc (Apparence::variables) */
.ap-lc a:not(.bouton), .reg-forts .ap-lc a:not(.bouton):not(#_) { color: var(--ap-lc); }
.ap-pc li::marker, .reg-forts .ap-pc li:not(#_)::marker { color: var(--ap-pc); }
.ap-gc dt, .ap-gc figcaption, .ap-gc .chiffre > span:not(.chiffre__valeur),
.reg-forts .ap-gc dt:not(#_), .reg-forts .ap-gc figcaption:not(#_), .reg-forts .ap-gc .chiffre > span:not(.chiffre__valeur):not(#_) { color: var(--ap-gc); }
/* D10b (FRKF-3) : une vidéo dans une galerie a l'allure des photos voisines (carré, coins, recadrée ; entière en mosaïque et en
   pleine largeur, par --ap-gv-ar posé par la vue). */
.ap-galerie-video, .reg-forts .ap-galerie-video:not(#_) { display: block; width: 100%; aspect-ratio: var(--ap-gv-ar, 1); object-fit: cover; border-radius: var(--rayon); background: #111; }
