/* Les Rendez-vous, côté visiteur : l'accueil, le plan d'une édition (« Dans
   l'allée ») et la page d'un stand. Dessins du thème sous assets/rdv/.
   Maquette : https://claude.ai/artifact/83Mm9jiGoSKLvNfTDPvfCR */

[hidden] { display: none !important; }

/* ---- En-tête d'une édition --------------------------------------------- */
.rdvHero { display: flex; gap: 40px; align-items: flex-start; margin: 8px 0 24px; flex-wrap: wrap; }
.rdvHeroTexte { flex: 1 1 520px; min-width: 0; }
.rdvKicker { margin: 0 0 8px; font: 700 13px/1.2 var(--font-cote); letter-spacing: 2px; text-transform: uppercase; color: var(--mauve-500); }
.rdvTitre { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.25rem); line-height: 1; color: var(--brand); }
.rdvLead { margin: 14px 0 0; font-size: 1.125rem; line-height: 1.5; color: var(--ink-700); max-width: 640px; }
/* L'introduction de l'accueil : deux lignes (Simon, 2026-11-04), le saut est dans le texte. */
.rdvHero .rdvLead { max-width: none; }
.rdvIntro { margin-top: 12px; }
/* Avant l'ouverture : la date et le compte à rebours, sous le titre (variante C, Simon 2026-11-09).
   Maquette : https://claude.ai/artifact/7ur3JDsF8dkpcEYR2WwJiW */
.rdvCompte { display: inline-block; margin: 14px 0 0; padding: 7px 14px; border-radius: var(--r-full); background: var(--paper); border: 1px solid var(--border); font: 600 13px/1.2 var(--font-sans); color: var(--brand); }
/* L'encart : des cartes empilées, une par public (visiteurs, exposants). */
.rdvCartes { flex: 0 1 370px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rdvCarte { background: var(--paper); border: 1px solid var(--border); border-radius: 6px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; box-shadow: 0 10px 28px rgba(35, 26, 32, .10); }
.rdvCarte p { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--ink-700); }
.rdvCarte--exposant { background: var(--brand); border-color: var(--brand); box-shadow: none; }
.rdvCarte--exposant p { color: var(--paper); }
.rdvCarte--exposant .rdvCarteKicker { font: 700 11px/1.2 var(--font-cote); letter-spacing: 2px; text-transform: uppercase; color: var(--beige-100); }
.rdvCarteBouton { background: var(--paper); color: var(--brand); }
.rdvCarteBouton:hover, .rdvCarteBouton:focus-visible { background: #fff; color: var(--brand); }
.rdvCartesLien { align-self: flex-start; padding: 0 4px; font-weight: 600; }
@media (max-width: 900px) { .rdvCartes { flex-basis: 100%; } }
.rdvInfoStatut { font: 700 .85rem/1.3 var(--font-sans) !important; color: var(--ink-700); }
.rdvInfoStatut--ouvert { color: #1f4d3a !important; }
.rdvAvantGout { margin: 0 0 16px; padding: 12px 16px; background: var(--paper); border-left: 4px solid #9b2b2b; border-radius: var(--r-2); font-size: .95rem; color: var(--ink-700); }
.rdvVide { padding: 28px; background: var(--paper); border: 1px dashed var(--beige-400); border-radius: var(--r-3); text-align: center; color: var(--ink-700); }

/* ---- Le plan : une allée à la fois ------------------------------------- */
.rdvPlan { background: #d9c6a0; border: 1px solid var(--border); border-radius: var(--r-3); overflow: hidden; }
.rdvOnglets { display: flex; gap: 8px; padding: 18px 24px; flex-wrap: wrap; }
.rdvOnglets button { min-height: 44px; padding: 0 18px; border-radius: var(--r-full); cursor: pointer; font: 600 14px/1 var(--font-sans); border: 1.5px solid var(--allee); background: var(--paper); color: var(--allee); }
.rdvOnglets button[aria-selected="true"] { background: var(--allee); color: var(--paper); }
.rdvOnglets button:focus-visible { outline: 3px solid var(--ink-900); outline-offset: 2px; }
.rdvScene { position: relative; padding-bottom: 28px; }
.rdvFanions { position: relative; height: 22px; border-top: 1px solid var(--beige-500); display: flex; justify-content: space-between; padding: 0 12px; overflow: hidden; }
.rdvFanions span { flex: none; width: 22px; height: 20px; clip-path: polygon(0 0, 100% 0, 50% 100%); background: var(--fanion); }
.rdvAllee { position: relative; z-index: 1; }
/* Sans script, toutes les allées se suivent, chacune sous son nom ; avec le
   script, les onglets prennent le relais et le nom se cache. */
.rdvAlleeNom { margin: 18px 24px 0; font: 600 1.25rem/1.2 var(--font-display); color: var(--ink-900); border-bottom: 3px solid var(--allee); display: inline-block; padding-bottom: 4px; }
.rdvPlan.is-onglets .rdvAlleeNom { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rdvRangee { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 22px 70px 0; scrollbar-width: none; }
.rdvRangee::-webkit-scrollbar { display: none; }
/* Peu de stands : la rangée se centre ; beaucoup : elle défile depuis le premier (des marges automatiques, pas justify-content, qui couperait le début). */
.rdvRangee > :first-child { margin-left: auto; }
.rdvRangee > :last-child { margin-right: auto; }
.rdvRangee:focus { outline: none; }
.rdvSol { position: absolute; left: 0; right: 0; bottom: 0; height: 100px; background: repeating-linear-gradient(90deg, var(--beige-300) 0 60px, #b9a379 60px 120px); border-top: 2px solid var(--beige-500); }
.rdvFleche { position: absolute; top: 210px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--brand); background: var(--paper); color: var(--brand); font: 600 26px/1 var(--font-sans); cursor: pointer; }
.rdvFleche--prec { left: 16px; }
.rdvFleche--suiv { right: 16px; }
.rdvFleche:disabled { opacity: .35; cursor: default; }

/* Un chalet de l'allée : le dessin, ses trois chevalets garnis, l'enseigne. */
.rdvChalet { flex: 0 0 min(324px, 78vw); scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink-900); }
.rdvChaletDessin { position: relative; display: block; width: 100%; aspect-ratio: 540 / 450; }
.rdvChaletDessin > img { display: block; width: 100%; height: auto; }
.rdvVitrine { position: absolute; display: block; overflow: hidden; background: var(--paper); border: 1px solid var(--ink-900); box-shadow: 0 2px 0 rgba(35,26,32,.3); }
.rdvVitrine img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rdvVitrine--produit img { object-fit: contain; padding: 3px; background: var(--paper); }
.rdvVitrine--service { background: #2c4a6b; }
.rdvVitrineTitre { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 3px; text-align: center; font: 700 7px/1.2 var(--font-sans); color: var(--paper); background: var(--brand); overflow: hidden; }
.rdvVitrine--service .rdvVitrineTitre { background: #2c4a6b; }
.rdvVitrine--produit .rdvVitrineTitre { color: var(--ink-900); background: var(--paper); }
.rdvEnseigne { margin-top: 6px; background: var(--paper); border: 1.5px solid var(--ink-900); padding: 5px 14px; font: 600 1rem/1.15 var(--font-display); max-width: 260px; text-align: center; position: relative; z-index: 1; }
.rdvChalet:hover .rdvEnseigne, .rdvChalet:focus-visible .rdvEnseigne { background: var(--brand); color: var(--paper); }
.rdvChalet:focus-visible { outline: 3px solid var(--ink-900); outline-offset: 4px; }
.rdvPresence { margin-top: 10px; font: 500 13px/1.3 var(--font-sans); color: var(--ink-700); text-align: center; max-width: 100%; position: relative; z-index: 1; background: rgba(251,247,238,.85); padding: 3px 8px; border-radius: var(--r-2); }

@media (max-width: 640px) {
  .rdvRangee { padding: 18px 16px 0; gap: 16px; }
  .rdvFleche { display: none; }
  .rdvOnglets { flex-wrap: nowrap; overflow-x: auto; padding: 14px 16px; scrollbar-width: none; }
  .rdvOnglets button { flex: none; }
}

/* ---- L'accueil des rendez-vous ----------------------------------------- */
.rdvVedette { display: flex; gap: 32px; align-items: center; background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-3); padding: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.rdvVedetteDessin { flex: 0 1 360px; width: 100%; max-width: 360px; height: auto; }
.rdvVedetteTexte { flex: 1 1 320px; }
.rdvVedetteTexte h2 { margin: 0; font: 600 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--font-display); }
.rdvVedetteTexte h2 a { color: var(--brand); text-decoration: none; }
.rdvVedetteBoutons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.rdvPassees { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rdvPassees li { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.rdvAVenir { margin-bottom: 24px; }
.rdvAVenirInscr { font: 600 .85rem/1.3 var(--font-sans); color: #1f4d3a; }

/* ---- Un stand ouvert ---------------------------------------------------- */
.rdvToit { position: relative; margin-top: 18px; }
.rdvToit img { display: block; width: 100%; height: auto; }
.rdvToitEnseigne { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%) rotate(-1deg); background: var(--paper); border: 2px solid var(--ink-900); padding: 10px 26px; text-align: center; max-width: 86%; box-shadow: 0 3px 0 rgba(35,26,32,.2); }
.rdvToitEnseigne h1 { margin: 0; font: 600 clamp(1.15rem, 3.2vw, 2.1rem)/1.1 var(--font-display); color: var(--brand); }
.rdvToitEnseigne p { margin: 4px 0 0; font: 600 12px/1.2 var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--ink-500); }
.rdvAuvent { position: relative; z-index: 1; height: 46px; margin: -14px 6px -46px; background-repeat: repeat-x; background-size: auto 46px; }
.rdvInterieur { background: var(--paper); border-left: 18px solid #8a5a2b; border-right: 18px solid #8a5a2b; border-bottom: 20px solid #7a4a1f; box-shadow: inset 2px 0 0 var(--ink-900), inset -2px 0 0 var(--ink-900), 0 0 0 1.5px var(--ink-900); padding: 60px 30px 28px; display: flex; gap: 32px; flex-wrap: wrap; }
.rdvInterieurMain { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.rdvInterieurCote { flex: 1 1 300px; display: flex; flex-direction: column; gap: 18px; }
.rdvAccroche { margin: 0; font-size: 1.2rem; line-height: 1.5; font-style: italic; color: var(--ink-700); }

.rdvVideo { aspect-ratio: 16 / 9; background: var(--mauve-800); border-radius: var(--r-3); overflow: hidden; }
.rdvVideo iframe { display: block; width: 100%; height: 100%; border: 0; }
.rdvVideoBouton { width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: var(--mauve-800); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.rdvVideoRond { width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--paper); display: flex; align-items: center; justify-content: center; }
.rdvVideoBouton:hover .rdvVideoRond, .rdvVideoBouton:focus-visible .rdvVideoRond { background: var(--paper); color: var(--mauve-800); }
.rdvVideoLibelle { font: 600 15px/1 var(--font-sans); }
.rdvVideoNote { font: 400 12px/1 var(--font-sans); color: var(--mauve-300); }

.rdvEtalTete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rdvEtalTete h2 { margin: 0; font: 600 1.65rem/1.2 var(--font-display); color: var(--brand); }
.rdvEtalTete span { font: 500 13px/1.2 var(--font-sans); color: var(--ink-500); }
.rdvEtal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 18px; }
.rdvArticle { display: flex; flex-direction: column; gap: 8px; }
.rdvArticleImage { position: relative; display: block; aspect-ratio: 2 / 3; border: 1.5px solid var(--ink-900); border-radius: 2px 4px 4px 2px; box-shadow: 0 3px 0 rgba(35,26,32,.25); overflow: hidden; background: var(--paper); }
.rdvArticleImage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rdvArticleImage--livre { box-shadow: inset 6px 0 0 rgba(0,0,0,.18), 0 3px 0 rgba(35,26,32,.25); }
.rdvArticleImage--produit img, .rdvArticleImage--service img { object-fit: contain; padding: 10px; }
.rdvArticleAffiche { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 18px 14px; text-align: center; font: 600 1.05rem/1.2 var(--font-display); color: var(--paper); background: var(--brand); }
.rdvArticleImage--service .rdvArticleAffiche { background: #2c4a6b; }
.rdvArticleImage--produit .rdvArticleAffiche { background: var(--beige-400); }
.rdvArticleTitre { font: 600 15px/1.25 var(--font-text); }
.rdvArticlePrix { font: 500 14px/1.3 var(--font-sans); color: var(--ink-700); }
.rdvArticlePrixOrigine { display: block; font-size: 12px; color: var(--ink-500, #8d7d83); }
.rdvArticleBouton { min-height: 44px; justify-content: center; }

.rdvCadre { border: 1px solid var(--border); border-radius: var(--r-3); padding: 16px 18px; }
.rdvCadre h2 { margin: 0 0 8px; font: 600 1.2rem/1.2 var(--font-display); color: var(--brand); }
.rdvCadre p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--ink-700); }
.rdvCadre--prix { border: 2px solid #9b2b2b; display: flex; gap: 14px; align-items: center; }
.rdvCadre--prix h2 { color: #9b2b2b; font: 700 .9rem/1.3 var(--font-sans); }
.rdvTampon { flex: none; width: 54px; height: 54px; border-radius: 50%; border: 2px solid #9b2b2b; background: #f6e7e2; color: #9b2b2b; display: flex; align-items: center; justify-content: center; font: 700 11px/1 var(--font-cote); transform: rotate(-10deg); }
.rdvCreneaux { margin: 0; padding-left: 18px; font-size: .95rem; line-height: 1.5; color: var(--ink-700); }
.rdvLiens { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
.rdvLiens span { font: 600 12px/1 var(--font-sans); color: var(--ink-500); margin-right: 6px; }
.rdvPartage h2 { margin: 0 0 8px; font: 600 13px/1 var(--font-sans); color: var(--ink-500); }
.rdvPartageBoutons { display: flex; gap: 8px; flex-wrap: wrap; }
.rdvPartageBoutons a, .rdvPartageBoutons button { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--r-full); background: var(--paper); text-decoration: none; font: 600 13px/1 var(--font-sans); color: var(--brand); cursor: pointer; }
.rdvRetour { font: 600 14px/1.2 var(--font-sans); }
.rdvAgenda { margin-top: 12px; }

@media (max-width: 640px) {
  .rdvToitEnseigne { padding: 5px 12px; bottom: 6%; }
  .rdvToitEnseigne p { display: none; }
  .rdvAuvent { height: 28px; margin: -6px 2px -28px; background-size: auto 28px; }
  .rdvInterieur { border-left-width: 9px; border-right-width: 9px; border-bottom-width: 12px; padding: 40px 14px 20px; }
  .rdvEtal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
}

/* ---- La liseuse ---------------------------------------------------------- */
.rdvLiseuse { width: min(720px, calc(100vw - 24px)); max-height: min(860px, calc(100vh - 24px)); padding: 0; border: 0; border-radius: var(--r-3); background: var(--paper); box-shadow: 0 30px 60px rgba(0,0,0,.3); color: var(--ink-900); }
.rdvLiseuse[open] { display: flex; flex-direction: column; }
.rdvLiseuse::backdrop { background: rgba(35,26,32,.55); }
.rdvLiseuseTete { padding: 18px 26px; border-bottom: 1px solid var(--beige-100); display: flex; align-items: center; gap: 16px; }
.rdvLiseuseTete h2 { margin: 0; flex-grow: 1; font: 600 1.45rem/1.2 var(--font-display); color: var(--brand); }
.rdvLiseuseFermer { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--paper); cursor: pointer; font: 600 22px/1 var(--font-sans); color: var(--brand); }
.rdvLiseuseTexte { padding: 26px 56px; overflow-y: auto; font-size: 1.06rem; line-height: 1.75; }
.rdvLiseuseTexte p { margin: 0 0 14px; }
.rdvLiseusePied { padding: 16px 26px; border-top: 1px solid var(--beige-100); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rdvLiseusePied span { flex: 1 1 220px; font: 400 12px/1.4 var(--font-sans); color: var(--ink-500); }
@media (max-width: 640px) { .rdvLiseuseTexte { padding: 20px 18px; } }

/* ---- Le carnet de tampons ------------------------------------------------ */
.rdvCarnet { margin-top: 18px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-3); padding: 16px 22px; display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.rdvCarnetTitre { margin: 0; font: 600 1.25rem/1.2 var(--font-display); color: var(--brand); }
.rdvCarnetTampons { display: flex; gap: 10px; flex-wrap: wrap; }
.rdvCarnetTampons span { width: 44px; height: 44px; border-radius: 50%; border: 2px dashed var(--beige-400); transform: rotate(var(--r)); display: inline-flex; align-items: center; justify-content: center; font: 700 12px/1 var(--font-cote); color: var(--beige-400); }
.rdvCarnetTampons span.is-tamponne { border: 2px solid #9b2b2b; color: #9b2b2b; background: #f6e7e2; }
.rdvCarnetTampons span.is-tamponne::after { content: "OK"; }
.rdvCarnetTexte { flex: 1 1 260px; margin: 0; font-size: .95rem; line-height: 1.4; color: var(--ink-700); }
.rdvCarnetActions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font: 600 14px/1.2 var(--font-sans); }
.rdvStand .rdvCarnet { margin-top: 24px; }
.rdvTirageForm { padding: 20px 26px 26px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.rdvTirageForm p { margin: 0; line-height: 1.5; }
.rdvTirageMessage { font-weight: 600; color: var(--brand); }
.rdvTirageMessage:empty { display: none; }

/* ---- « Me prévenir à l'ouverture » --------------------------------------- */
.rdvPrevenir h2 { margin: 0; font: 600 1.35rem/1.15 var(--font-display); color: var(--brand); }
.rdvPrevenirChamp { margin-top: 2px; font: 600 12px/1.2 var(--font-sans); color: var(--ink-500); }
.rdvPrevenirCourriel { width: 100%; box-sizing: border-box; min-height: 44px; border: 1px solid var(--border); border-radius: var(--r-3); padding: 0 14px; font: 400 15px/1 var(--font-sans); background: #fff; color: var(--fg); }
.rdvPrevenirCourriel:focus { outline: 2px solid var(--mauve-500); outline-offset: 1px; }
.rdvPrevenir .checkLine { display: flex; gap: 10px; align-items: flex-start; font: 400 .9rem/1.4 var(--font-sans); color: var(--ink-700); cursor: pointer; }
.rdvPrevenir .checkLine input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.rdvPrevenir .btn { min-height: 44px; }
.rdvCarte .rdvPrevenirExpediteur { width: 100%; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--beige-200); font: 400 11.5px/1.45 var(--font-sans); color: var(--ink-500); }

/* Le stand « à l'entrée du plan » (boutique de l'équipe) : son enseigne porte la mention. */
.rdvCoupDeCoeur { margin-top: 6px; background: #9b2b2b; color: var(--paper); font: 700 11px/1 var(--font-sans); letter-spacing: .5px; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-full); position: relative; z-index: 1; }

/* ---------- Le tchat du stand (assets/rdv_tchat.js) ---------- */
.rdvTchatPresence { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 500 14px/1.4 var(--font-sans); color: var(--fg-2); }
.rdvTchatPoint { width: 10px; height: 10px; border-radius: 50%; background: var(--beige-400); flex: none; }
.rdvTchatPresence.is-present .rdvTchatPoint { background: #2f7d4f; box-shadow: 0 0 0 3px rgba(47, 125, 79, .18); }
.rdvTchatPresence.is-present { color: #24613d; }
.rdvTchatOuvrir { width: 100%; justify-content: center; }
.rdvTchatNonLu { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--paper); color: var(--brand); font-size: 12px; font-weight: 700; }
.rdvTchatNonLu[hidden] { display: none; }
.rdvTchatPanneau { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-soft); }
