/* We Event en deux sites (DEUX_SITES_2026_11_24) : page « Prestataires » du site des organisateurs (26/11).
   Se charge APRÈS deux-sites.css, bloc-encarts-vitrines.css et bloc-evenements.css, et n'emploie que leurs jetons :
   les transparences passent par color-mix(), aucune couleur de la palette n'est écrite en dur.
   Composants repris tels quels : .haut, .recherche, .portes, .epingle, .defile, .suite, .tete, .bouton, .puce, .lieu__statut.
   Composants de cette page : .ariane, .rapide, .tuiles, .an-ev, .trio, .zones, .pastilles, .segments, .an-grille, .an-regions, .conseils, .creer. */

.page-prestataires {
  --an-blanc: #fff;
  --an-nuit-95: color-mix(in srgb, var(--nuit) 95%, transparent);
  --an-nuit-72: color-mix(in srgb, var(--nuit) 72%, transparent);
  --an-nuit-55: color-mix(in srgb, var(--nuit) 55%, transparent);
  --an-or-60: color-mix(in srgb, var(--or) 60%, transparent);
  --an-or-40: color-mix(in srgb, var(--or) 40%, transparent);
  --an-or-28: color-mix(in srgb, var(--or) 28%, transparent);
  --an-blanc-90: color-mix(in srgb, var(--an-blanc) 90%, transparent);
  --an-blanc-18: color-mix(in srgb, var(--an-blanc) 18%, transparent);
  /* Conseil D7 des vidéos du 28/11 : une ombre en couches (un contact, une moyenne, la grande un peu allégée), même teinte que la grande */
  --an-nuit-12: color-mix(in srgb, var(--nuit) 12%, transparent);
  --an-nuit-24: color-mix(in srgb, var(--nuit) 24%, transparent);
  --an-nuit-60: color-mix(in srgb, var(--nuit) 60%, transparent);
  --an-nuit-80: color-mix(in srgb, var(--nuit) 80%, transparent);
  --an-contact-or: color-mix(in srgb, var(--bouton-ombre) 50%, transparent);
  --an-lueur-75: color-mix(in srgb, var(--bouton-lueur) 75%, transparent);
  /* Surface nuit : toujours un dégradé avec deux lueurs, jamais un aplat */
  --an-fond-nuit: radial-gradient(80% 70% at 100% 0%, var(--lueur-1), transparent 70%), radial-gradient(70% 70% at 0% 100%, var(--lueur-2), transparent 72%), linear-gradient(158deg, var(--nuit) 0%, var(--nuit-2) 58%, var(--nuit) 100%);
  --an-fond-clair: linear-gradient(165deg, var(--an-blanc) 0%, var(--fond) 100%);
}
#liste { scroll-margin-top: 138px; }

/* ================================================================ 1. Bandeau : la photo, le fil d'Ariane, le titre, la recherche de l'accueil */
.haut--court { min-height: 0; padding-bottom: clamp(48px, 6.5vw, 84px); }
.haut--court .haut__fond img { object-position: 50% 38%; transform: none; }
.haut--court .haut__coeur { margin-block: 0; padding-block: 12px 0; }
/* Le bas du bandeau se termine par une courbe : la page claire remonte dessous */
.haut--court::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -1px; height: clamp(20px, 3.4vw, 48px); border-radius: 100% 100% 0 0 / 100% 100% 0 0; background: var(--fond); }
/* conseil D15 des vidéos du 28/11 : plus d'air au-dessus du titre qu'en dessous (16 px sous le fil d'Ariane, 14 px sous le titre) */
.ariane { margin-bottom: 16px; }
.ariane ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin: 0; padding: 0; list-style: none; color: var(--an-blanc-90); font-size: .84rem; font-weight: 500; text-shadow: 0 1px 10px var(--an-nuit-72); }
.ariane li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.ariane a { display: inline-flex; align-items: center; min-height: 32px; color: inherit; text-decoration: none; }
.ariane a:hover { color: var(--an-blanc); text-decoration: underline; text-underline-offset: 4px; }
.ariane [aria-current] { display: inline-flex; align-items: center; min-height: 32px; color: var(--accent-clair-uni); }
.haut__chiffres { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.haut__chiffres li { padding: 4px 13px; border-radius: 999px; background: var(--an-nuit-55); color: var(--an-blanc); font-size: .86rem; font-weight: 500; line-height: 1.5;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--an-or-60); }
.haut__chiffres b { color: var(--accent-clair-uni); font-weight: 750; font-variant-numeric: tabular-nums; }
.haut--court .recherche { margin-top: 20px; }
@media (min-width: 720px) {
  .haut--court .haut__titre { font-size: clamp(2.5rem, 1.5rem + 2.5vw, 3.6rem); }
  .haut--court .recherche { margin-top: 26px; }
}
@media (prefers-reduced-motion: no-preference) { .ariane, .haut__chiffres { animation: monter .7s var(--courbe) both; } }

/* ================================================================ La recherche courte, qui suit le visiteur sous le menu */
.rapide { position: fixed; left: 0; right: 0; top: var(--h-entete); z-index: 48; visibility: hidden; transform: translateY(-110%);
  background: linear-gradient(180deg, var(--an-blanc) 0%, var(--fond) 100%); box-shadow: 0 1px 0 var(--ligne-forte), 0 18px 30px -22px var(--an-nuit-72);
  transition: transform .26s var(--courbe), visibility 0s .26s; }   /* conseil A13 des vidéos du 28/11 : elle repart 20 % plus vite qu'elle n'arrive (.32 s) */
.rapide.est-visible { visibility: visible; transform: none; transition: transform .32s var(--courbe); }
.rapide__barre { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.rapide__titre { display: none; margin-right: 6px; color: var(--titre); font: 700 .92rem/1.2 var(--police); white-space: nowrap; }
.rapide .choix { flex: 1 1 0; }
.rapide .choix--ev { display: none; }
.rapide__voir { flex: none; min-height: 44px; padding: 0 14px; }
.rapide__voir .rapide__mot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* au téléphone : le nombre seul, les mots restent lus */
/* Un choix : une pastille qui ouvre la liste du système */
.choix { position: relative; display: inline-flex; align-items: center; min-width: 0; }
.choix select { width: 100%; min-height: 44px; padding: 0 34px 0 15px; border: 0; border-radius: 999px; background: var(--an-blanc); color: var(--titre); font: 600 .92rem/1.2 var(--police);
  text-overflow: ellipsis; cursor: pointer; box-shadow: inset 0 0 0 1px var(--ligne-forte); -webkit-appearance: none; appearance: none; transition: box-shadow .2s; }
.choix select:hover { background: var(--an-blanc); color: var(--titre); box-shadow: inset 0 0 0 1px var(--or-brun); }
.choix .icone--chevron { position: absolute; right: 13px; width: 16px; height: 16px; color: var(--or-brun); pointer-events: none; }
.choix.est-choisi select, .choix.est-choisi select:hover { background: var(--accent-teinte); color: var(--titre); box-shadow: inset 0 0 0 1.5px var(--or-brun); }
/* Les listes Métier, Événement et Lieu (demande de Hugo, 27/11) : le même panneau que la liste des kilomètres de la recherche.
   Là où le navigateur le permet (appearance: base-select, Chrome et Edge) ; ailleurs (Firefox, Safari), la liste du système reste. */
.choix .icone--chevron { transition: transform .2s var(--courbe); }
@supports (appearance: base-select) {
  .choix select, .choix select::picker(select) { appearance: base-select; }
  /* le texte de la pastille tient sur une ligne ; trop long, il s'efface en fondu avant la flèche au lieu d'être coupé net */
  .choix select { display: block; line-height: 44px; white-space: nowrap; overflow: hidden; }
  .choix { --choix-fond: var(--an-blanc); }
  .choix.est-choisi { --choix-fond: var(--accent-teinte); }
  /* un texte trop long s'efface avant le chevron et ne reparaît pas dessous : le voile va jusqu'au bout de la pastille, le chevron passe au-dessus */
  .choix::after { content: ""; position: absolute; right: 2px; top: 2px; bottom: 2px; width: 52px; border-radius: 0 999px 999px 0; background: linear-gradient(90deg, transparent, var(--choix-fond) 21px); pointer-events: none; }
  .choix .icone--chevron { z-index: 1; }
  .choix option[hidden] { display: none; }   /* la ligne « 2 départements » : affichée dans la pastille, absente du panneau */
  @media (max-width: 719px) { .rapide .choix select { padding-left: 13px; font-size: .86rem; } }
  .choix select::picker-icon { display: none; }
  .choix select:open, .choix select:open:hover { box-shadow: inset 0 0 0 1.5px var(--or-brun); }
  .choix select:open ~ .icone--chevron { transform: rotate(180deg); }
  /* position-try-order: normal = le panneau s'ouvre SOUS la liste tant qu'il y tient */
  .choix select::picker(select) { position-try-order: normal; box-sizing: border-box; min-inline-size: max(260px, anchor-size(self-inline)); max-block-size: min(64vh, 452px); margin: 8px 0; padding: 6px;
    border: 0; border-radius: 16px; background: linear-gradient(180deg, #fff 0%, #FBF8F0 100%); color: var(--encre);
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--ligne-forte) transparent;
    box-shadow: 0 0 0 1px var(--ligne), 0 26px 50px -20px rgba(4, 9, 26, .5), 0 6px 14px -8px rgba(4, 9, 26, .25);
    /* conseils A9 à A13 des vidéos du 28/11 : le panneau part de l'échelle 0,95, depuis le haut (la liste qui l'ouvre), et y repart ;
       sans ressort ; il se ferme environ 20 % plus vite qu'il ne s'ouvre (.18 s contre .22 s) */
    transform-origin: 50% 0; opacity: 0; transform: translateY(-6px) scale(.95);
    transition: opacity .13s, transform .18s var(--courbe), overlay .18s allow-discrete, display .18s allow-discrete; }
  .choix select::picker(select):popover-open { opacity: 1; transform: none; transition: opacity .16s, transform .22s var(--courbe), overlay .22s allow-discrete, display .22s allow-discrete; }
  @starting-style { .choix select::picker(select):popover-open { opacity: 0; transform: translateY(-6px) scale(.95); } }
  .choix option { display: flex; align-items: center; gap: 16px; min-height: 42px; padding: 0 12px 0 14px; border-radius: 10px; background: transparent; color: var(--encre);
    font: 500 .96rem/1.25 var(--police); letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer; }
  .choix option:hover, .choix option:focus-visible { background: var(--fond-2); color: var(--titre); outline: none; }
  .choix option:checked { background: transparent; color: var(--titre); font-weight: 700; }
  .choix option:checked:hover, .choix option:checked:focus-visible { background: var(--fond-2); }
  /* la coche du choix en cours : à droite, en or brun */
  .choix option::checkmark { content: ""; order: 1; flex: none; width: 18px; height: 18px; margin-left: auto; background: var(--or-brun);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
  /* le premier choix remet la liste à zéro : dans le panneau il se lit « Tous les métiers » (le bouton, lui, garde « Métier »), suivi d'un filet */
  .choix option[data-tout] { margin-bottom: 7px; font-size: 0; }
  .choix option[data-tout]::before { content: attr(data-tout); font-size: .96rem; }
  .choix option[data-tout]::after { content: ""; position: absolute; left: 14px; right: 14px; margin-top: 49px; height: 1px; background: var(--ligne); pointer-events: none; }
  /* la liste des lieux : chaque région en petit titre, ses départements dessous */
  .choix optgroup { padding: 12px 0 2px 14px; color: var(--or-texte, #83662D); font: 700 .7rem/1.2 var(--police); letter-spacing: .09em; text-transform: uppercase; }
  .choix optgroup > option { margin-left: -14px; }
  .choix optgroup > option:first-of-type { margin-top: 6px; }
}
@media (min-width: 720px) {
  .rapide__barre { gap: 10px; }
  .rapide .choix { flex: 0 1 230px; }
  .rapide .choix--ev { display: inline-flex; }
  .rapide__voir { margin-left: auto; padding: 0 20px; }
  .rapide__voir .rapide__mot { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (min-width: 1024px) { .rapide__titre { display: block; } }

/* ================================================================ 2. Par métier : de hautes tuiles de photo, le nombre de prestataires dessous */
.tuiles { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 138px; gap: 10px; margin: 0 calc(-1 * var(--gouttiere)); padding: 6px var(--gouttiere) 16px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gouttiere); scrollbar-width: none; }
.tuiles::-webkit-scrollbar { display: none; }
.tuiles > li { min-width: 0; scroll-snap-align: start; }
.tuile { position: relative; isolation: isolate; display: block; aspect-ratio: 3 / 4.1; overflow: hidden; border-radius: var(--rayon-photo); background: var(--an-fond-nuit); color: var(--an-blanc); text-decoration: none;
  box-shadow: 0 1px 2px var(--an-nuit-12), 0 5px 10px -5px var(--an-nuit-24), 0 16px 26px -18px var(--an-nuit-80); transition: transform .35s var(--courbe), box-shadow .3s; --focus: #FFE3A3; }
.tuile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--courbe); }
.tuile__voile { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, var(--an-nuit-95) 0, var(--an-nuit-72) 62px, transparent 148px), radial-gradient(90% 56% at 0% 0%, var(--an-or-28), transparent 64%);
  box-shadow: inset 0 1px 0 var(--an-blanc-18); border-radius: inherit; }
.tuile__picto { position: absolute; left: 9px; top: 9px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--an-nuit-55); color: var(--an-blanc);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--an-or-60); transition: background .25s, color .25s; }
.tuile__picto .icone { width: 17px; height: 17px; }
.tuile__texte { position: absolute; left: 11px; right: 9px; bottom: 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tuile__texte::before { content: ""; width: 20px; height: 3px; margin-bottom: 4px; border-radius: 3px; background: var(--accent); }
.tuile__nom { font: 750 .95rem/1.18 var(--police); letter-spacing: -.012em; text-shadow: 0 1px 10px var(--an-nuit-72); text-wrap: balance; }
.tuile__nb { color: var(--accent-clair-uni); font-size: .78rem; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.tuile__nb b { font-weight: 800; font-variant-numeric: tabular-nums; }
.tuile:hover, .tuile:focus-visible { color: var(--an-blanc); transform: translateY(-4px); box-shadow: 0 0 0 2px var(--or), 0 1px 2px var(--an-nuit-12), 0 8px 14px -6px var(--an-nuit-24), 0 22px 32px -18px var(--an-nuit-80); }
.tuile:hover img { transform: scale(1.06); }
.tuile:hover .tuile__picto { background: var(--accent); color: var(--accent-texte); box-shadow: inset 0 0 0 1px var(--accent-bord); }
.tuiles__geste { margin-top: 2px; color: var(--gris); font-size: .84rem; }
@media (min-width: 720px) {
  .tuiles { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0 0 20px; overflow: visible; }
  .tuile { aspect-ratio: 3 / 3.5; border-radius: 16px; }
  .tuile__picto { left: 12px; top: 12px; width: 38px; height: 38px; }
  .tuile__texte { left: 14px; right: 12px; bottom: 13px; }
  .tuile__nom { font-size: 1.05rem; }
  .tuile__nb { font-size: .84rem; }
  .tuiles__geste { display: none; }
  /* Des tuiles libres : une sur deux descend d'un cran */
  .tuiles > li:nth-child(even) { transform: translateY(20px); }
}
@media (min-width: 1100px) {
  .tuiles { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; row-gap: 14px; }
  .tuile { aspect-ratio: 3 / 4.5; }
  .tuile__nom { font-size: .98rem; }
  .tuile__nb { font-size: .8rem; }
}

/* ================================================================ 3. Par événement : les trois encarts de l'accueil, sur fond clair, et le filtre dessous */
.an-ev .portes { width: 100%; margin-top: 0; }
.an-ev .portes li { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.an-ev__filtre { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 8px; border-radius: 999px; background: var(--an-blanc); color: var(--titre);
  box-shadow: inset 0 0 0 1px var(--ligne-forte); font: 600 .8rem/1.2 var(--police); text-align: center; text-decoration: none; transition: box-shadow .2s; }
.an-ev__filtre b { color: var(--accent-lien); font-weight: 800; font-variant-numeric: tabular-nums; }
.an-ev__filtre .icone { display: none; width: 16px; height: 16px; color: var(--accent-lien); }
.an-ev__filtre:hover { background: var(--an-blanc); color: var(--titre); box-shadow: inset 0 0 0 1px var(--or-brun); }
.an-ev__mot { display: none; }
@media (min-width: 720px) {
  .an-ev__filtre { align-self: flex-start; padding: 0 16px; font-size: .92rem; }
  .an-ev__filtre .icone { display: block; }
  .an-ev__mot { display: inline; }
}
@media (min-width: 1024px) { .an-ev .porte { aspect-ratio: 1.75 / 1; } }

/* ================================================================ 4. Un grand métier : le bandeau (carte qui mord sur la photo), les vitrines, les départements */
.trio { padding-block: clamp(40px, 5vw, 72px); overflow: hidden; }
.trio__bandeau { display: grid; }
.trio__photo { position: relative; isolation: isolate; }
.trio__photo img { width: 100%; height: clamp(190px, 46vw, 400px); object-fit: cover; border-radius: 20px 84px 20px 20px; box-shadow: var(--ombre-forte); }
/* Un halo d'or décalé derrière la photo : du relief, décor seulement */
.trio__photo::before { content: ""; position: absolute; inset: 12px -8px -10px 14px; z-index: -1; border-radius: 20px 84px 20px 20px; background: var(--accent); opacity: .34; }
.trio__carte { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: -46px 12px 0; padding: 22px 20px 22px; border-radius: 20px;
  background: var(--an-fond-clair); box-shadow: inset 0 0 0 1px var(--ligne), 0 1px 2px var(--an-nuit-12), 0 8px 16px -8px var(--an-nuit-24), 0 26px 44px -26px var(--an-nuit-60); }
.trio__carte .tete { margin-bottom: 0; }
.trio__carte .bouton { display: inline-block; min-height: 0; padding: 16px 24px; white-space: normal; text-align: center; line-height: 1.2; }
.trio__picto { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-teinte); color: var(--accent-lien); box-shadow: inset 0 0 0 1px var(--an-or-40); }
.trio__picto .icone { width: 21px; height: 21px; }
.trio__carte .tete h2 { padding-right: 52px; }
/* Variante nuit (un métier sur deux) : la carte passe au dégradé nuit, la photo passe à gauche */
.trio--miroir .trio__carte { background: var(--an-fond-nuit); color: var(--an-blanc); box-shadow: inset 0 0 0 1px var(--an-or-40), inset 0 1px 0 var(--an-blanc-18), 0 1px 2px var(--an-nuit-12), 0 8px 16px -8px var(--an-nuit-24), 0 26px 44px -26px var(--an-nuit-80); }
.trio--miroir .trio__carte .tete h2 { color: var(--an-blanc); }
.trio--miroir .trio__carte h2 .t-fin { background: var(--accent-clair); -webkit-background-clip: text; background-clip: text; }
.trio--miroir .trio__carte .tete__texte { color: var(--an-blanc-90); }
.trio--miroir .trio__picto { background: var(--an-blanc-18); color: var(--accent-clair-uni); }
.trio--miroir .trio__photo img, .trio--miroir .trio__photo::before { border-radius: 84px 20px 20px 20px; }
.trio--miroir .trio__photo::before { inset: 12px 14px -10px -8px; }
.trio__sous { display: flex; align-items: center; gap: 12px; color: var(--titre); font: 750 1.1rem/1.3 var(--police); letter-spacing: -.015em; }
.trio__sous::before { content: ""; flex: none; width: 22px; height: 3px; border-radius: 3px; background: var(--accent); }
.trio__tete { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: clamp(26px, 3.4vw, 40px); }
.trio__zones { margin-top: 2px; }
.trio__zones .trio__sous { margin-bottom: 12px; }

/* Les vitrines d'un métier : le défilé de l'accueil, avec des cartes en photo pleine */
.defile--vitrines { --carte: clamp(206px, 58vw, 276px); }
.defile--vitrines .defile__piste { gap: 12px; padding-top: 14px; padding-bottom: 30px; }
.defile--vitrines .defile__piste > li { align-items: flex-start; }
.defile--vitrines .defile__piste > li.defile__suite { flex-basis: clamp(200px, 54vw, 260px); align-items: stretch; }
.defile--vitrines .epingle, .an-grille .epingle { width: 100%; box-shadow: 0 1px 2px var(--an-nuit-12), 0 6px 12px -6px var(--an-nuit-24), 0 18px 30px -20px var(--an-nuit-80); transition: transform .35s var(--courbe), box-shadow .3s; }
.defile--vitrines .epingle { aspect-ratio: 3 / 3.9; border-radius: 18px; }
.defile--vitrines .epingle img, .an-grille .epingle img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; max-height: none; min-height: 0; }
.defile--vitrines .suite { min-height: 0; border-radius: 18px; }
.defile--vitrines .suite h3 { font-size: 1.16rem; }
@media (hover: hover) {
  .defile--vitrines .epingle:hover, .an-grille .epingle:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--or), 0 1px 2px var(--an-nuit-12), 0 8px 16px -6px var(--an-nuit-24), 0 24px 36px -20px var(--an-nuit-80); }
}
/* Sur fond clair, les flèches du défilé passent au blanc cerné, l'icône en marine */
.an-clair .defile__fleche, .an-clair .defile__fleche[aria-disabled="true"], .an-clair .defile__fleche[aria-disabled="true"]:hover, .an-clair .defile__fleche[aria-disabled="true"]:focus-visible {
  width: 46px; height: 46px; background: var(--an-blanc); color: var(--titre); box-shadow: inset 0 0 0 1px var(--ligne-forte), var(--ombre); }
.an-clair .defile__fleche:focus-visible { background: var(--accent); color: var(--accent-texte); box-shadow: inset 0 0 0 1px var(--accent-bord); }

/* Un métier par département : de petites cartes, le numéro en or */
.zones { display: flex; gap: 10px; margin: 0 calc(-1 * var(--gouttiere)); padding: 4px var(--gouttiere) 12px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.zones::-webkit-scrollbar { display: none; }
.zones > li { flex: none; }
.zone { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 9px 18px 9px 9px; border-radius: 16px; background: var(--an-fond-clair); color: var(--titre); text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--ligne-forte), var(--ombre); transition: box-shadow .2s, transform .3s var(--courbe); }
.zone__code { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border-radius: 12px; background: var(--accent); color: var(--accent-texte); font: 800 .98rem/1 var(--police); font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px var(--accent-bord), inset 0 1px 0 var(--an-blanc-18), 0 1px 2px var(--an-contact-or), 0 8px 14px -8px var(--an-lueur-75); }
.zone__code .icone { width: 19px; height: 19px; }
.zone__texte { display: flex; flex-direction: column; line-height: 1.3; }
.zone__texte b { font-size: .98rem; font-weight: 700; letter-spacing: -.01em; }
.zone__texte span { color: var(--texte); font-size: .84rem; }
.zone:hover { background: var(--an-fond-clair); color: var(--titre); transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--or-brun), var(--ombre-forte); }
.zone--toutes { background: var(--an-fond-nuit); color: var(--an-blanc); box-shadow: inset 0 0 0 1px var(--an-or-40); }
.zone--toutes .zone__texte span { color: var(--accent-clair-uni); }
.zone--toutes:hover { background: var(--an-fond-nuit); color: var(--an-blanc); box-shadow: inset 0 0 0 1px var(--or); }
.zone--toutes .zone__code { background: var(--an-blanc-18); color: var(--accent-clair-uni); box-shadow: inset 0 0 0 1px var(--an-or-60); }

@media (min-width: 900px) {
  .trio__bandeau { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .trio__photo { grid-column: 5 / -1; grid-row: 1; }
  .trio__photo img { height: clamp(340px, 30vw, 420px); border-radius: 26px 170px 26px 26px; }
  .trio__photo::before { inset: 18px -16px -16px 22px; border-radius: 26px 170px 26px 26px; }
  .trio__carte { grid-column: 1 / 7; grid-row: 1; margin: 0; padding: clamp(26px, 3vw, 40px); border-radius: 24px; gap: 20px; }
  .trio__carte .tete h2 { padding-right: 0; }
  .trio__picto { position: static; order: -1; width: 50px; height: 50px; }
  .trio__picto .icone { width: 23px; height: 23px; }
  .trio--miroir .trio__photo { grid-column: 1 / 9; }
  .trio--miroir .trio__photo img, .trio--miroir .trio__photo::before { border-radius: 170px 26px 26px 26px; }
  .trio--miroir .trio__photo::before { inset: 18px 22px -16px -16px; }
  .trio--miroir .trio__carte { grid-column: 7 / -1; }
  .trio--miroir .trio__tete { flex-direction: row-reverse; }
  .defile--vitrines .defile__piste { gap: 18px; }
  /* Des cartes libres : une sur deux est plus courte et descend d'un cran (le décalage vient du bloc du défilé) */
  .defile--vitrines .defile__piste > li:nth-child(even) .epingle { aspect-ratio: 3 / 3.5; }
  .zones { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
}

/* ================================================================ 5. Tous les prestataires : les métiers en pastilles, les filtres, la liste */
.an-liste .tete { max-width: none; }
.an-liste h2 [data-titre-debut] { font-variant-numeric: tabular-nums; }
.pastilles { display: flex; gap: 8px; margin: 0 calc(-1 * var(--gouttiere)); padding: 4px var(--gouttiere) 12px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.pastilles::-webkit-scrollbar { display: none; }
.pastilles > li { flex: none; }
.pastille { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border-radius: 999px; background: var(--an-blanc); color: var(--titre); font: 600 .92rem/1 var(--police); text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--ligne-forte); transition: box-shadow .2s; }
.pastille span { color: var(--gris); font-size: .82rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.pastille:hover { background: var(--an-blanc); color: var(--titre); box-shadow: inset 0 0 0 1px var(--or-brun); }
.pastille.est-active, .pastille.est-active:hover { background: var(--an-fond-nuit); color: var(--an-blanc); box-shadow: inset 0 0 0 1px var(--or), 0 1px 2px var(--an-nuit-24), 0 12px 20px -14px var(--an-nuit-80); }
.pastille.est-active span { color: var(--accent-clair-uni); }
.an-filtres { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 4px 0 16px; }
.an-filtres .choix { flex: 1 1 220px; max-width: 340px; }
.segments { display: inline-flex; max-width: 100%; margin: 0; padding: 3px; list-style: none; border-radius: 999px; background: var(--an-blanc); box-shadow: inset 0 0 0 1px var(--ligne-forte); overflow-x: auto; scrollbar-width: none; }
.segments::-webkit-scrollbar { display: none; }
.segments a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; border-radius: 999px; background: transparent; color: var(--titre); font: 600 .9rem/1 var(--police); text-decoration: none; white-space: nowrap; transition: background .2s; }
.segments a:hover { background: var(--fond-2); color: var(--titre); }
.segments a.est-active, .segments a.est-active:hover { background: var(--accent); color: var(--accent-texte); box-shadow: inset 0 0 0 1px var(--accent-bord); }
.an-etat { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 44px; margin-bottom: 14px; color: var(--texte); font-size: .94rem; }
.an-efface { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent-lien); font: 650 .92rem/1.2 var(--police); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.an-efface:hover { background: none; color: var(--titre); }
.an-efface .icone { width: 15px; height: 15px; }
.an-voisins { margin: 0 0 20px; }
.an-voisins p { flex: 1 1 100%; }
.an-voisins .puce b { color: var(--accent-lien); font-variant-numeric: tabular-nums; }
/* au téléphone, une pastille longue (« Toute la région Provence-Alpes-Côte d'Azur ») passe sur deux lignes au lieu de sortir de l'encart */
.an-voisins .puce { max-width: 100%; padding-block: 6px; white-space: normal; line-height: 1.25; }
/* Demande de Hugo (27/11) : dans l'encart, un département s'ajoute à la recherche (« + ») ; un département choisi s'en retire (« × ») */
.an-voisins .puce--ajoute::before { content: "+"; margin-right: -4px; color: var(--or-brun); font: 700 1.08rem/1 var(--police); }
.an-voisins .puce--choisie, .an-voisins .puce--choisie:hover { background: var(--accent-teinte); box-shadow: inset 0 0 0 1.5px var(--or-brun); }
.an-voisins .puce--choisie .icone { width: 15px; height: 15px; margin-left: -2px; color: var(--or-brun); }
.an-voisins .puce--choisie:hover .icone { transform: none; color: var(--titre); }

.an-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 74px; grid-auto-flow: dense; gap: 10px; margin: 0; padding: 0; list-style: none; }
.an-grille > li { grid-row: span 3; min-width: 0; }
.an-grille > li:nth-child(5n+1) { grid-row: span 4; }
.an-grille > li.sans-photo { grid-row: span 2; }
.an-grille .epingle { height: 100%; }
@media (prefers-reduced-motion: no-preference) { .an-grille > li.entre { animation: monter .5s var(--courbe) both; } }
/* Une vitrine sans photo : une carte nuit en dégradé, le pictogramme de son métier en filigrane */
.epingle--sans { background: var(--an-fond-nuit); box-shadow: inset 0 0 0 1px var(--an-or-40), 0 1px 2px var(--an-nuit-12), 0 6px 12px -6px var(--an-nuit-24), 0 18px 30px -20px var(--an-nuit-80) !important; }
.epingle--sans .epingle__voile { display: none; }
.epingle__sans { position: absolute; right: -14px; top: 50%; z-index: -1; display: block; width: 46%; max-width: 132px; aspect-ratio: 1; transform: translateY(-58%) rotate(-10deg); color: var(--accent-clair-uni); opacity: .3; }
.epingle__sans .icone { width: 100%; height: 100%; stroke-width: 1.1; }
li:nth-child(3n) > .epingle--sans { background: radial-gradient(90% 80% at 0% 0%, var(--lueur-2), transparent 70%), radial-gradient(70% 70% at 100% 100%, var(--lueur-1), transparent 72%), linear-gradient(200deg, var(--nuit-2) 0%, var(--nuit) 100%); }
.an-suite { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; color: var(--texte); font-size: .9rem; text-align: center; }
.an-suite .bouton { min-width: min(100%, 300px); }
.an-vide { padding: 22px; border-radius: 18px; background: var(--an-fond-clair); box-shadow: inset 0 0 0 1px var(--ligne-forte); color: var(--texte); }
@media (min-width: 720px) {
  .an-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 88px; gap: 14px; }
}
@media (min-width: 900px) {
  .pastilles { flex-wrap: wrap; margin: 0; padding: 4px 0 12px; overflow: visible; }
  .an-filtres .choix { flex: 0 1 300px; }
}
@media (min-width: 1024px) {
  .an-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 94px; gap: 16px; }
}

/* ================================================================ 6. Par région et par département : des cartes de hauteurs inégales */
.an-regions { columns: 1; column-gap: 16px; }
.region { break-inside: avoid; margin: 0 0 16px; padding: 20px 20px 10px; border-radius: 20px; background: var(--an-fond-clair); box-shadow: inset 0 0 0 1px var(--ligne-forte), var(--ombre); }
.region h3 { color: var(--titre); font: 750 1.14rem/1.25 var(--police); letter-spacing: -.016em; }
.region h3 a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: inherit; text-decoration: none; }
.region h3 a .icone { width: 16px; height: 16px; color: var(--accent-lien); transition: transform .25s var(--courbe); }
.region h3 a:hover .icone { transform: translateX(3px); }
.region__total { margin: 0 0 10px; color: var(--texte); font-size: .88rem; }
.region ul { margin: 0; padding: 0; list-style: none; }
.region li a { display: flex; align-items: center; gap: 9px; min-height: 46px; border-top: 1px solid var(--ligne); color: var(--titre); font-weight: 600; font-size: .96rem; text-decoration: none; }
.region li a small { color: var(--gris); font-size: .78rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.region li a b { margin-left: auto; min-width: 38px; padding: 3px 10px; border-radius: 999px; background: var(--accent-teinte); color: var(--accent-lien); font-size: .84rem; font-weight: 750; text-align: center; font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
.region li a:hover { color: var(--titre); }
.region li a:hover b { background: var(--accent); color: var(--accent-texte); }
.region--grande { background: var(--an-fond-nuit); box-shadow: inset 0 0 0 1px var(--an-or-40), inset 0 1px 0 var(--an-blanc-18), var(--ombre-forte); --focus: #FFE3A3; }
.region--grande h3, .region--grande li a, .region--grande li a:hover { color: var(--an-blanc); }
.region--grande h3 a .icone, .region--grande li a small { color: var(--accent-clair-uni); }
.region--grande .region__total { color: var(--an-blanc-90); }
.region--grande li a { border-top-color: var(--an-blanc-18); }
.region--grande li a b { background: var(--an-blanc-18); color: var(--accent-clair-uni); }
@media (min-width: 720px) { .an-regions { columns: 2; } }
@media (min-width: 1024px) { .an-regions { columns: 3; column-gap: 20px; } .region { margin-bottom: 20px; } }

/* ================================================================ 7. Conseils, puis tous les métiers en liens */
.conseils { display: grid; gap: 26px; }
.conseils__image { position: relative; isolation: isolate; }
.conseils__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 62%; border-radius: 20px 20px 20px 96px; box-shadow: var(--ombre-forte); }
.conseils__image::before { content: ""; position: absolute; inset: 12px 12px -10px -8px; z-index: -1; border-radius: 20px 20px 20px 96px; background: var(--accent); opacity: .34; }
.conseils__liste { margin: 0; padding: 0; list-style: none; }
.conseils__liste li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-top: 1px solid var(--ligne-forte); }
.conseils__liste li:first-child { border-top: 0; padding-top: 0; }
.conseils__coche { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-texte); box-shadow: inset 0 0 0 1px var(--accent-bord), 0 1px 2px var(--an-contact-or), 0 8px 14px -8px var(--an-lueur-75); }
.conseils__coche .icone { width: 18px; height: 18px; stroke-width: 2.4; }
.conseils__liste h3 { color: var(--titre); font: 700 1.03rem/1.3 var(--police); letter-spacing: -.01em; }
.conseils__liste p { margin-top: 3px; color: var(--texte); font-size: .96rem; }
.tous-metiers { margin-top: clamp(34px, 4.5vw, 56px); padding-top: 26px; border-top: 1px solid var(--ligne-forte); }
.tous-metiers ul { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 10px 0 0; padding: 0; list-style: none; }
.tous-metiers a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--titre); font-weight: 600; text-decoration: none; }
.tous-metiers a span { color: var(--gris); font-size: .84rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.tous-metiers a:hover { color: var(--accent-lien); text-decoration: underline; text-decoration-color: var(--accent-bord); text-underline-offset: 4px; }
@media (min-width: 900px) {
  .conseils { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: start; gap: clamp(40px, 5.5vw, 84px); }
  .conseils__image { position: sticky; top: 150px; }
  .conseils__image img { aspect-ratio: 4 / 5; border-radius: 26px 26px 26px 170px; }
  .conseils__image::before { inset: 18px 22px -16px -16px; border-radius: 26px 26px 26px 170px; }
}

/* ================================================================ 8. Créer mon événement : une bande nuit, la photo qui se fond à droite */
.creer { padding-top: 0; }
.creer__bande { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(26px, 5vw, 58px); border-radius: 26px;
  background: var(--an-fond-nuit); color: var(--an-blanc); box-shadow: inset 0 0 0 1px var(--an-or-40), inset 0 1px 0 var(--an-blanc-18), var(--ombre-forte); --focus: #FFE3A3; }
.creer__fond { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .26; }
.creer__bande h2 { max-width: 20ch; color: var(--an-blanc); font: 800 clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem)/1.15 var(--police); letter-spacing: -.03em; text-wrap: balance; }
.creer__bande h2::before { content: ""; display: block; width: 46px; height: 4px; margin-bottom: 14px; border-radius: 4px; background: var(--accent); box-shadow: 0 6px 14px -4px var(--bouton-lueur); }
.creer__bande h2 .t-fin { background: var(--accent-clair); -webkit-background-clip: text; background-clip: text; }
.creer__bande p { max-width: 48ch; color: var(--an-blanc-90); }
/* conseil D20 des vidéos du 28/11 : le bouton principal de la bande, nettement plus gros (52 px et 15,4 px de texte auparavant) */
.creer__bande .bouton { min-height: 58px; padding: 0 34px; font-size: 1.1rem; }
@media (min-width: 900px) {
  .creer__fond { left: auto; width: 56%; opacity: .78; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 58%); mask-image: linear-gradient(90deg, transparent 0%, #000 58%); }
}

/* ================================================================ Liste compacte (demandes de Hugo, 27/11) : « il faut qu'on voie tout de suite la liste des
   prestataires » et « le filtre est un peu trop imposant par rapport à ce qui est essentiel : les vitrines ». Le titre tient sur une ligne, les
   métiers sur deux rangées de petites pastilles au plus ; l'événement et le lieu se choisissent dans la barre « Affiner », qui reste en haut de l'écran
   (au téléphone, où cette barre n'a pas la place de l'événement, il garde sa ligne dans la section). */
.an-liste[data-liste-compacte] { padding-top: clamp(18px, 2.4vw, 30px); }
/* la feuille commune donne déjà 90 px de marge de défilement à la page : 30 px de plus, et le titre arrive juste sous le menu et la barre « Affiner » */
#liste[data-liste-compacte] { scroll-margin-top: 30px; }
.an-liste[data-liste-compacte] .tete { margin-bottom: 12px; }
.an-liste[data-liste-compacte] .tete h2 { font-size: clamp(1.3rem, 1.02rem + 1.15vw, 1.8rem); line-height: 1.2; }
.an-liste[data-liste-compacte] .tete h2::before { display: none; }
.an-liste[data-liste-compacte] .tete h2 .t-fin { display: inline; filter: none; }
.an-liste[data-liste-compacte] .pastilles { padding-top: 2px; padding-bottom: 8px; }
.an-liste[data-liste-compacte] .an-filtres { margin: 0 0 8px; }
.an-liste[data-liste-compacte] .an-filtres .choix { display: none; }
.an-liste[data-liste-compacte] .an-etat { min-height: 0; margin-bottom: 10px; }
.an-liste[data-liste-compacte] .an-etat:empty { display: none; }
@media (min-width: 720px) { .an-liste[data-liste-compacte] .an-filtres { display: none; } }
@media (min-width: 900px) {
  .an-liste[data-liste-compacte] .pastilles { gap: 6px; padding: 2px 0 10px; }
  .an-liste[data-liste-compacte] .pastille { min-height: 36px; padding: 0 12px; gap: 6px; font-size: .84rem; }
  .an-liste[data-liste-compacte] .pastille span { font-size: .76rem; }
  .an-liste[data-liste-compacte] .an-efface { min-height: 34px; font-size: .86rem; }
  /* « Effacer les filtres » se range au bout de la ligne du titre (une ligne de gagnée avant les vitrines) ; un message, lui, garde sa ligne */
  .an-liste[data-liste-compacte] > .cadre { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; }
  .an-liste[data-liste-compacte] > .cadre > * { grid-column: 1 / -1; min-width: 0; }
  .an-liste[data-liste-compacte] > .cadre > .tete { grid-column: 1; grid-row: 1; }
  .an-liste[data-liste-compacte] > .cadre > .an-etat { grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 8px; }
  .an-liste[data-liste-compacte] > .cadre > .an-etat.a-un-message { grid-column: 1 / -1; grid-row: auto; align-self: auto; margin-bottom: 10px; }
}

/* ================================================================ Conseils des vidéos du 28/11 : retour à l'appui (A4), pulsation de confirmation (A7) */
/* A4 : un vrai bouton (pastille, filtre, puce, bouton) se réduit à 0,97 sous le doigt ; les grandes cartes et les photos, non (les flèches du
   défilé ont le leur dans bloc-evenements.css). « scale » ne se bat pas avec les transform du survol ; chaque liste de transitions est redonnée
   en entier, l'échelle en plus. */
@media (prefers-reduced-motion: no-preference) {
  .pastille, .an-ev__filtre, .an-voisins .puce { transition: box-shadow .2s, scale .12s var(--courbe); }
  .segments a { transition: background .2s, scale .12s var(--courbe); }
  .an-efface { transition: scale .12s var(--courbe); }
  .rapide__voir, .an-suite .bouton, .trio__carte .bouton, .creer__bande .bouton { transition: background .2s, box-shadow .2s, color .2s, scale .12s var(--courbe); }
  .zone { transition: box-shadow .2s, transform .3s var(--courbe), scale .12s var(--courbe); }
  .pastille:active, .an-ev__filtre:active, .segments a:active, .an-efface:active, .an-voisins .puce:active, .zone:active,
  .rapide__voir:active, .an-suite .bouton:active, .trio__carte .bouton:active, .creer__bande .bouton:active { scale: .97; }
  /* A7 : un anneau d'or qui s'élargit et s'efface confirme le département ajouté dans l'encart « Élargissez la recherche » */
  .an-voisins .puce--choisie.vient-ajoutee { animation: an-confirme .6s var(--courbe); }
}
@keyframes an-confirme { from { box-shadow: inset 0 0 0 1.5px var(--or-brun), 0 0 0 0 var(--an-or-60); } to { box-shadow: inset 0 0 0 1.5px var(--or-brun), 0 0 0 9px transparent; } }

/* RESULTATS_EN_LISTE_2911 : décision de Hugo du 29/11/2026, « Une seule page » : toute recherche ouvre la page de résultats en liste. La grande
   section de cartes de cette page ne s'affiche plus ; elle et son code seront retirés au prochain passage. */
.an-liste { display: none; }
