/* We Event en deux sites (DEUX_SITES_2026_11_24) : feuille de l'accueil des organisateurs, tour 3 (mise en page du 26/11,
   commande deux-sites-v3/BRIEF-accueil.md). Version précédente : deux-sites-v2-20261125.css.
   Ce qui change : le menu n'a plus de fond blanc (posé sur la photo, puis collé sur un dégradé nuit) ; le premier écran est une
   photo plein cadre avec le titre, la recherche et les trois événements ; les métiers sont une mosaïque de photos ; les vitrines
   sont des photos pleines en colonnes de hauteurs inégales ; un bloc magazine ; les événements en affiches sur une bande nuit ;
   les départements dans le pied de page. Titres en Inter gras, fond blanc ou gris très clair (jamais de beige), aucune grande
   surface en aplat. Écrite téléphone d'abord.
   Deux variantes, une seule feuille : A (défaut) = accent or ; B = classe .variante-b sur <html> (adresse ?v=b) = accent chaud. */

:root {
  --nuit: #0F1E40;
  --nuit-2: #16244E;
  --titre: #0F1E40;
  --encre: #232B3D;
  --texte: #4B5468;
  --gris: #636A7E;   /* CONTRASTE_0112 : #687085 donnait 4,27 sur les fonds gris clair */
  --fond: #F7F4EC;
  --fond-2: #EFEBE1;
  --ligne: #E5DFD1;
  --ligne-forte: #D3CBB9;
  --etoile: #F0B93A;
  --focus: #1F5BFF;
  --ombre: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px -10px rgba(16, 24, 40, .18);
  --ombre-forte: 0 2px 4px rgba(16, 24, 40, .06), 0 18px 36px -16px rgba(16, 24, 40, .3);
  --rayon: 10px;
  --rayon-photo: 14px;
  --police: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gouttiere: clamp(16px, 4vw, 40px);
  --courbe: cubic-bezier(.2, .7, .2, 1);
  --h-utile: 0px;   /* barre du haut : absente au téléphone */
  --h-entete: 62px;

  /* Palette donnée par Hugo le 26/11 (relevée à l'œil sur sa capture, à remplacer par ses codes exacts) :
     marine #0F1E40, or brun #977534, or #C9A24B, crème #F7F4EC (fond du site), crème soutenue #EFEBE1 (bandes) */
  --or: #C9A24B;
  --or-brun: #977534;
  --or-texte: #83662D;   /* CONTRASTE_0112 : le doré des PETITS textes (4,89 sur crème, 5,38 sur blanc) */
  --fin-titre: linear-gradient(92deg, #8F6C2C 0%, #A9843A 100%);   /* la fin des titres, sur fond clair */
  --bouton: linear-gradient(160deg, #E6C46C 0%, #CFA84F 44%, #A9833A 100%);
  --bouton-texte: #0F1E40;
  --bouton-bord: rgba(133, 100, 38, .95);
  --bouton-ombre: rgba(120, 88, 28, .6);
  --bouton-lueur: rgba(201, 162, 75, .85);

  /* Variante A : les couleurs de We Event, l'or en accent */
  --accent: linear-gradient(160deg, #E0BD66 0%, #C9A24B 48%, #AB853B 100%);
  --accent-survol: linear-gradient(160deg, #E8C873 0%, #D2AC55 48%, #B58E42 100%);
  --accent-bord: #977534;
  --accent-texte: #0B1530;
  --accent-lien: #7F6129;
  --accent-teinte: #F1E8D2;
  --accent-clair: linear-gradient(92deg, #F8E7BC 0%, #E2BF78 100%);   /* texte d'accent posé sur du sombre */
  --accent-clair-uni: #EBD193;
  --bande: radial-gradient(60% 90% at 100% 0%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%), linear-gradient(120deg, #EFE7D3 0%, #F7F2E6 60%, #F1EADA 100%);
  --bande-bord: #E2D8C0;
  /* Surfaces nuit : toujours un dégradé et des lueurs, jamais un aplat */
  --lueur-1: rgba(214, 170, 92, .30);
  --lueur-2: rgba(138, 60, 112, .34);
  --barre: linear-gradient(100deg, rgba(9, 17, 42, .95) 0%, rgba(22, 36, 78, .93) 52%, rgba(52, 30, 76, .93) 100%);
  --voile-couleur: linear-gradient(105deg, rgba(222, 124, 38, .30) 0%, rgba(150, 40, 112, .34) 100%);
}
/* Variante B : un accent chaud (corail profond), même page */
.variante-b {
  --fin-titre: linear-gradient(92deg, #B82A40 0%, #D4566A 100%);
  --bouton: linear-gradient(160deg, #E45A66 0%, #CC3A4E 46%, #A9273B 100%);
  --bouton-texte: #FFFFFF;
  --bouton-bord: rgba(140, 28, 46, .95);
  --bouton-ombre: rgba(110, 20, 36, .6);
  --bouton-lueur: rgba(208, 56, 80, .7);
  --accent: linear-gradient(180deg, #D03850 0%, #B82A40 100%);
  --accent-survol: linear-gradient(180deg, #BE2F46 0%, #A22336 100%);
  --accent-bord: #A9273B;
  --accent-texte: #FFFFFF;
  --accent-lien: #C22E45;
  --accent-teinte: #FDEEF0;
  --accent-clair: linear-gradient(92deg, #FFC7BC 0%, #FF98A8 100%);
  --accent-clair-uni: #FFB3AE;
  --bande: radial-gradient(60% 90% at 100% 0%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%), linear-gradient(120deg, #FCE4E8 0%, #FFF2F4 60%, #FDE9EC 100%);
  --bande-bord: #F7D5DB;
  --lueur-1: rgba(214, 62, 86, .32);
  --lueur-2: rgba(120, 62, 150, .32);
  --barre: linear-gradient(100deg, rgba(9, 17, 42, .95) 0%, rgba(26, 32, 76, .93) 52%, rgba(74, 26, 56, .93) 100%);
  --voile-couleur: linear-gradient(105deg, rgba(206, 70, 70, .24) 0%, rgba(110, 48, 130, .28) 100%);
}
@media (min-width: 720px) { :root { --h-utile: 38px; --h-entete: 70px; } }
@media (min-width: 1200px) { :root { --h-entete: 74px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 16px/1.6 var(--police); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
.cadre { width: min(100% - 2 * var(--gouttiere), 1240px); margin-inline: auto; }
.icone { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.masque { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
/* Sur les surfaces sombres, l'anneau de focus passe au clair */
.utile, .entete, .tiroir, .haut, .affiche, .metier, .epingle, .photo { --focus: #FFE3A3; }
.evitement { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--titre); color: #fff; font-weight: 600; text-decoration: none; }
.evitement:focus { top: 12px; }

/* ================================================================ Boutons et puces (toujours fond + texte posés ensemble) */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--rayon);
  font: 600 .96rem/1 var(--police); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, box-shadow .2s, color .2s; }
.bouton .icone { width: 18px; height: 18px; }
.bouton--plein { background: var(--accent); color: var(--accent-texte); box-shadow: inset 0 0 0 1px var(--accent-bord), inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 18px -12px rgba(16, 24, 40, .55); }
.bouton--plein:hover, .bouton--plein:focus-visible { background: var(--accent-survol); color: var(--accent-texte); }
.bouton--trait { background: #fff; color: var(--titre); box-shadow: inset 0 0 0 1px var(--ligne-forte); }
.bouton--trait:hover { background: #fff; color: var(--titre); box-shadow: inset 0 0 0 1px var(--titre); }
.bouton--trait:disabled { opacity: .75; cursor: progress; }
.puce { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: var(--rayon); background: #fff; color: var(--titre);
  box-shadow: inset 0 0 0 1px var(--ligne-forte); font-weight: 600; font-size: .94rem; text-decoration: none; white-space: nowrap; transition: box-shadow .2s; }
.puce .icone { width: 18px; height: 18px; color: var(--accent-lien); transition: transform .25s var(--courbe); }
.puce:hover { background: #fff; color: var(--titre); box-shadow: inset 0 0 0 1px var(--titre); }
.puce:hover .icone { transform: translateX(3px); }

/* ================================================================ 1. Barre du haut : posée sur la photo (porte pro, langue, connexion) */
.utile { position: relative; z-index: 56; color: rgba(255, 255, 255, .92); font-size: .83rem; }
.utile__barre { display: flex; align-items: center; justify-content: flex-end; height: 38px; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .16); }
.utile__droite { display: none; align-items: center; gap: 4px; margin-right: -8px; }
.utile__lien { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 8px; border: 0; background: none; color: rgba(255, 255, 255, .92);
  font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; transition: color .2s; }
.utile__lien:hover, .utile__lien[aria-expanded="true"] { background: none; color: #fff; }
.utile__porte { color: #fff; font-weight: 600; }
.utile__sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .32); }
.icone--chevron { width: 14px; height: 14px; transition: transform .2s; }
[aria-expanded="true"] > .icone--chevron { transform: rotate(180deg); }
.deroulant { position: relative; }
.panneau { position: absolute; right: 0; top: calc(100% + 4px); z-index: 60; min-width: 200px; padding: 8px; border-radius: 12px; background: #fff; color: var(--encre); box-shadow: var(--ombre-forte), 0 0 0 1px var(--ligne); --focus: #1F5BFF; }
.panneau a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--encre); font-size: .92rem; text-decoration: none; }
.panneau a:hover { background: var(--fond-2); color: var(--encre); }
.panneau a[aria-current] { font-weight: 600; }
.panneau a[aria-current]::after { content: ""; width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: var(--accent-bord); }

/* ================================================================ 2. Menu principal : transparent sur la photo, dégradé nuit une fois collé.
   Le fond est un calque à part (::before) pour pouvoir le faire apparaître en fondu. Sans script, le dégradé reste toujours là. */
.entete { position: sticky; top: 0; z-index: 50; color: #fff; }
.entete::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--barre); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 16px 34px -22px rgba(4, 9, 26, .85); transition: opacity .3s; }
.entete::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(230, 200, 134, 0) 0%, rgba(230, 200, 134, .6) 22%, rgba(230, 200, 134, .6) 78%, rgba(230, 200, 134, 0) 100%); transition: opacity .3s; }
.avec-script .entete:not(.entete--collee)::before, .avec-script .entete:not(.entete--collee)::after { opacity: 0; }
.entete__barre { display: flex; align-items: center; gap: 20px; height: var(--h-entete); }
.entete__logo { display: inline-flex; flex: none; border-radius: 6px; }
/* Pied de page : logo officiel pour fond clair, image carrée recadrée sur le motif (rapport 4,15 : 1). En-tête et tiroir : logo or, entier. */
.logo { aspect-ratio: 4.15 / 1; object-fit: cover; object-position: 50% 50%; }
.entete__logo .logo, .tiroir__haut .logo { aspect-ratio: 3.9 / 1; object-fit: cover; object-position: 50% 50%; }
.entete__logo .logo { width: 142px; height: auto; }
.nav-principale { display: none; gap: 2px; margin-left: auto; margin-right: -13px; }
.nav-principale a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; color: rgba(255, 255, 255, .94); font-weight: 500; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav-principale a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--courbe); }
.nav-principale a:hover, .nav-principale a[aria-current="page"] { color: #fff; }
.nav-principale a:hover::after, .nav-principale a[aria-current="page"]::after { transform: scaleX(1); }
.entete__icone { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color .2s; }
.entete__icone:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.entete__icone .icone { width: 22px; height: 22px; }
.entete__connexion { margin-left: auto; }
.entete__barre > .entete__burger { margin-left: -6px; margin-right: -8px; }
/* « Se connecter » suit le visiteur (demande de Hugo, 26/11) : quand le menu est collé en haut et que la barre du haut a défilé,
   le lien apparaît dans le menu, en pastille au liseré doré. En haut de page, il reste dans la barre du haut. */
.entete__connexion-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 720px) {
  .avec-script .entete--collee .entete__connexion { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-left: 22px; padding: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(230, 200, 134, .6); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap;
    animation: monter .35s var(--courbe) both; transition: background .2s, color .2s, box-shadow .2s; }
  .avec-script .entete--collee .entete__connexion:hover, .avec-script .entete--collee .entete__connexion:focus-visible { background: var(--accent); color: var(--accent-texte); box-shadow: inset 0 0 0 1px var(--accent-bord); }
  .avec-script .entete--collee .entete__connexion .icone { width: 21px; height: 21px; }
}
/* Tablette : le menu est replié, la pastille se range à droite, contre le bouton du menu */
@media (min-width: 720px) and (max-width: 1199.98px) {
  .avec-script .entete--collee .entete__connexion { margin-left: auto; }
  .avec-script .entete--collee .entete__barre > .entete__burger { margin-left: 8px; }
}

.tiroir { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; padding: 9px var(--gouttiere) 36px; color: #fff;
  background: radial-gradient(90% 46% at 100% 0%, var(--lueur-2), rgba(0, 0, 0, 0) 72%), radial-gradient(70% 40% at 0% 100%, var(--lueur-1), rgba(0, 0, 0, 0) 70%), linear-gradient(168deg, #0B1530 0%, #16244E 58%, #0F1A3C 100%); }
.tiroir__haut { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-right: -8px; }
.tiroir__haut .logo { width: 142px; height: auto; }
.tiroir nav { display: flex; flex-direction: column; }
.tiroir nav a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.tiroir__bloc { display: flex; flex-direction: column; }
.tiroir__titre { margin-bottom: 4px; color: rgba(255, 255, 255, .7); font-size: .8rem; font-weight: 600; }
.tiroir__bloc a { display: flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .94); text-decoration: none; }
.tiroir__langues { display: flex; flex-wrap: wrap; gap: 8px; }
.tiroir__langues a { min-width: 48px; justify-content: center; padding: 0 12px; border-radius: var(--rayon); background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.tiroir__langues a[aria-current] { background: var(--accent); color: var(--accent-texte); box-shadow: inset 0 0 0 1px var(--accent-bord); }

/* ================================================================ 3. Premier écran : une photo plein cadre, tout tient dessus */
.haut { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; margin-top: calc(-1 * (var(--h-utile) + var(--h-entete)));
  min-height: min(100vh, 920px); min-height: min(100svh, 920px); padding: calc(var(--h-utile) + var(--h-entete) + 14px) 0 12px; background: var(--nuit); color: #fff; }
.haut__fond { position: absolute; inset: 0; z-index: -1; }
.haut__fond img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; filter: saturate(1.12) contrast(1.04); }
/* Le voile : un élément à part, en dégradé (nuit en haut pour le menu, léger au milieu pour laisser voir la photo, nuit en bas),
   une ombre douce derrière le titre et la recherche, et une teinte chaude par-dessus */
.haut__voile { position: absolute; inset: 0;
  background: radial-gradient(64% 38% at 50% 44%, rgba(8, 15, 38, .6) 0%, rgba(8, 15, 38, 0) 100%),
    linear-gradient(180deg, rgba(8, 15, 38, .9) 0%, rgba(8, 15, 38, .54) 17%, rgba(8, 15, 38, .28) 46%, rgba(8, 15, 38, .3) 64%, rgba(8, 15, 38, .9) 100%),
    var(--voile-couleur); }
.haut__contenu { display: flex; flex-direction: column; align-items: center; flex: 1; text-align: center; }
.haut__coeur { display: flex; flex-direction: column; align-items: center; width: 100%; margin-block: auto; padding-block: 10px; }
.haut__titre { font: 750 clamp(1.8rem, 8.4vw, 2.1rem)/1.07 var(--police); letter-spacing: -.035em; text-shadow: 0 2px 22px rgba(4, 9, 26, .55); }
.haut__titre .haut__suite { display: block; background: var(--accent-clair); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 2px 14px rgba(4, 9, 26, .5)); padding-bottom: .08em; }
/* Sous-titre du premier écran (demande de Hugo, 26/11) */
.haut__sous-titre { max-width: 36ch; margin-top: 12px; color: rgba(255, 255, 255, .95); font: 500 1.02rem/1.45 var(--police); letter-spacing: -.005em; text-shadow: 0 1px 14px rgba(4, 9, 26, .8); text-wrap: balance; }
@media (min-width: 720px) { .haut__sous-titre { max-width: none; margin-top: 16px; font-size: 1.24rem; } }
@media (prefers-reduced-motion: no-preference) { .haut__sous-titre { animation: monter .7s var(--courbe) .04s both; } }
/* Le métier qui défile dans le titre : « le traiteur », « le DJ »… à la place de « les prestataires » (demande de Hugo, 26/11) */
.haut__metier { display: inline-block; white-space: nowrap; text-align: left; transition: width .55s var(--courbe); }
.haut__metier-mot { display: inline-block; }
.haut__metier-mot.sort { animation: mot-sort .32s ease-in both; }
.haut__metier-mot.entre { animation: mot-entre .5s var(--courbe) both; }
/* Au téléphone, « Trouvez les prestataires » doit tenir sur une ligne quel que soit le mot tournant : sinon le titre passe de deux à trois
   lignes et tout le haut de page saute de 18 px à chaque mot long (relevé le 28/11 ; contrôle : node deux-sites-v3/mesurer-titre-accueil.cjs) */
@media (max-width: 719px) { #titre-accueil { font-size: clamp(1.5rem, 7.9vw, 2.1rem); } }
@keyframes mot-sort { to { opacity: 0; transform: translateY(-.35em); } }
@keyframes mot-entre { from { opacity: 0; transform: translateY(.4em); } }

.recherche { display: grid; grid-template-columns: minmax(0, 1fr); width: min(100%, 940px); margin-top: 18px; padding: 6px; border-radius: 18px; background: #fff; color: var(--encre); text-align: left;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 30px 60px -26px rgba(4, 9, 26, .85); --focus: #1F5BFF; }
.recherche__champ { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "picto label rayon" "picto saisie rayon"; align-content: center; align-items: center; column-gap: 12px;
  min-width: 0; min-height: 56px; padding: 7px 10px 7px 14px; border-radius: 12px; }
.recherche__champ:focus-within { outline: 2px solid var(--focus); outline-offset: -2px; }
/* Séparateur entre les deux champs : un filet sous « Quel prestataire ? » au téléphone, vertical à partir de la tablette */
.recherche__champ--ou::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; background: var(--ligne); }
.recherche__picto { grid-area: picto; width: 20px; height: 20px; color: var(--accent-lien); }
.recherche__champ > label { grid-area: label; color: var(--titre); font-size: .74rem; font-weight: 650; letter-spacing: .01em; line-height: 1.3; }
.recherche__champ > input { grid-area: saisie; width: 100%; min-height: 26px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--encre); font-size: 1rem; outline: none; -webkit-appearance: none; appearance: none; }
.recherche__champ > input::placeholder { color: var(--gris); opacity: 1; }
.recherche__champ > input::-webkit-search-cancel-button { -webkit-appearance: none; }
/* Le rayon : une pastille dans le champ « Où ? », 50 km par défaut, sans colonne à lui */
/* Le rayon : un troisième champ, rangé comme les deux autres (libellé au-dessus, valeur dessous, filet à gauche) */
.recherche__rayon { grid-area: rayon; position: relative; display: grid; align-content: center; min-width: 86px; padding-left: 16px; }
.recherche__rayon::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 1px; background: var(--ligne); }
.recherche__rayon label { color: var(--titre); font-size: .74rem; font-weight: 650; letter-spacing: .01em; line-height: 1.3; }
.recherche__rayon select { width: 100%; min-height: 26px; padding: 0 20px 0 0; border: 0; border-radius: 0; background: transparent; color: var(--encre);
  font: inherit; font-size: 1rem; text-overflow: ellipsis; cursor: pointer; outline: none; -webkit-appearance: none; appearance: none; }
.recherche__rayon select:hover { background: transparent; color: var(--titre); }
.recherche__rayon .icone--chevron { position: absolute; right: 0; bottom: 5px; width: 16px; height: 16px; color: var(--gris); pointer-events: none; transition: transform .2s var(--courbe); }
/* La liste des rayons (demande de Hugo, 26/11) : là où le navigateur le permet (appearance: base-select, Chrome et Edge),
   son panneau gris est remplacé par le nôtre. Ailleurs (Firefox, Safari, roue des téléphones Apple), la liste du système reste. */
@supports (appearance: base-select) {
  .recherche__rayon select, .recherche__rayon select::picker(select) { appearance: base-select; }
  .recherche__rayon select { display: flex; align-items: center; }
  .recherche__rayon select::picker-icon { display: none; }
  .recherche__rayon select:open ~ .icone--chevron { transform: rotate(180deg); color: var(--titre); }
  /* position-try-order: normal = la liste s'ouvre SOUS le champ tant qu'elle y tient (le réglage d'origine la met là où il y a le plus de place, donc au-dessus) */
  .recherche__rayon select::picker(select) { position-try-order: normal; min-width: 176px; margin: 14px 0 14px -14px; padding: 6px; border: 0; border-radius: 14px; background: linear-gradient(180deg, #fff 0%, #FBF8F0 100%); color: var(--encre);
    box-shadow: 0 0 0 1px var(--ligne), 0 26px 50px -20px rgba(4, 9, 26, .6), 0 6px 14px -8px rgba(4, 9, 26, .3);
    opacity: 0; transform: translateY(-6px); transition: opacity .16s, transform .22s var(--courbe), overlay .22s allow-discrete, display .22s allow-discrete; }
  .recherche__rayon select::picker(select):popover-open { opacity: 1; transform: none; }
  @starting-style { .recherche__rayon select::picker(select):popover-open { opacity: 0; transform: translateY(-6px); } }
  .recherche__rayon option { display: flex; align-items: center; gap: 18px; min-height: 44px; padding: 0 12px 0 14px; border-radius: 9px; background: transparent; color: var(--encre); font-size: 1rem; cursor: pointer; }
  .recherche__rayon option:hover, .recherche__rayon option:focus-visible { background: var(--fond-2); color: var(--titre); outline: none; }
  .recherche__rayon option:checked { background: transparent; color: var(--titre); font-weight: 700; }
  .recherche__rayon option:checked:hover, .recherche__rayon option:checked:focus-visible { background: var(--fond-2); }
  /* la coche du choix en cours : à droite, en or brun */
  .recherche__rayon 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; }
}
/* Bouton « Rechercher » (refait le 26/11 à 20:10, demande de Hugo : la plaque d'or en relief détonnait avec le reste du site).
   Il prend la matière du menu et des trois cartes d'événement : une surface nuit en dégradé, cernée d'un fin trait d'or, le mot en blanc.
   Au survol, le trait doré des onglets du menu se tire sous le mot. Ancien dessin gardé dans deux-sites-v3/ancien-bouton-rechercher.css.
   Les variables --bouton* ne servent plus ici, mais d'autres blocs s'en servent : ne pas les retirer. */
.recherche__bouton { --fond-bouton: linear-gradient(135deg, #0B1530 0%, #1B2C66 58%, #3A2560 100%) padding-box, linear-gradient(135deg, #F3DFA6 0%, #A9833A 46%, #E6C46C 100%) border-box;
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; margin-top: 6px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 13px;
  background: var(--fond-bouton); color: #fff; font: 650 1.02rem/1 var(--police); letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 26px -14px rgba(15, 30, 64, .85);
  transition: box-shadow .25s, filter .2s; }
.recherche__bouton::after { content: ""; position: absolute; left: 24%; right: 24%; bottom: 9px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #F3DFA6, #C9A24B); transform: scaleX(0); transition: transform .35s var(--courbe); }
.recherche__bouton:hover, .recherche__bouton:focus-visible { background: var(--fond-bouton); color: #fff; filter: brightness(1.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 16px 30px -14px rgba(15, 30, 64, .9), 0 0 0 4px rgba(201, 162, 75, .22); }
.recherche__bouton:hover::after, .recherche__bouton:focus-visible::after { transform: scaleX(1); }
.recherche__bouton:active { filter: brightness(.96); }
.recherche__bouton .icone { width: 20px; height: 20px; color: var(--accent-clair-uni); stroke-width: 2.2; }


/* Les trois événements : des photos cernées d'un trait clair, le nom écrit dessus */
.portes { width: min(100%, 940px); margin-top: 24px; }
.portes ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.porte { position: relative; isolation: isolate; display: block; aspect-ratio: 1 / 1.1; overflow: hidden; border-radius: var(--rayon-photo); background: var(--nuit-2); color: #fff; text-align: left; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .42), 0 20px 36px -20px rgba(4, 9, 26, .9); transition: box-shadow .25s, transform .3s var(--courbe); }
.porte img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--courbe); }
/* Voiles des photos : un dégradé mesuré en points depuis le bas (--h-texte = la hauteur du texte), le haut de la photo reste net */
.porte__voile, .metier__voile, .epingle__voile, .photo::after { background: linear-gradient(0deg, rgba(8, 15, 38, .95) 0, rgba(8, 15, 38, .76) var(--h-texte, 60px), rgba(8, 15, 38, 0) calc(var(--h-texte, 60px) * 2.1)); }
.porte__voile { position: absolute; inset: 0; z-index: -1; --h-texte: 50px; }
.porte__corps { position: absolute; left: 10px; right: 10px; bottom: 9px; display: flex; flex-direction: column; gap: 2px; }
.porte__nom, .metier__nom, .epingle__nom, .photo__legende b { text-shadow: 0 1px 10px rgba(4, 9, 26, .55); }
.porte__nom { font-weight: 700; font-size: .82rem; line-height: 1.2; text-wrap: balance; }
.porte__metiers, .porte__fleche { display: none; }
.porte:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .85), 0 24px 40px -20px rgba(4, 9, 26, .95); }
.porte:hover img { transform: scale(1.05); }

/* Une seule entrée en scène, au chargement */
@media (prefers-reduced-motion: no-preference) {
  .haut__titre, .recherche, .portes li { animation: monter .7s var(--courbe) both; }
  .recherche { animation-delay: .06s; }
  .portes li:nth-child(1) { animation-delay: .16s; }
  .portes li:nth-child(2) { animation-delay: .21s; }
  .portes li:nth-child(3) { animation-delay: .26s; }
}
@keyframes monter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ================================================================ Sections */
.section { padding-block: clamp(52px, 6.5vw, 92px); }
.section--gris { background: linear-gradient(180deg, var(--fond-2) 0%, #F4F0E6 100%); border-block: 1px solid var(--ligne); }
.section--serree { padding-block: clamp(20px, 3vw, 40px); }
.tete { max-width: 760px; margin-bottom: clamp(22px, 3vw, 34px); }
.tete h2, .espace h2 { color: var(--titre); font: 700 clamp(1.6rem, 1.15rem + 1.4vw, 2.25rem)/1.15 var(--police); letter-spacing: -.025em; text-wrap: balance; }
/* Fin de titre en couleur (demande de Hugo, 26/11) : la seconde ligne prend l'or brun de la palette, en dégradé */
h2 .t-fin { display: block; background: var(--fin-titre); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.affiche h2 .t-fin { background: var(--accent-clair); -webkit-background-clip: text; background-clip: text; }
/* Du relief : titres plus gras et plus serrés, un trait d'or au-dessus, une ombre douce sous la partie dorée */
.tete h2, .espace h2 { font-weight: 800; letter-spacing: -.032em; }
.tete h2::before, .espace 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); }
h2 .t-fin { filter: drop-shadow(0 8px 14px rgba(151, 117, 52, .22)); }
.affiche h2 .t-fin { filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .45)); }
.tete__texte { margin-top: 8px; max-width: 62ch; color: var(--texte); font-size: 1rem; }
.tete--ligne { display: flex; flex-direction: column; gap: 16px; max-width: none; }
.tete__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.etat { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 20px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--ligne); color: var(--texte); }

/* ================================================================ 4. Métiers : mosaïque de photos, tailles variées (zones nommées, une disposition par largeur) */
.metiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 116px; gap: 10px; margin: 0; padding: 0; list-style: none;
  grid-template-areas: "lieux lieux" "lieux lieux" "trait photo" "trait video" "dj anim" "deco anim" "fleur loca" "fleur orga"; }
.metiers > li { min-width: 0; }
.m-lieux { grid-area: lieux; } .m-trait { grid-area: trait; } .m-photo { grid-area: photo; } .m-video { grid-area: video; } .m-dj { grid-area: dj; }
.m-anim { grid-area: anim; } .m-deco { grid-area: deco; } .m-fleur { grid-area: fleur; } .m-loca { grid-area: loca; } .m-orga { grid-area: orga; }
.metier { position: relative; isolation: isolate; display: block; height: 100%; overflow: hidden; border-radius: var(--rayon-photo); background: var(--nuit-2); color: #fff; text-decoration: none; }
.metier img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--courbe); }
/* Recadrages : garder le sujet quand la case n'a pas la forme de la photo */
.m-video img { object-position: 50% 74%; }
.m-dj img { object-position: 50% 46%; }
.m-orga img { object-position: 50% 32%; }
.m-loca img { object-position: 50% 68%; }
.m-fleur img { object-position: 50% 30%; }
.metier__voile { position: absolute; inset: 0; z-index: -1; --h-texte: 64px; }
.m-lieux .metier__voile { --h-texte: 78px; }
.metier__picto { position: absolute; left: 10px; top: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(8, 15, 38, .58); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); transition: background .25s, color .25s; }
.metier__picto .icone { width: 18px; height: 18px; }
.metier__texte { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; flex-direction: column; min-width: 0; }
.metier__nom { font: 700 .98rem/1.2 var(--police); letter-spacing: -.01em; }
.metier__detail { display: none; color: rgba(255, 255, 255, .9); font-size: .86rem; line-height: 1.35; }
.metier:hover { color: #fff; }
.metier:hover img { transform: scale(1.05); }
.metier:hover .metier__picto { background: var(--accent); color: var(--accent-texte); box-shadow: inset 0 0 0 1px var(--accent-bord); }
.m-lieux .metier__nom { font-size: 1.3rem; }
.m-lieux .metier__detail { display: block; }

/* ================================================================ 5. Vitrines : photos pleines en colonnes de hauteurs inégales, le texte posé dessus */
.repli { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: -6px 0 22px; padding: 14px 16px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--ligne-forte); color: var(--encre); }
.repli > .icone { color: var(--accent-lien); }
.repli p { flex: 1 1 260px; }
.statut { margin: -8px 0 18px; color: var(--texte); font-size: .9rem; }
.statut:empty { display: none; }
.epingles { columns: 2; column-gap: 10px; margin: 0; padding: 0; list-style: none; }
.epingles > li { break-inside: avoid; margin-bottom: 10px; }
.epingles > li:nth-child(n+9) { display: none; } /* téléphone : huit cartes, le reste est dans l'annuaire */
.epingle { position: relative; isolation: isolate; display: block; overflow: hidden; border-radius: var(--rayon-photo); background: var(--nuit-2); color: #fff; text-decoration: none; }
/* Photo venue d'une vitrine (« Autour de moi ») : hauteur bornée, pour qu'une carte ne soit ni un trait ni une colonne entière */
.epingle img { width: 100%; height: auto; min-height: 112px; max-height: 560px; object-fit: cover; transition: transform 1s var(--courbe); }
.epingle__voile { position: absolute; inset: 0; --h-texte: 72px; }
.epingle__metier { position: absolute; left: 9px; top: 9px; max-width: calc(100% - 18px); overflow: hidden; padding: 3px 10px; border-radius: 999px; background: rgba(8, 15, 38, .66); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); font-size: .7rem; font-weight: 600; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.epingle__corps { position: absolute; left: 11px; right: 11px; bottom: 9px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
/* Le nom tient sur deux lignes au plus ; la note et le lieu passent l'un sous l'autre quand la carte est étroite */
.epingle__nom { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 700 .94rem/1.25 var(--police); letter-spacing: -.01em; }
.epingle__ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 0 9px; min-width: 0; color: rgba(255, 255, 255, .94); font-size: .78rem; line-height: 1.4; }
.epingle__note { display: inline-flex; align-items: center; gap: 4px; flex: none; color: #fff; font-weight: 650; }
.epingle__note .icone { width: 13px; height: 13px; fill: var(--etoile); stroke: var(--etoile); }
.epingle__note small { color: rgba(255, 255, 255, .88); font-size: 1em; font-weight: 400; }
.epingle__lieu { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.epingle__lieu .icone { width: 13px; height: 13px; }
.epingle__lieu span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.epingle:hover { color: #fff; }
.epingle:hover img { transform: scale(1.04); }

/* ================================================================ 6. Organisez tout au même endroit : bande teintée (dégradé, reflet), gardée telle quelle */
.bande { position: relative; overflow: hidden; padding: 28px 20px; border-radius: 16px; background: var(--bande); border: 1px solid var(--bande-bord); }
.espace { display: grid; gap: 24px; }
.espace__texte { display: flex; flex-direction: column; align-items: flex-start; }
.espace__texte .tete__texte { margin-bottom: 20px; }
.outils { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.outils li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: var(--rayon); background: rgba(255, 255, 255, .9); box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.outils__picto { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-teinte); color: var(--accent-lien); }
.outils__picto .icone { width: 20px; height: 20px; }
.outils h3 { margin: 2px 0 2px; color: var(--titre); font: 600 1rem/1.3 var(--police); }
.outils p { color: var(--texte); font-size: .92rem; }

/* ================================================================ 7. Inspirations : mosaïque de photos */
.mosaique { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; grid-auto-flow: row dense; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mosaique > li { min-width: 0; }
.mosaique > li:first-child { grid-column: span 2; grid-row: span 2; }
.mosaique > li:nth-child(n+6) { display: none; }
.photo { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--rayon-photo); background: var(--nuit-2); color: #fff; text-decoration: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--courbe); }
.photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; --h-texte: 52px; }
.photo:hover { color: #fff; }
.photo:hover img { transform: scale(1.04); }
.photo__legende { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; display: flex; flex-direction: column; min-width: 0; font-size: .78rem; line-height: 1.3; }
.photo__legende b { overflow: hidden; font-size: .88rem; font-weight: 650; white-space: nowrap; text-overflow: ellipsis; }
.photo__legende span { overflow: hidden; color: rgba(255, 255, 255, .92); white-space: nowrap; text-overflow: ellipsis; }

/* ================================================================ 8. Magazine : un grand article, puis une liste à filets (pas des cartes) */
.magazine { display: grid; gap: 26px; }
.une, .article { position: relative; }
.une { display: flex; flex-direction: column; gap: 16px; }
.une__image, .article__image { overflow: hidden; background: var(--ligne); }
.une__image { aspect-ratio: 16 / 9; border-radius: 16px; }
.une__image img, .article__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--courbe); }
.une:hover img, .article:hover img { transform: scale(1.04); }
.une__corps { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.rubrique { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-lien); font-size: .78rem; font-weight: 650; line-height: 1.4; }
.rubrique::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.une h3 { color: var(--titre); font: 700 clamp(1.3rem, 1rem + 1.2vw, 1.85rem)/1.18 var(--police); letter-spacing: -.022em; text-wrap: balance; }
.une h3 a, .article h3 a { color: var(--titre); text-decoration: none; }
/* Toute la carte est le lien de son titre */
.une h3 a::after, .article h3 a::after { content: ""; position: absolute; inset: 0; }
.une:hover h3 a, .article:hover h3 a { color: var(--titre); text-decoration: underline; text-decoration-color: var(--accent-bord); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.une__chapo { max-width: 62ch; color: var(--texte); font-size: .98rem; }
.date { color: var(--gris); font-size: .84rem; }
.articles { display: grid; margin: 0; padding: 0; list-style: none; }
.articles > li { border-top: 1px solid var(--ligne-forte); }
.article { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 0; }
.article__image { aspect-ratio: 4 / 3; border-radius: 10px; }
.article__corps { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.article h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--titre); font: 650 .98rem/1.32 var(--police); letter-spacing: -.008em; }

/* ================================================================ 9. Événements : deux affiches sur une bande nuit (dégradé et lueurs, pas d'aplat) */
.affiche { position: relative; color: #fff;
  background: radial-gradient(46% 74% at 88% 0%, var(--lueur-1), rgba(0, 0, 0, 0) 70%), radial-gradient(52% 80% at 4% 100%, var(--lueur-2), rgba(0, 0, 0, 0) 72%), linear-gradient(158deg, #0B1530 0%, #17265A 54%, #0C1634 100%); }
.affiche .tete h2 { color: #fff; }
.affiche .tete__texte { color: rgba(255, 255, 255, .88); }
.affiche .etat { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.affiches { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.affiches > li { min-width: 0; }
.billet { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .05) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 36px 60px -36px rgba(0, 0, 0, .8); transition: box-shadow .3s, transform .3s var(--courbe); }
.billet:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 40px 64px -36px rgba(0, 0, 0, .9); }
.billet__image { aspect-ratio: 1.95 / 1; overflow: hidden; background: #fff; }
.billet__image img { width: 100%; height: 100%; object-fit: cover; }
.billet__corps { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "date texte" "action action"; gap: 16px 16px; flex: 1; padding: 18px 16px 16px; }
.billet__date { grid-area: date; padding-right: 16px; border-right: 1px dashed rgba(255, 255, 255, .34); }
.billet__date time { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 72px; height: 100%; text-align: center; }
.billet__date b { padding: 0 .04em; background: var(--accent-clair); -webkit-background-clip: text; background-clip: text; color: transparent; font: 800 3.1rem/1.02 var(--police); letter-spacing: -.045em; }
.billet__date span { color: rgba(255, 255, 255, .9); font-size: .8rem; font-weight: 600; line-height: 1.4; }
.billet__texte { grid-area: texte; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.billet h3 { font: 700 1.24rem/1.2 var(--police); letter-spacing: -.018em; text-wrap: balance; }
.billet h3 a { color: #fff; text-decoration: none; }
.billet h3 a::after { content: ""; position: absolute; inset: 0; }
.billet__ligne { display: flex; align-items: flex-start; gap: 8px; min-width: 0; color: rgba(255, 255, 255, .9); font-size: .9rem; line-height: 1.45; }
.billet__ligne .icone { width: 15px; height: 15px; margin-top: 3px; color: var(--accent-clair-uni); }
.billet__ligne span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.billet__action { grid-area: action; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }
.billet__prix { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 1.12rem; font-weight: 700; }
.billet__prix .icone { width: 19px; height: 19px; color: var(--accent-clair-uni); }
.billet__action .bouton { position: relative; z-index: 1; min-height: 46px; padding: 0 26px; }

/* ================================================================ 10. Pied de page (clair) : les départements, puis les colonnes */
.pied { padding-block: clamp(44px, 5.5vw, 68px) 24px; background: linear-gradient(180deg, var(--fond-2) 0%, #E9E4D6 100%); border-top: 1px solid var(--ligne); color: var(--texte); font-size: .92rem; }
.pied h2 { margin-bottom: 8px; color: var(--titre); font: 650 .9rem/1.3 var(--police); }
.pied ul { margin: 0; padding: 0; list-style: none; }
.pied li a { display: inline-flex; align-items: center; min-height: 34px; color: var(--texte); text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
.pied li a:hover { color: var(--titre); }

.departements { margin-bottom: 36px; }
.pied .departements__titre { margin-bottom: 4px; font: 700 1.22rem/1.25 var(--police); letter-spacing: -.018em; }
.departements__texte { max-width: 62ch; margin-bottom: 16px; }
/* Téléphone : un volet par région, fermé par le script ; sans script, tout reste ouvert */
.volet { border-top: 1px solid var(--ligne-forte); }
.volet summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; cursor: pointer; list-style: none; }
.volet summary::-webkit-details-marker { display: none; }
.volet summary h3 { color: var(--titre); font: 650 .95rem/1.3 var(--police); }
.volet summary .icone--chevron { width: 18px; height: 18px; color: var(--gris); }
.volet[open] > summary .icone--chevron { transform: rotate(180deg); }
.volet ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding-bottom: 12px; }
.volet li a span { margin-left: 7px; color: var(--gris); font-size: .76rem; font-variant-numeric: tabular-nums; }
.volet--metiers { border-bottom: 1px solid var(--ligne-forte); }
.par-metier { display: grid; gap: 10px; margin: 0; padding-bottom: 14px; }
.par-metier dt { color: var(--titre); font-size: .88rem; font-weight: 600; }
.par-metier dd { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; }
.par-metier a { display: inline-flex; align-items: center; min-height: 34px; color: var(--texte); text-decoration: none; transition: color .2s; }
.par-metier a:hover { color: var(--titre); }

.pied__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.pied__marque { grid-column: 1 / -1; }
.pied__marque .logo { width: 140px; height: auto; margin-bottom: 12px; }
.pied__marque p { max-width: 32ch; }
/* Réseaux sociaux (demande de Hugo, 26/11) : pastilles rondes au contour fin, dorées au survol */
.pied .pied__reseaux { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pied .pied__reseaux a { display: inline-grid; place-items: center; width: 44px; height: 44px; min-height: 0; border-radius: 50%; background: rgba(255, 255, 255, .6); color: var(--titre);
  box-shadow: inset 0 0 0 1px var(--ligne-forte); transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--courbe); }
.pied .pied__reseaux a:hover, .pied .pied__reseaux a:focus-visible { background: var(--accent); color: var(--accent-texte); box-shadow: inset 0 0 0 1px var(--accent-bord), 0 10px 18px -12px var(--bouton-lueur); transform: translateY(-2px); }
.pied .pied__reseaux .icone { width: 20px; height: 20px; }
/* à l'ordinateur la colonne de la marque est étroite : six pastilles un peu plus petites, sur une seule ligne */
@media (min-width: 720px) { .pied .pied__reseaux { flex-wrap: nowrap; gap: 6px; } .pied .pied__reseaux a { width: 40px; height: 40px; } .pied .pied__reseaux .icone { width: 19px; height: 19px; } }
@media (prefers-reduced-motion: reduce) { .pied .pied__reseaux a:hover, .pied .pied__reseaux a:focus-visible { transform: none; } }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--ligne-forte); font-size: .84rem; }
.pied__bas nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.pied__bas a { display: inline-flex; align-items: center; min-height: 32px; color: var(--texte); text-decoration: none; }
.pied__bas a:hover { color: var(--titre); }

/* ================================================================ Téléphone */
@media (max-width: 719px) {
  .utile--accueil { display: none; }
  .tete__actions .bouton, .tete__actions .puce { min-height: 44px; font-size: .92rem; }
  .tete__actions .bouton { padding: 0 16px; }
}

/* ================================================================ Tablette */
@media (min-width: 720px) {
  .utile__droite { display: flex; }
  .entete__connexion { display: none; }
  .entete__barre > .entete__burger { margin-left: auto; }
  .entete__logo .logo { width: 164px; }

  .haut { padding-bottom: 14px; }
  /* Photo recadrée par la droite : la voiture garée au bord gauche sort du cadre, les guirlandes et les tables restent */
  .haut__fond img { object-position: 100% 62%; transform: scale(1.26); transform-origin: 100% 62%; }
  .porte__voile { --h-texte: 58px; }
  .metier__voile, .m-lieux .metier__voile { --h-texte: 90px; }
  .epingle__voile { --h-texte: 64px; }
  .haut__titre { font-size: clamp(2.8rem, 1.5rem + 3vw, 4.1rem); line-height: 1.04; }
  .recherche { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) auto; align-items: center; margin-top: 30px; padding: 8px; border-radius: 22px; }
  .recherche__champ { min-height: 60px; padding: 8px 12px 8px 18px; border-radius: 16px; }
  .recherche__champ--ou::before { left: 0; right: auto; top: 12px; bottom: 12px; width: 1px; height: auto; }
  .recherche__bouton { min-height: 60px; margin: 0 0 0 8px; padding: 0 34px; border-radius: 16px; font-size: 1.08rem; }
  .portes { margin-top: 38px; }
  .portes ul { gap: 14px; }
  .porte { aspect-ratio: 2.05 / 1; border-radius: 16px; }
  .porte__corps { left: 16px; right: 60px; bottom: 13px; gap: 1px; }
  .porte__nom { font-size: 1.06rem; text-wrap: wrap; }
  .porte__metiers { display: block; overflow: hidden; color: rgba(255, 255, 255, .92); font-size: .84rem; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
  .porte__fleche { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(8, 15, 38, .5); color: #fff;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); transition: background .25s, color .25s, transform .3s var(--courbe); }
  .porte__fleche .icone { width: 17px; height: 17px; }
  .porte:hover .porte__fleche { background: var(--accent); color: var(--accent-texte); box-shadow: inset 0 0 0 1px var(--accent-bord); transform: translateX(3px); }

  .metiers { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 168px; gap: 12px;
    grid-template-areas: "lieux lieux trait trait" "lieux lieux photo video" "dj deco deco fleur" "dj anim anim fleur" "loca loca orga orga"; }
  .metier__picto { left: 14px; top: 14px; width: 40px; height: 40px; }
  .metier__picto .icone { width: 20px; height: 20px; }
  .metier__texte { left: 16px; right: 16px; bottom: 13px; }
  .metier__nom { font-size: 1.08rem; }
  .m-lieux .metier__nom { font-size: 1.6rem; letter-spacing: -.02em; }
  .m-trait .metier__detail, .m-deco .metier__detail, .m-anim .metier__detail, .m-loca .metier__detail, .m-orga .metier__detail { display: block; }

  .epingles { columns: 3; column-gap: 14px; }
  .epingles > li { margin-bottom: 14px; }
  .epingles > li:nth-child(n+9) { display: block; }
  .epingle { border-radius: 16px; }
  .epingle__metier { left: 12px; top: 12px; max-width: calc(100% - 24px); font-size: .74rem; }
  .epingle__corps { left: 14px; right: 14px; bottom: 12px; gap: 3px; }
  .epingle__nom { font-size: 1.04rem; }
  .epingle__ligne { font-size: .84rem; }
  .epingle__note .icone, .epingle__lieu .icone { width: 14px; height: 14px; }

  .bande { padding: 36px 32px; }
  .outils { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .mosaique { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 15vw, 200px); gap: 12px; }
  .mosaique > li:nth-child(n+6) { display: block; }
  .mosaique > li:nth-child(3) { grid-row: span 2; }
  .mosaique > li:nth-child(5), .mosaique > li:nth-child(6) { grid-column: span 2; }

  .article { grid-template-columns: 132px minmax(0, 1fr); gap: 18px; }
  .billet__corps { padding: 22px; gap: 18px 22px; }
  .billet__date { padding-right: 22px; }
  .billet__date time { min-width: 86px; }
  .billet__date b { font-size: 3.6rem; }
  .billet h3 { font-size: 1.4rem; }

  /* Départements : tout est ouvert, en colonnes ; les volets ne se replient plus */
  .regions { columns: 3; column-gap: 40px; }
  .volet { border-top: 0; }
  .regions .volet { break-inside: avoid; margin-bottom: 18px; }
  .volet summary { min-height: 0; margin-bottom: 2px; cursor: default; pointer-events: none; }
  .volet summary .icone--chevron { display: none; }
  .volet ul { display: block; padding-bottom: 0; }
  .volet--metiers { margin-top: 6px; padding: 20px 0 6px; border-top: 1px solid var(--ligne-forte); }
  .volet--metiers summary { margin-bottom: 8px; }
  .par-metier { gap: 0; padding-bottom: 12px; }
  .par-metier > div { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: baseline; gap: 16px; }
}

/* ================================================================ Ordinateur */
@media (min-width: 900px) {
  .tete--ligne { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .tete--ligne > div:first-child { max-width: 700px; }
  .bande { padding: 48px 56px; }
  .espace { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(40px, 5vw, 80px); }
  .magazine { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: start; gap: clamp(32px, 4vw, 64px); }
  .articles > li:first-child { border-top: 0; }
  .articles > li:first-child .article { padding-top: 0; }
  .affiches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .billet__corps { grid-template-areas: "date texte" "date action"; }
  /* Un seul événement : il prend la largeur, l'affiche à gauche */
  .affiches > li:only-child { grid-column: 1 / -1; }
  .affiches > li:only-child .billet { flex-direction: row; }
  .affiches > li:only-child .billet__image { flex: 0 0 52%; aspect-ratio: auto; }
}

@media (min-width: 1024px) {
  .metiers { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 14vw, 196px); gap: 14px;
    grid-template-areas: "lieux lieux lieux photo photo video" "lieux lieux lieux dj orga video" "anim deco deco fleur trait trait" "anim loca loca fleur trait trait"; }
  .m-lieux .metier__nom, .m-trait .metier__nom { font-size: 1.7rem; letter-spacing: -.022em; }
  .m-lieux .metier__detail, .m-trait .metier__detail { font-size: .95rem; }
  .m-photo .metier__detail, .m-video .metier__detail, .m-fleur .metier__detail { display: block; }
  .m-orga .metier__detail { display: none; }
  .m-lieux .metier__picto, .m-trait .metier__picto { left: 18px; top: 18px; width: 46px; height: 46px; }
  .m-lieux .metier__picto .icone, .m-trait .metier__picto .icone { width: 22px; height: 22px; }
  .m-lieux .metier__texte, .m-trait .metier__texte { left: 20px; right: 20px; bottom: 16px; }
  .epingles { columns: 4; column-gap: 16px; }
  .epingles > li { margin-bottom: 16px; }
  .regions { columns: 4; }
  .pied__grille { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); }
  .pied__marque { grid-column: auto; }
}

@media (min-width: 1200px) {
  .nav-principale { display: flex; }
  .entete__barre > .entete__burger { display: none; }
  .entete__logo .logo { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* details-videos-2811:debut (posé par deux-sites-v3/poser-details-videos.py : ne pas écrire ici, mais dans deux-sites-v3/details-videos/) */
/* Conseils de design des vidéos du 28/11/2026 (deux-sites-v3/conseils-videos-2811.md), équipe « socle » : composants communs.
   À poser en un bloc à la FIN de site/css/deux-sites.css. Retouches de détail seulement : rien ne change de place ni de couleur. */

/* ================================================================ D7 : plusieurs petites ombres plutôt qu'une grosse
   (une de contact, une moyenne, puis la grande d'origine un peu allégée ; même teinte marine ; liserés « inset » inchangés) */
.bouton--plein { box-shadow: inset 0 0 0 1px var(--accent-bord), inset 0 1px 0 rgba(255, 255, 255, .3),
  0 1px 2px rgba(15, 30, 64, .14), 0 3px 8px -4px rgba(15, 30, 64, .18), 0 8px 18px -12px rgba(15, 30, 64, .45); }
.recherche__bouton { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12),
  0 1px 2px rgba(15, 30, 64, .2), 0 5px 12px -6px rgba(15, 30, 64, .3), 0 14px 26px -14px rgba(15, 30, 64, .7); }
.recherche__bouton:hover, .recherche__bouton:focus-visible { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16),
  0 1px 2px rgba(15, 30, 64, .22), 0 6px 14px -6px rgba(15, 30, 64, .34), 0 16px 30px -14px rgba(15, 30, 64, .75), 0 0 0 4px rgba(201, 162, 75, .22); }

/* D18 : dans les tuiles de métier, le détail était collé au nom (écart 0) : un petit écart, de l'ordre d'un sixième de sa ligne */
.metier__detail { margin-top: 3px; }

@media (prefers-reduced-motion: no-preference) {
  /* ============================================================== A4 : un bouton se réduit à 0,97 quand on appuie.
     Propriété « scale » à part, pour ne pas se battre avec les « transform » du survol ; chaque liste de transitions est
     redéclarée en entier (elle ne s'additionne pas d'une règle à l'autre). */
  .bouton { transition: background .2s, box-shadow .2s, color .2s, scale .12s var(--courbe); }
  .puce { transition: box-shadow .2s, scale .12s var(--courbe); }
  .recherche__bouton { transition: box-shadow .25s, filter .2s, scale .12s var(--courbe); }
  .utile__lien { transition: color .2s, scale .12s var(--courbe); }
  .entete__icone { transition: background-color .2s, scale .12s var(--courbe); }
  .tiroir__langues a, .evitement { transition: scale .12s var(--courbe); }
  .pied .pied__reseaux a { transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--courbe), scale .12s var(--courbe); }
  .bouton:not(:disabled):active, .puce:active, .recherche__bouton:active, button.utile__lien:active, .entete__icone:active,
  .tiroir__langues a:active, .pied .pied__reseaux a:active, .evitement:active { scale: .97; }

  /* ============================================================== A2, A9 à A11, A13 : le menu de langue sort de son bouton
     (coin haut droit), à partir de l'échelle 0,96, en 190 ms qui ralentissent à l'arrivée ; il y repart en 150 ms (20 % de moins).
     Il est ouvert et fermé par l'attribut hidden (site/js/commun.js) : display passe en transition discrète. */
  .panneau { transform-origin: top right; transition: opacity .15s var(--courbe), scale .15s var(--courbe), display .15s allow-discrete; }
  .panneau[hidden] { opacity: 0; scale: .96; }
  .panneau:not([hidden]) { transition-duration: .19s; }
  @starting-style { .panneau:not([hidden]) { opacity: 0; scale: .96; } }

  /* Le menu du téléphone : il apparaissait d'un coup. Entrée en 220 ms (fondu et 6 px de descente), sortie en 180 ms ;
     pendant la sortie il ne retient plus les clics. La page derrière reste bloquée par commun.js (overflow sur html). */
  .tiroir { transition: opacity .18s var(--courbe), translate .18s var(--courbe), display .18s allow-discrete; }
  .tiroir[hidden] { opacity: 0; translate: 0 -6px; pointer-events: none; }
  .tiroir:not([hidden]) { transition-duration: .22s; }
  @starting-style { .tiroir:not([hidden]) { opacity: 0; translate: 0 -6px; } }

  /* A16 : la croix du menu prend la place de l'icône « menu », au même endroit : fondu, un peu d'échelle et de flou
     dans les deux sens (entrée 200 ms, sortie 160 ms) */
  .entete__burger .icone, .tiroir [data-fermer-tiroir] .icone { transition: opacity .2s var(--courbe), scale .2s var(--courbe), filter .2s var(--courbe); }
  .entete__burger[aria-expanded="true"] .icone, .tiroir[hidden] [data-fermer-tiroir] .icone { opacity: 0; scale: .7; filter: blur(3px); transition-duration: .16s; }
  @starting-style { .tiroir:not([hidden]) [data-fermer-tiroir] .icone { opacity: 0; scale: .7; filter: blur(3px); } }

  /* A9 à A13 : la liste des rayons part de l'échelle 0,96 depuis le haut (le côté du champ) au lieu de glisser de 6 px ;
     entrée 200 ms, sortie 160 ms (elle avait la même durée dans les deux sens) */
  @supports (appearance: base-select) {
    .recherche__rayon select::picker(select) { transform-origin: top left; transform: scale(.96);
      transition: opacity .16s var(--courbe), transform .16s var(--courbe), overlay .16s allow-discrete, display .16s allow-discrete; }
    .recherche__rayon select::picker(select):popover-open { transform: none; transition-duration: .2s; }
    @starting-style { .recherche__rayon select::picker(select):popover-open { opacity: 0; transform: scale(.96); } }
  }
}
@media (min-width: 720px) and (prefers-reduced-motion: no-preference) {
  /* A4 : la pastille « Se connecter » du menu collé a sa propre liste de transitions */
  .avec-script .entete--collee .entete__connexion { transition: background .2s, color .2s, box-shadow .2s, scale .12s var(--courbe); }
}
/* details-videos-2811:fin */

/* details-emil-3011:debut (posé par deux-sites-v3/poser-details-emil.py : ne pas écrire ici, mais dans deux-sites-v3/details-emil-3011/) */
/* Détails de mouvement tirés des skills d'Emil Kowalski (emilkowalski/skills, installés le 30/11/2026) : audit des deux sites par
   improve-animations, pose par animate et choreograph. Équipe « socle » : composants communs aux deux sites.
   À poser en un bloc à la FIN de site/css/deux-sites.css (deux-sites-v3/poser-details-emil.py). Rien ne change de place ni de couleur.
   La passe du 28/11 (conseils-videos-2811.md, bloc details-videos-2811) reste en place : ce bloc ne redit aucune de ses règles,
   l'ordre des deux blocs dans le fichier est donc indifférent. */

/* ================================================================ E1 : une question s'ouvre et se referme en hauteur
   Avant : la réponse surgissait et disparaissait d'un coup, et la page sautait de toute sa hauteur (deux questions à la fois quand
   elles portent le même « name » : l'une se ferme, l'autre s'ouvre).
   Hauteur et opacité ensemble, 200 ms à l'ouverture, 160 ms à la fermeture (une sortie 20 % plus courte, comme .org-question).
   C'est l'une des rares animations qui coûtent une mise en page à chaque image : elle reste courte.
   Seulement dans les navigateurs qui savent animer vers « auto » (interpolate-size) ; ailleurs rien ne change.
   Rien pour qui demande moins d'animations. */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    .question, .org-question, .pro-question { interpolate-size: allow-keywords; }
    /* overflow-clip-margin : l'anneau de focus d'un lien de la réponse n'est pas rogné sur les bords */
    .question::details-content, .org-question::details-content, .pro-question::details-content {
      height: 0; overflow: clip; overflow-clip-margin: 6px; opacity: 0;
      transition: height .16s var(--courbe), opacity .16s var(--courbe), content-visibility .16s allow-discrete; }
    .question[open]::details-content, .org-question[open]::details-content, .pro-question[open]::details-content {
      height: auto; opacity: 1; transition-duration: .2s; }
    /* Une seule entrée par conteneur : là où la réponse avait son propre fondu (site/css/pages-evenement.css, A2 du 28/11),
       la hauteur le remplace. Sans interpolate-size ce fondu reste, comme avant. */
    details.question[open] .question__reponse { animation: none; }
    /* Le chevron tourne dans le même temps que la réponse : un seul objet, une seule famille de durées (il était à 300 ms) */
    .question > summary .question__signe, .pro-question > summary .pro-question__signe { transition-duration: .16s; }
    .question[open] > summary .question__signe, .pro-question[open] > summary .pro-question__signe { transition-duration: .2s; }
  }
}

/* ================================================================ E2 : l'entrée en scène de l'accueil, par rôles
   La même montée que « monter », mais la distance se règle par élément (--monte) : ce qui mène monte le plus, ce qui suit monte
   moins, un décor ne fait qu'apparaître (--monte: 0px). Sans réglage, la valeur par défaut redonne exactement l'entrée d'avant.

   Avant (jusqu'au 30/11) : tout montait de 10 px en 700 ms ; départs : titre 0, sous-titre 40, recherche 60, titre des trois
   événements 120, puis les trois événements à 160 / 210 / 260 ms (écarts égaux de 50 ms : un métronome), fin à 960 ms.
   Après : une seule vague, du haut vers le bas, qui se resserre en arrivant ; fin à 790 ms.

     élément                    rôle     départ   durée    montée
     titre                      mène       0 ms   700 ms   16 px
     sous-titre                 suit      40 ms   700 ms   10 px   (un seul temps avec le titre)
     recherche                  suit      80 ms   600 ms    8 px
     « Vous préparez… »         décor    120 ms   550 ms    4 px   (presque un simple fondu)
     les trois événements       suivent  170 / 210 / 240 ms, 550 ms, 6 px   (écarts de 40 puis 30 ms)

   Rien n'attend la fin pour être cliquable : la recherche est sous le doigt dès qu'elle paraît.
   Pour revenir à l'entrée d'avant : retirer les règles sous « la distribution » (les valeurs par défaut reprennent). */
@keyframes monter-role { from { opacity: 0; transform: translateY(var(--monte, 10px)); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .haut__titre, .haut__sous-titre, .recherche, .portes li { animation-name: monter-role; }

  /* la distribution */
  .haut__titre { --monte: 16px; }
  .recherche { --monte: 8px; animation-delay: .08s; animation-duration: .6s; }
  /* .haut : passe devant la règle de site/css/travail/bloc-encarts-vitrines.css, chargée après cette feuille */
  .haut .portes__titre { --monte: 4px; animation-name: monter-role; animation-duration: .55s; }
  .portes li { --monte: 6px; animation-duration: .55s; }
  .portes li:nth-child(1) { animation-delay: .17s; }
  .portes li:nth-child(2) { animation-delay: .21s; }
  .portes li:nth-child(3) { animation-delay: .24s; }
}
/* details-emil-3011:fin */
