/*
	LaoGong - NOUVEAU GABARIT DU SITE (19/11/2026, maquette « proposition 2 »)
	accueil : bandeaux verticaux des rubriques, plein écran sans défilement ; pages : bandeau de la rubrique + tranches (à venir)
	couleurs des rubriques : --c (foncée) et --l (claire) données par la page (Cerise : shared.settings)
*/
@font-face { font-family: 'LocalPoliceCompany-2'; font-style: normal; font-weight: 100; font-display: swap; src: url(fonts/papyrus.ttf) format('truetype'); }

:root { --ink: #2b2622; --paper: #faf7f1; --line: #ebe4d8; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body.tpl { background: var(--paper); color: var(--ink); font-family: Montserrat, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; }
:where(.tpl) a { color: inherit; }	/* sans poids : les liens blancs (tranches, boutons) restent blancs (19/11/2026) */
.tpl-cjk { font-family: 'Noto Serif TC', 'Songti TC', 'PMingLiU', serif; font-weight: 600; }
.tpl-title { font-family: 'LocalPoliceCompany-2', Georgia, serif; font-weight: 400; letter-spacing: -1px; }

/* ---------- accueil ---------- */
body.tpl-home { overflow: hidden; background: #1d1916; }
.tpl-bands { position: relative; display: flex; height: 100vh; height: 100dvh; min-height: 560px; overflow: hidden; }
.tpl-band { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff;
	background: linear-gradient(180deg, var(--c) 0%, #1d1916 100%); background-size: cover; background-position: center; transition: flex-grow .5s ease; box-shadow: inset 1px 0 0 rgba(255,255,255,.14); }
.tpl-band::before { content: ''; position: absolute; inset: 0; background-image: var(--img, none); background-size: cover; background-position: center; transition: transform .8s ease; }
.tpl-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,12,10,.86) 0%, rgba(15,12,10,.35) 45%, rgba(15,12,10,.1) 100%); }
.tpl-bands:hover .tpl-band, .tpl-bands:focus-within .tpl-band { flex-grow: 1; }
.tpl-bands .tpl-band:hover, .tpl-bands .tpl-band:focus-within { flex-grow: 2.3; }
.tpl-band:hover::before { transform: scale(1.04); }
.tpl-band-txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 0 28px 7vh; }
.tpl-band .tpl-cjk { font-size: 24px; opacity: .85; }
.tpl-band-name { font-family: 'LocalPoliceCompany-2', Georgia, serif; font-size: clamp(30px, 2.8vw, 46px); line-height: 1.05; letter-spacing: -1px; color: #fff; text-decoration: none; }
.tpl-band-name:hover, .tpl-band-name:focus-visible { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.tpl-band-line { width: 40px; height: 3px; border-radius: 2px; background: var(--l); margin-top: 6px; }
.tpl-band-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s ease, opacity .35s ease; }
.tpl-band-more > * { min-height: 0; overflow: hidden; }
.tpl-band:hover .tpl-band-more, .tpl-band:focus-within .tpl-band-more { grid-template-rows: 1fr; opacity: 1; }
.tpl-band-more p { margin: 12px 0 8px; max-width: 380px; font-size: 15px; line-height: 1.55; }
.tpl-band-more nav { display: flex; flex-direction: column; }
.tpl-band-more nav:first-child::before { content: ''; flex: 0 0 100%; height: 16px; }	/* sans accroche : de l'air entre le nom et les liens (26/11/2026) */
.tpl-band-more nav a { display: flex; align-items: center; min-height: 40px; padding-left: 14px; border-left: 2px solid rgba(255,255,255,.35); color: rgba(255,255,255,.92); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.tpl-band-more nav a:hover, .tpl-band-more nav a:focus-visible { color: #fff; border-left-color: #fff; background: rgba(255,255,255,.08); }
.tpl-hlogo { position: absolute; top: 0; left: 40px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 200px; padding: 14px 16px 18px; background: #fffdf9; border-radius: 0 0 26px 26px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.tpl-hlogo img { display: block; width: 100%; height: auto; }
.tpl-bands > .tpl-band:first-of-type .tpl-band-txt { padding-top: 260px; }
.tpl-hprat { position: absolute; top: 22px; right: 28px; z-index: 3; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(20,16,12,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tpl-hprat a { padding: 10px 16px; border-radius: 999px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; }
.tpl-hprat a:hover, .tpl-hprat a:focus-visible { background: rgba(255,255,255,.16); color: #fff; }
.tpl-hprat a.is-cta { background: #fffdf9; color: var(--ink); font-weight: 600; }
.tpl-hprat a.is-cta:hover { background: #fff; color: var(--ink); }
.tpl-hprat a.is-gift { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; color: #f1cf8a; font-size: 15px; align-self: center; }	/* cartes cadeaux (accueil, 25/11/2026) */
.tpl-hprat a.is-gift:hover, .tpl-hprat a.is-gift:focus-visible { background: #c8963e; color: #fff; }
.tpl-hcopy { position: absolute; right: 8px; bottom: 20px; z-index: 3; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; color: rgba(255,255,255,.6); }
.tpl-hcopy a { color: rgba(255,255,255,.75); text-decoration: none; }
.tpl-hcopy a:hover { color: #fff; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .tpl-band, .tpl-band::before, .tpl-band-more { transition: none; } }

/* ---------- pages : bandeau de la rubrique, tranches, barre, contenu (19/11/2026) ---------- */
.tpl-shell { display: flex; min-height: 100vh; align-items: stretch; }
.tpl-side { position: sticky; top: 0; height: 100vh; display: flex; flex: none; z-index: 2; }
.tpl-sband { position: relative; width: 300px; height: 100%; display: flex; flex-direction: column; overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--c) 0%, #1d1916 100%); }
.tpl-sband::before { content: ''; position: absolute; inset: 0; background-image: var(--img, none); background-size: cover; background-position: center; }
.tpl-sband::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,12,10,.88) 0%, rgba(15,12,10,.45) 50%, rgba(15,12,10,.15) 100%); }
.tpl-sband > * { position: relative; z-index: 1; }
.tpl-slogo { display: flex; align-items: center; justify-content: center; width: 150px; padding: 10px 12px 14px; margin-left: 36px; background: #fffdf9; border-radius: 0 0 22px 22px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.tpl-slogo img { display: block; width: 100%; height: auto; }
.tpl-sband-foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding: 0 30px 36px; }
.tpl-sband-foot .tpl-cjk { font-size: 28px; opacity: .85; }
.tpl-sband-name { font-family: 'LocalPoliceCompany-2', Georgia, serif; font-size: 42px; line-height: 1.05; letter-spacing: -1px; }
.tpl-sband .tpl-band-line { margin: 6px 0 12px; }
.tpl-subnav { display: flex; flex-direction: column; }
.tpl-subnav a { display: flex; align-items: center; min-height: 42px; padding-left: 14px; border-left: 2px solid rgba(255,255,255,.28); color: rgba(255,255,255,.86); text-decoration: none; font-size: 15px; font-weight: 500; }
.tpl-subnav a:hover, .tpl-subnav a:focus-visible { color: #fff; border-left-color: #fff; background: rgba(255,255,255,.08); }
.tpl-subnav a.is-on { color: #fff; font-weight: 700; border-left: 4px solid #fff; padding-left: 12px; }
.tpl-spines { display: flex; height: 100%; }
.tpl-spine { width: 30px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; padding-bottom: 30px; background: var(--c); background: color-mix(in srgb, var(--c) 72%, #000); color: #fff; text-decoration: none; overflow: hidden; transition: width .3s ease; box-shadow: inset 1px 0 0 rgba(255,255,255,.18); }
.tpl-spine b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tpl-spine .tpl-cjk { font-size: 16px; opacity: 0; transition: opacity .3s; }
.tpl-spine:hover, .tpl-spine:focus-visible { width: 64px; color: #fff; }
.tpl-spine.is-on { background: var(--c); padding-bottom: 22px; gap: 10px; }
.tpl-spine-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, #fff 28%, transparent); }
.tpl-spine-ico { flex: none; color: #fff; font-size: 15px; line-height: 1; filter: drop-shadow(0 0 3px rgba(255,255,255,.9)) drop-shadow(0 0 8px rgba(255,255,255,.55)); }	/* icône de la rubrique affichée, lumineuse (26/11/2026) */
.tpl-spine:hover .tpl-cjk, .tpl-spine:focus-visible .tpl-cjk { opacity: 1; }
.tpl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tpl-bar { position: sticky; top: 0; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 12px 48px; background: #fffdf9; border-bottom: 1px solid var(--line); }
.tpl-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: #6b635a; }
.tpl-crumbs i { font-style: normal; }
.tpl-crumbs a { color: #6b635a; text-decoration: none; }
.tpl-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.tpl-crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.tpl-prat { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; align-items: center; }
.tpl-prat a { padding: 10px 14px; border-radius: 8px; color: #4a433c; text-decoration: none; font-size: 14px; font-weight: 500; }
.tpl-prat a:hover { background: #f1ebe0; color: var(--ink); }
.tpl-prat a.is-on { color: var(--ink); font-weight: 700; }
.tpl-prat a.is-cta { margin-left: 6px; padding: 10px 18px; background: var(--ink); color: #fff; }
.tpl-prat a.is-cta:hover { background: #4a433c; color: #fff; }
.tpl-content { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 48px; padding: 40px 48px 56px; scroll-margin-top: 70px; }	/* colonne de droite calée sur le bord droit (bouton Contact) */
.tpl-article { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.tpl-aside { min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 80px; }
.tpl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }	/* titre long (Inscription & Tarifs) : la saison passe dessous, filet compris */
.tpl-tag { flex: 1 1 auto; display: flex; align-items: center; gap: 14px; min-width: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c); white-space: nowrap; }
.tpl-tag::before { content: ''; flex: 1 1 auto; min-width: 24px; height: 1px; background: color-mix(in srgb, var(--c) 35%, transparent); }
.tpl-kicker, .tpl-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c); margin: 0; }
.tpl-head .tpl-title { margin: 0; font-size: 48px; line-height: 1.1; color: var(--ink); }	/* 21/11/2026 : 64px -> 48px (tous les intitulés, « Inscription & Tarifs » tient avec la saison) */
.tpl-prose { font-size: 16px; line-height: 1.75; }
.tpl-prose p { margin: 0 0 14px; }
.tpl-prose img { max-width: 100%; height: auto; }
.tpl-intro { font-size: 18px; line-height: 1.7; }
.tpl-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; scroll-margin-top: 80px; }
.tpl-part-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.tpl-part-head img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.tpl-part-head .tpl-title { margin: 0; font-size: 36px; line-height: 1.1; color: var(--c); }
.tpl-week .tpl-label { margin-bottom: 14px; }
.tpl-week-title { margin: 18px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6b635a; }
.tpl-week-list { list-style: none; margin: 0; padding: 0; }
.tpl-week-list li { display: grid; grid-template-columns: 110px 120px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid #f0eae0; font-size: 15px; }
.tpl-week-list li:first-child { border-top: 0; }
.tpl-week-list em { color: #6b635a; font-size: 13px; }
.tpl-more { display: inline-block; margin-top: 14px; color: var(--c); font-weight: 600; font-size: 14px; }
.tpl-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tpl-table td { padding: 10px 8px; border-top: 1px solid #f0eae0; vertical-align: top; }
.tpl-table tr:first-child td { border-top: 0; }
.tpl-cta { display: flex; flex-direction: column; gap: 10px; }
.tpl-btn { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 10px; background: var(--c); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.tpl-btn:hover { filter: brightness(1.08); color: #fff; }
.tpl-btn.is-ghost { background: none; color: var(--c); border: 1.5px solid var(--c); }
.tpl-places { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.45; }
.tpl-place { display: flex; gap: 12px; align-items: center; }
.tpl-place img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.tpl-place a { text-decoration: none; }
.tpl-place a:hover b { text-decoration: underline; }
.tpl-place small { color: #6b635a; }
.tpl-quote { margin: 0; padding: 22px 24px; border-radius: 14px; background: var(--ink); color: #f3ede3; }
.tpl-quote p { margin: 0 0 8px; font-style: italic; font-size: 14px; line-height: 1.65; }
.tpl-quote footer { font-size: 12px; color: #cfc6b9; }
.tpl-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; padding: 22px 48px; border-top: 1px solid var(--line); background: #fffdf9; font-size: 13px; color: #5e564d; }
.tpl-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.tpl-foot a { color: #5e564d; }
@media (max-width: 1180px) { .tpl-content { grid-template-columns: minmax(0, 1fr); } .tpl-aside { position: static; } .tpl-sband { width: 250px; } }

/* ---------- horaires (19/11/2026) ---------- */
.tpl-head .tpl-title .tpl-cjk { font-size: .5em; color: var(--c); vertical-align: middle; margin-right: 6px; }
.tpl-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tpl-chips .tpl-label { margin-right: 6px; color: #6b635a; }
.tpl-chips button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1.5px solid #ddd3c4; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
.tpl-chips button i { width: 10px; height: 10px; border-radius: 50%; }
.tpl-chips button:hover { border-color: #b8ab98; }
.tpl-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tpl-weekgrid { display: grid; grid-template-columns: repeat(var(--n), minmax(150px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 4px; }
.tpl-day { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tpl-day h2 { margin: 0 0 2px; padding: 0 2px 8px; border-bottom: 2px solid var(--ink); font-family: 'LocalPoliceCompany-2', Georgia, serif; font-weight: 400; font-size: 28px; letter-spacing: -1px; }
.tpl-lesson { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; border-left: 4px solid var(--lc); background: color-mix(in srgb, var(--lc) 10%, #fff); font-size: 13px; line-height: 1.4; }
.tpl-lesson b { font-size: 15px; }
.tpl-lesson strong { font-size: 15px; color: color-mix(in srgb, var(--lc) 80%, #000); }
.tpl-lesson em { color: #5e564d; }
.tpl-lesson.is-note { border-left-color: #b8ab98; background: #fff; }
.tpl-day-none { margin: 4px 2px; font-size: 13px; color: #6b635a; }

/* ---------- contact (19/11/2026) ---------- */
.tpl-reach, .tpl-write { display: flex; flex-direction: column; gap: 16px; }
.tpl-who { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 22px; }
.tpl-person { display: flex; gap: 14px; align-items: flex-start; }
.tpl-person img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line); background: #fff; }
.tpl-person .tpl-title { display: block; font-size: 26px; line-height: 1.1; }
.tpl-person a { display: inline-block; margin-top: 2px; color: var(--c); font-weight: 600; word-break: break-word; }
.tpl-person a.tpl-person-link { display: block; margin-top: 0; font-weight: 400; color: var(--ink); text-decoration: none; transition: color .15s; }
.tpl-person a.tpl-person-link:hover, .tpl-person a.tpl-person-link:focus-visible { color: var(--c); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tpl-person em { display: block; font-size: 13px; color: #6b635a; }
.tpl-note { margin: 0; font-size: 14px; color: #6b635a; }
.tpl-note p { margin: 0; }
.tpl-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.tpl-topics legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 600; color: #4a433c; }
.tpl-topics input { position: absolute; opacity: 0; pointer-events: none; }
.tpl-topics label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1.5px solid #ddd3c4; border-radius: 999px; background: #fff; font-size: 14px; cursor: pointer; user-select: none; }
.tpl-topics label i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.tpl-topics label:hover { border-color: var(--c); }
.tpl-topics input:checked + label { background: var(--c); border-color: var(--c); color: #fff; font-weight: 600; }
.tpl-topics input:focus-visible + label { outline: 2px solid var(--c); outline-offset: 2px; }
.tpl-fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px 16px; }
.tpl-field { grid-column: span 12; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #4a433c; }
.tpl-field.is-half { grid-column: span 6; } .tpl-field.is-wide { grid-column: span 7; } .tpl-field.is-narrow { grid-column: span 5; }
.tpl-field.is-name { grid-column: span 5; } .tpl-field.is-mail { grid-column: span 4; } .tpl-field.is-tel { grid-column: span 3; }
.tpl-field input::placeholder { color: #a99e8f; font-style: italic; }
.tpl-duo { grid-column: span 12; display: grid; grid-template-columns: subgrid; align-items: stretch; }	/* 20/11/2026 : colonnes du formulaire, sujet aussi large que le nom complet */
.tpl-duo-side { grid-column: span 5; }
.tpl-duo-side { display: flex; flex-direction: column; gap: 14px; }
.tpl-duo > .tpl-field { grid-column: span 7; }
.tpl-field.is-msg textarea { flex: 1 1 auto; min-height: 150px; }
.tpl-topics.is-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.tpl-topics.is-list legend { grid-column: 1 / -1; float: left; margin-bottom: 2px; }
.tpl-topics.is-list label { min-height: 28px; padding: 0 8px; gap: 5px; font-size: 12px; white-space: nowrap; overflow: hidden; }
.tpl-topics.is-list label i { width: 7px; height: 7px; }
.tpl-field small { font-weight: 400; color: #6b635a; }
.tpl-field input, .tpl-field textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1.5px solid #ddd3c4; border-radius: 10px; background: #fff; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); }
.tpl-field textarea { min-height: 150px; resize: vertical; }
.tpl-field input:focus, .tpl-field textarea:focus { outline: none; border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.tpl-field.is-invalid input, .tpl-field.is-invalid textarea { border-color: #c0392b; }
.tpl-count { font-size: 12px; font-weight: 400; color: #6b635a; text-align: right; min-height: 1em; }
.tpl-captcha { padding: 12px 14px; border-left: 3px solid var(--l); border-radius: 0 10px 10px 0; background: #faf8f5; }
.tpl-captcha.is-ok { border-left-color: #2e8b57; }
.tpl-captcha.is-ok .gb-captcha__btn-validate, .tpl-captcha.is-ok .gb-captcha__btn-refresh { display: none; }
.tpl-captcha.is-ok .gb-captcha__row::after { content: '✓ Vérifié'; margin-left: 8px; color: #2e8b57; font-size: 14px; font-weight: 600; }
.tpl-form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.tpl-rgpd { flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.5; color: #6b635a; }
.tpl-form-foot .tpl-btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.tpl-form-foot .tpl-btn[disabled] { opacity: .45; cursor: not-allowed; }
.tpl-formmsg { margin: 0; min-height: 1.2em; font-size: 14px; color: #6b635a; }
.tpl-formmsg.is-error { color: #c0392b; }
.tpl-done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 0; }
.tpl-done .tpl-title { font-size: 36px; color: var(--c); }
.tpl-done p { margin: 0; }
.tpl-done .tpl-btn { border: 1.5px solid var(--c); cursor: pointer; font: inherit; font-weight: 600; }
[hidden] { display: none !important; }

/* pleine largeur (horaires) : la colonne de droite passe dessous, ses cartes côte à côte */
.tpl-content.is-full { grid-template-columns: minmax(0, 1fr); }
.tpl-content.is-full .tpl-aside { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.tpl-content.is-full .tpl-places { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tpl-content.is-full .tpl-places .tpl-label { grid-column: 1 / -1; }
/* calcul de vérification (gb-captcha) */
.tpl-captcha .gb-captcha__wrap { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 8px 14px; text-align: left; }	/* 20/11/2026 : bouclier + « Vérification » sur la ligne du champ */
.tpl-captcha .gb-captcha__label { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 13px; font-weight: 600; color: #4a433c; white-space: nowrap; }
.tpl-captcha .gb-captcha__label i { font-size: 16px; }
.tpl-captcha .gb-captcha__label .fa-lock { --fa: "\f3ed"; }	/* bouclier (fa-shield-halved) à la place du cadenas */
.tpl-captcha.is-ok .gb-captcha__label { color: #2e8b57; }
.tpl-captcha .gb-captcha__row { margin: 0; flex-wrap: nowrap; }
.tpl-captcha .gb-captcha__row > * { flex: none; white-space: nowrap; }
.tpl-captcha .gb-captcha__wrap:has(.gb-captcha__error[style*="block"]), .tpl-captcha .gb-captcha__wrap:has(.gb-captcha__error:not([style*="none"])) { flex-wrap: wrap; }
.tpl-captcha .gb-captcha__error { flex-basis: 100%; }
.tpl-captcha .gb-captcha__expr { padding: 8px 11px; border-radius: 8px; background: #fff; font-weight: 600; letter-spacing: .06em; box-shadow: inset 0 0 0 1px #ddd3c4; }
.tpl-captcha .gb-captcha__input { width: 72px !important; min-height: 40px; padding: 8px 10px; border: 1.5px solid #ddd3c4; border-radius: 8px; text-align: center; font: inherit; }
.tpl-captcha .gb-captcha__input:focus { outline: none; border-color: var(--c); }
.tpl-captcha .gb-captcha__input.is-valid { border-color: #2e8b57; } .tpl-captcha .gb-captcha__input.is-invalid { border-color: #c0392b; }
.tpl-captcha .gb-captcha__btn-validate, .tpl-captcha .gb-captcha__btn-refresh { min-height: 40px; padding: 0 16px; border: 1.5px solid var(--c); border-radius: 999px; background: #fff; color: var(--c); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tpl-captcha .gb-captcha__btn-validate:hover, .tpl-captcha .gb-captcha__btn-refresh:hover { background: var(--c); color: #fff; }
.tpl-form { display: flex; flex-direction: column; gap: 20px; }
.tpl-captcha .gb-captcha__btn-refresh { width: 40px; padding: 0; }
.tpl-captcha .gb-captcha__btn-validate { padding: 0 13px; }
.tpl-captcha .gb-captcha__btn-validate i { margin-right: 5px; }

/* horaires avec la colonne de droite (19/11/2026, essai) : un jour par ligne, le nom à gauche, ses cours côte à côte */
.tpl-weekrows { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.tpl-weekrows .tpl-day { display: grid; grid-template-columns: 130px minmax(0, 1fr); column-gap: 18px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tpl-weekrows .tpl-day h2 { margin: 0; padding: 4px 0 0; border: 0; font-size: 30px; }
.tpl-weekrows .tpl-day-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.tpl-weekrows .tpl-day-none { display: none; }

/* horaires en tranches alignées (19/11/2026) : Matin, Midi, Soir ; le jour au-dessus de sa ligne */
.tpl-weekslots { display: flex; flex-direction: column; }
.tpl-slothead, .tpl-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tpl-slothead { position: sticky; top: 66px; z-index: 1; padding: 10px 0 8px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.tpl-slothead span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b635a; }
.tpl-weekslots .tpl-day { display: flex; flex-direction: column; gap: 8px; padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.tpl-weekslots .tpl-day h2 { margin: 0; padding: 0; border: 0; font-size: 26px; }
.tpl-slot { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tpl-slot-empty { padding: 12px 14px; color: #c4b9aa; font-size: 15px; }

/* horaires, essai (19/11/2026, soir) : bascule Tableau / Frise */
.tpl-viewseg { display: inline-flex; flex: none; margin-left: auto; padding: 2px; border: 1px solid var(--line); border-radius: 999px; background: #f1ebe0; }
.tpl-viewseg button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; min-width: 42px; padding: 0 10px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 14px; font-weight: 600; color: #6b635a; cursor: pointer; }
.tpl-viewseg button i { font-size: 15px; }
.tpl-viewseg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
/* A : tableau compact, une ligne par cours */
.tpl-sched { width: 100%; border-collapse: collapse; font-size: 14px; }
.tpl-sched thead th { height: 22px; padding: 0 10px 8px 0; line-height: 14px; vertical-align: top; border-bottom: 2px solid var(--ink); text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6b635a; }
.tpl-sched td, .tpl-sched tbody th { padding: 8px 10px 8px 0; border-top: 1px solid #f0eae0; vertical-align: baseline; text-align: left; font-weight: 400; }
.tpl-sched tbody tr.is-first td, .tpl-sched tbody tr.is-first th { border-top: 1px solid #cfc5b6; }
.tpl-sched tbody tr:first-child td, .tpl-sched tbody tr:first-child th { border-top: 0; }
.tpl-sched tbody th { width: 92px; font-family: 'LocalPoliceCompany-2', Georgia, serif; font-size: 18px; letter-spacing: -.5px; white-space: nowrap; }
.tpl-sched-h { width: 112px; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.tpl-sched-d { display: inline-flex; align-items: baseline; gap: 8px; }
.tpl-sched-d i { width: 9px; height: 9px; border-radius: 50%; background: var(--lc); flex: none; transform: translateY(-1px); }
.tpl-sched-d b { color: color-mix(in srgb, var(--lc) 80%, #000); font-weight: 600; }
.tpl-sched small { font-size: 12px; color: #6b635a; font-style: italic; }
.tpl-sched tr.is-note td { color: #6b635a; }
/* B : frise de la semaine */
.tpl-frise { --lane: 46px; display: flex; flex-direction: column; gap: 6px; }
.tpl-frise-scale { display: grid; grid-template-columns: 86px minmax(0, 1fr); border-bottom: 2px solid var(--ink); }
.tpl-frise-scale div { position: relative; height: 22px; }
.tpl-frise-scale i { position: absolute; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 600; color: #6b635a; }
.tpl-frise-row { display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: start; padding: 6px 0; border-bottom: 1px solid #f0eae0; }
.tpl-frise-day { padding-top: 10px; font-family: 'LocalPoliceCompany-2', Georgia, serif; font-size: 18px; letter-spacing: -.5px; }
.tpl-frise-track { position: relative; height: calc(var(--lanes) * var(--lane)); }
.tpl-frise-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: #efe8dc; }
.tpl-frise-b { position: absolute; height: calc(var(--lane) - 4px); display: flex; flex-direction: column; justify-content: center; padding: 0 5px; border-left: 3px solid var(--lc); border-radius: 6px; background: color-mix(in srgb, var(--lc) 14%, #fff); overflow: hidden; white-space: nowrap; cursor: default; line-height: 1.25; }
.tpl-frise-b b { font-size: 11px; color: color-mix(in srgb, var(--lc) 80%, #000); overflow: hidden; text-overflow: ellipsis; }
.tpl-frise-b small { font-size: 11px; color: #5e564d; overflow: hidden; text-overflow: ellipsis; }
.tpl-frise-b { transition: box-shadow .15s, transform .15s; }
.tpl-frise-b:hover, .tpl-frise-b:focus { z-index: 2; box-shadow: 0 4px 14px rgba(0,0,0,.15); transform: translateY(-1px); outline: none; }
.tpl-frise-pop { position: fixed; z-index: 1000; width: max-content; max-width: 280px; padding: 12px 14px 12px 16px; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 12px 32px rgba(40,30,20,.18), 0 2px 6px rgba(40,30,20,.08); border-left: 4px solid var(--lc); display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.35; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .14s ease, transform .14s ease; }
.tpl-frise-pop.is-below { transform: translateY(-4px); }
.tpl-frise-pop.is-on { opacity: 1; transform: none; }
.tpl-frise-pop::after { content: ''; position: absolute; left: var(--ax); top: 100%; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: #fff; transform: rotate(45deg); box-shadow: 3px 3px 5px rgba(40,30,20,.08); }
.tpl-frise-pop.is-below::after { top: 0; box-shadow: -2px -2px 4px rgba(40,30,20,.06); }
.tpl-frise-pop b { font-size: 15px; font-weight: 600; color: color-mix(in srgb, var(--lc) 80%, #000); }
.tpl-frise-pop .is-h { font-weight: 600; font-variant-numeric: tabular-nums; }
.tpl-frise-pop .is-p { color: #5e564d; }
.tpl-frise-pop em { margin-top: 4px; padding-top: 6px; border-top: 1px solid #f0eae0; font-size: 12px; color: #6b635a; }
.tpl-frise-b.is-dim { opacity: .18; }
.tpl-frise-help { margin: 4px 0 0; font-size: 12px; color: #6b635a; }

/* barre des horaires (20/11/2026) : disciplines à gauche, mode d'affichage (icônes) à droite */
.tpl-schedbar { display: flex; align-items: flex-start; gap: 12px 16px; }
.tpl-schedbar .tpl-chips { flex: 1 1 auto; min-width: 0; }

/* évènements (20/11/2026) : barre (types, saison, vues), vue liste par saison, vue complète */
.tpl-barend { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.tpl-barend .tpl-viewseg { margin-left: 0; }
.tpl-select { position: relative; display: inline-flex; align-items: center; }
.tpl-select select { appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 34px 0 16px; border: 1.5px solid #ddd3c4; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
.tpl-select select:hover { border-color: #b8ab98; } .tpl-select select:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.tpl-select i { position: absolute; right: 14px; font-size: 11px; color: #6b635a; pointer-events: none; }
.tpl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tpl-evpane { margin-top: 6px; }
.tpl-evmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: #6b635a; }
.tpl-evmeta em { font-style: normal; } .tpl-evmeta em i { font-size: 11px; margin-right: 2px; }
.tpl-evmeta em.is-page { color: var(--ec); font-weight: 600; }
.tpl-evtype { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ec) 12%, #fff); color: color-mix(in srgb, var(--ec) 85%, #000); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tpl-evtype::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ec); }
.tpl-evseason { margin-top: 28px; }
.tpl-evseason-h { display: flex; align-items: center; gap: 14px; margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.tpl-evseason-h::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.tpl-evlist { list-style: none; margin: 0; padding: 0; }
.tpl-evlist li + li { border-top: 1px solid #f0eae0; }
.tpl-evlist a { display: grid; grid-template-columns: 58px 64px minmax(0, 1fr) 18px; align-items: center; gap: 16px; padding: 12px 10px; margin: 0 -10px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background .15s; }
.tpl-evlist a:hover, .tpl-evlist a:focus-visible { background: #fff; outline: none; }
.tpl-evdate { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 0 7px; border-radius: 12px; background: color-mix(in srgb, var(--ec) 10%, #fff); color: var(--ec); line-height: 1; font-variant-numeric: tabular-nums; }	/* encadrée à la couleur du type, comme le mobile (25/11/2026) */
.tpl-evdate b { font-family: 'LocalPoliceCompany-2', Georgia, serif; font-weight: 400; font-size: 30px; }
.tpl-evdate span { margin-top: 3px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ec); }
.tpl-evdate small { margin-top: 3px; font-size: 10.5px; color: #8b8176; }
.tpl-evthumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #f3eee6; }
.tpl-evthumb:has(img:not(.is-logo)) { cursor: zoom-in; } .tpl-evcard-img a, .tpl-evpics a { cursor: zoom-in; }
.tpl-evthumb img, .tpl-evcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpl-evthumb img.is-logo, .tpl-evcard-img img.is-logo { object-fit: contain; padding: 14%; filter: grayscale(1); opacity: .6; }
.tpl-evbody { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tpl-evtitle { font-size: 15px; font-weight: 600; line-height: 1.3; }
.tpl-evtext { font-size: 13px; line-height: 1.5; color: #6b635a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tpl-evgo { font-size: 13px; color: #b8ab98; transition: transform .2s, color .2s; }
.tpl-evlist a:hover .tpl-evgo { color: var(--ec); transform: translateX(3px); }
.tpl-evcard { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; scroll-margin-top: 84px; transition: box-shadow .4s; }
.tpl-evcard.is-hl { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ec) 45%, transparent), 0 10px 30px rgba(40,30,20,.10); }
.tpl-evcard-img { align-self: start; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f3eee6; }
.tpl-evcard-img a, .tpl-evcard-img span { display: block; width: 100%; height: 100%; }
.tpl-evcard-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tpl-evcard-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.25; }
.tpl-evcard-text { font-size: 14.5px; line-height: 1.65; }
.tpl-evcard-text p { margin: 0 0 .6em; }
.tpl-evcard-after { padding: 10px 14px; border-left: 3px solid var(--ec); border-radius: 0 10px 10px 0; background: #faf8f5; font-size: 14px; }
.tpl-evcard-after .tpl-label { display: block; margin-bottom: 4px; color: var(--ec); }
.tpl-evpics { display: flex; flex-wrap: wrap; gap: 6px; }
.tpl-evpics a { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; }
.tpl-evpics img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.tpl-evpics a:hover img { transform: scale(1.06); }
.tpl-evvids { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-evvids a { position: relative; display: flex; align-items: center; justify-content: center; width: 160px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #2b2520; color: #fff; text-decoration: none; }
.tpl-evvids img { width: 100%; height: 100%; object-fit: cover; }
.tpl-evvids i { position: absolute; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.55); font-size: 14px; }
.tpl-evcard-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px solid #f0eae0; }
.tpl-evdoc { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 14px; border: 1px solid #ddd3c4; border-radius: 999px; font-size: 13px; color: var(--ink); text-decoration: none; }
.tpl-evdoc:hover { border-color: var(--ec); color: var(--ec); }
.tpl-evdoc i { color: var(--ec); } .tpl-evdoc.is-ask i { color: #8b8176; }
.tpl-evcard-go { margin-left: auto; gap: 8px; min-height: 40px; background: var(--ec); border-color: var(--ec); font-size: 14px; }
.tpl-evnone { margin-top: 24px; color: #6b635a; }

/* évènements (20/11/2026, suite) : écart barre / résultat comme les horaires, liste des saisons habillée */
.tpl-head .tpl-title { white-space: nowrap; }
.tpl-head.is-ev { gap: 14px; } .tpl-head.is-ev .tpl-title { font-size: 48px; } .tpl-head.is-ev .tpl-tag { gap: 10px; } .tpl-head.is-ev .tpl-tag::before { min-width: 16px; }	/* « Saison 2025/2026 » tient à droite du titre */
.tpl-evpane { margin-top: -28px; }
.tpl-dd { position: relative; }
.tpl-dd-btn { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 14px 0 15px; border: 1.5px solid #ddd3c4; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; white-space: nowrap; transition: border-color .15s, box-shadow .15s; }
.tpl-dd-btn > i:first-child { font-size: 13px; color: var(--c); }
.tpl-dd-btn:hover, .tpl-dd.is-open .tpl-dd-btn { border-color: #b8ab98; }
.tpl-dd.is-open .tpl-dd-btn { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 12%, transparent); }
.tpl-dd-chev { font-size: 10px; color: #6b635a; transition: transform .2s; }
.tpl-dd.is-open .tpl-dd-chev { transform: rotate(180deg); }
.tpl-dd-list { position: absolute; z-index: 20; top: calc(100% + 6px); right: 0; min-width: 230px; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgba(40,30,20,.14), 0 2px 6px rgba(40,30,20,.06); outline: none; animation: tpl-dd-in .14s ease; }
@keyframes tpl-dd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.tpl-dd-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 14px; cursor: pointer; }
.tpl-dd-list li span { flex: 1; }
.tpl-dd-list li em { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #f3eee6; font-style: normal; font-size: 11.5px; font-weight: 600; color: #6b635a; text-align: center; }
.tpl-dd-list li > i { width: 12px; font-size: 11px; color: var(--c); visibility: hidden; }
.tpl-dd-list li[aria-selected="true"] { font-weight: 600; }
.tpl-dd-list li[aria-selected="true"] > i { visibility: visible; }
.tpl-dd-list li.is-active { background: #f6f1ea; }
.tpl-dd-list li.is-all { margin-top: 4px; padding-top: 11px; border-top: 1px solid #f0eae0; border-radius: 0 0 9px 9px; }

/* visualiseur d'images (fancybox, 20/11/2026) : légende (saison, intitulé), fenêtre « Partager » */
.tpl-fbcap { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; font-family: 'Montserrat', system-ui, sans-serif; font-size: 15px; font-weight: 600; }
.tpl-fbcap small { padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tpl-share { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px; background: rgba(20,16,12,.55); backdrop-filter: blur(3px); animation: tpl-share-in .16s ease; font-family: 'Montserrat', system-ui, sans-serif; }
@keyframes tpl-share-in { from { opacity: 0; } to { opacity: 1; } }
.tpl-share-box { position: relative; width: min(420px, 100%); padding: 22px 22px 20px; border-radius: 18px; background: #faf7f2; color: #2b2520; box-shadow: 0 24px 60px rgba(0,0,0,.35); animation: tpl-share-up .2s ease; }
@keyframes tpl-share-up { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.tpl-share-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #6b635a; font-size: 16px; cursor: pointer; }
.tpl-share-close:hover { background: #efe8dc; color: #2b2520; }
.tpl-share-h { margin: 0 40px 2px 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8b5e3c; }
.tpl-share-t { margin: 0 40px 16px 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.tpl-share-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 10px; }
.tpl-share-it { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 10px; border: 1px solid #e8e0d4; border-radius: 14px; background: #fff; color: #2b2520; font: inherit; font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.tpl-share-it:hover, .tpl-share-it:focus-visible { transform: translateY(-2px); border-color: transparent; box-shadow: 0 8px 20px rgba(40,30,20,.12); outline: none; }
.tpl-share-it i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 19px; background: var(--sc, #6b635a); }
.tpl-share-url { display: flex; gap: 8px; margin-top: 16px; padding: 6px 6px 6px 14px; border: 1.5px solid #e2d9cc; border-radius: 999px; background: #fff; }
.tpl-share-url input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 13px; color: #4a433c; outline: none; }
.tpl-share-url button { flex: none; min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: #2b2520; color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.tpl-share-url button.is-ok { background: #2e8b57; }
.tpl-share-msg { min-height: 18px; margin: 10px 0 0; font-size: 12.5px; color: #2e8b57; text-align: center; }

/* dossier (page d'un évènement, 20/11/2026) : retour vers les évènements, titre sur plusieurs lignes, texte */
.tpl-back { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 36px; padding: 0 14px 0 12px; border: 1.5px solid #ddd3c4; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: border-color .15s, transform .15s; }
.tpl-back i { font-size: 12px; transition: transform .2s; }
.tpl-back:hover { border-color: #b8ab98; } .tpl-back:hover i.fa-arrow-left { transform: translateX(-3px); }
.tpl-back.is-ghost { border-color: transparent; background: transparent; color: #6b635a; }
.tpl-back.is-ghost:hover { color: var(--ink); background: #fff; border-color: #ddd3c4; }
.tpl-head.is-dossier { align-items: flex-end; flex-wrap: wrap; }
.tpl-head.is-dossier .tpl-title { white-space: normal; font-size: 40px; line-height: 1.1; flex: 1 1 320px; }
.tpl-head.is-dossier .tpl-tag { flex: 0 1 auto; margin-bottom: 10px; }
.tpl-head.is-dossier .tpl-tag::before { display: none; }
.tpl-dossier-sub { font-size: 18px; font-weight: 500; color: #4a433c; }
.tpl-dossier-text img { max-width: 100%; height: auto; border-radius: 12px; }
.tpl-dossier-text table { width: 100% !important; table-layout: fixed; float: none !important; }
.tpl-dossier-text td { padding: 0 8px; } .tpl-dossier-text td:first-child { padding-left: 0; } .tpl-dossier-text td:last-child { padding-right: 0; }
.tpl-dossier-foot { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }

/* évènements, vue complète (20/11/2026) : médias par blocs (photos, vidéos, documents), bouton du lien seul en bas */
.tpl-evblock { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.tpl-evblock-h { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6b635a; }
.tpl-evblock-h i { font-size: 12px; color: var(--ec); }
.tpl-evblock-h em { padding: 0 7px; border-radius: 999px; background: #f3eee6; font-style: normal; font-size: 10.5px; letter-spacing: 0; color: #6b635a; }
.tpl-evpics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.tpl-evpics a { position: relative; width: auto; height: auto; aspect-ratio: 1; border-radius: 9px; overflow: hidden; background: #f3eee6; }
.tpl-evpics a[hidden] { display: none; }
.tpl-evpics a[data-more]::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(30,24,18,.55); color: #fff; font-size: 17px; font-weight: 700; }
.tpl-evvids { display: grid; grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)); gap: 10px; }
.tpl-evvids a { position: static; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px; width: auto; aspect-ratio: auto; border-radius: 0; overflow: visible; background: none; color: var(--ink); text-decoration: none; }
.tpl-evvid-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #2b2520 center / cover no-repeat; }
.tpl-evvid-cover i { position: static; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ec); font-size: 14px; padding-left: 2px; transition: transform .2s; }
.tpl-evvids a:hover .tpl-evvid-cover i { transform: scale(1.1); }
.tpl-evvid-txt { display: flex; flex-direction: column; line-height: 1.25; }
.tpl-evvid-txt b { font-size: 13px; } .tpl-evvid-txt small { font-size: 11.5px; color: #6b635a; }
.tpl-evdocs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tpl-evdocs a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid #ebe3d7; border-radius: 12px; background: #fdfbf8; color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.tpl-evdocs a:hover { border-color: color-mix(in srgb, var(--ec) 45%, #fff); background: #fff; }
.tpl-evdoc-ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--ec) 12%, #fff); color: var(--ec); font-size: 15px; }
.tpl-evdocs a.is-ask .tpl-evdoc-ic { background: #f1ece4; color: #8b8176; }
.tpl-evdoc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.tpl-evdoc-txt b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tpl-evdoc-txt small { font-size: 11.5px; color: #6b635a; }
.tpl-evdoc-go { font-size: 12px; color: #b8ab98; } .tpl-evdocs a:hover .tpl-evdoc-go { color: var(--ec); }
.tpl-evcard-foot { justify-content: flex-end; margin-top: auto; }	/* bouton du lien toujours en bas de la carte, même si la colonne des médias est plus haute */
.tpl-evcard-body { align-self: stretch; }

/* fenêtre « Partager » : tous les choix sur une ligne */
.tpl-share-box { width: min(600px, 100%); }
.tpl-share-grid { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
@media (max-width: 520px) { .tpl-share-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* évènements, vue complète (20/11/2026, suite) : médias en boutons sous l'image, dans la colonne de gauche */
.tpl-evcard-side { display: flex; flex-direction: column; gap: 10px; align-self: start; min-width: 0; }
.tpl-evcard-img { align-self: stretch; }
.tpl-evmedia { display: flex; flex-direction: column; gap: 6px; }
.tpl-evm { display: flex; align-items: center; gap: 9px; width: 100%; min-width: 0; min-height: 38px; padding: 0 12px; border: 1px solid #e6ddd0; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tpl-evm:hover, .tpl-evm:focus-visible { border-color: color-mix(in srgb, var(--ec) 50%, #fff); box-shadow: 0 4px 12px rgba(40,30,20,.08); outline: none; }
.tpl-evm i { flex: none; width: 16px; text-align: center; font-size: 14px; color: var(--ec); }
.tpl-evm.is-ask i { color: #8b8176; }
.tpl-evm span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-evm em { flex: none; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ec) 12%, #fff); color: color-mix(in srgb, var(--ec) 85%, #000); font-style: normal; font-size: 11px; font-weight: 700; }
.fancybox-slide--iframe .fancybox-content { width: min(980px, 92vw); height: 90vh; max-width: none; max-height: none; background: #fff; }
/* boutons des médias (20/11/2026) : source / type à la fin, vidéo avec vignette ou pastille de couleur */
.tpl-evm small { flex: none; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b8176; }
.tpl-evm.is-vid { padding-left: 5px; }
.tpl-evm .tpl-evm-cover { flex: none; width: 40px; height: 28px; overflow: visible; display: grid; place-items: center; border-radius: 7px; background: var(--ec) center / cover no-repeat; }
.tpl-evm .tpl-evm-cover i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ec); font-size: 8px; padding-left: 1px; }

/* dossier (20/11/2026, suite) : présentation de la page Évènements, rappel de l'évènement comme une ligne de la liste, puis le dossier */
.tpl-evrecall { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tpl-evrecall-row { display: grid; grid-template-columns: 58px 64px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px 14px 12px 4px; }
.tpl-evrecall .tpl-evtitle { font-size: 16px; }
.tpl-dossier-page { display: flex; flex-direction: column; gap: 14px; }
.tpl-dossier-title { margin: 0; font-family: 'LocalPoliceCompany-2', Georgia, serif; font-weight: 400; font-size: 38px; line-height: 1.1; letter-spacing: -.5px; color: var(--ink); }

/* dossier (20/11/2026) : trait de l'évènement à son dossier — l'évènement, le dossier encadré, la suite ; points en face des intertitres */
.tpl-dtl { position: relative; display: flex; flex-direction: column; gap: 18px; }
.tpl-dtl.has-ev { padding-left: 34px; }
.tpl-dtl.has-ev::before { content: ''; position: absolute; left: 11px; top: 38px; bottom: 20px; width: 2px; border-radius: 2px; background: linear-gradient(var(--ec), color-mix(in srgb, var(--ec) 30%, #e8e0d4)); }
.tpl-dtl.has-ev .tpl-dtl-step { position: relative; }
.tpl-dtl.has-ev .tpl-dtl-step::before { content: ''; position: absolute; left: -29px; top: 31px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 3px solid var(--ec); box-shadow: 0 0 0 4px #faf7f2; z-index: 1; }
.tpl-dtl.has-ev .tpl-dtl-step.is-ev::before { width: 14px; height: 14px; left: -31px; top: calc(50% - 10px); background: var(--ec); }
.tpl-dtl.has-ev .tpl-dtl-step.is-end::before { display: none; }
.tpl-evsub { font-size: 13px; color: #8b8176; }
/* le dossier encadré */
.tpl-dtl .tpl-dossier-page { padding: 26px 30px 30px; border: 1px solid var(--line); border-top: 4px solid var(--ec, #8b8176); border-radius: 16px; background: #fff; box-shadow: 0 6px 24px rgba(40,30,20,.06); }
.tpl-dtl:not(.has-ev) .tpl-dossier-page { border-top-color: #d8cdbd; }
.tpl-dtl .tpl-dossier-foot { border-top: 0; padding-top: 8px; }
.tpl-dtl-dot { position: absolute; left: 8px; width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--ec) 55%, #fff); box-shadow: 0 0 0 3px #faf7f2; z-index: 1; }
.tpl-dtl .tpl-dossier-text { display: flow-root; }
/* dossier (20/11/2026, suite) : retour et question sur la carte de l'évènement ; en bas, remonter en haut de la page (au bout du trait) */
.tpl-dtl .tpl-evrecall-row { grid-template-columns: 58px 64px minmax(0, 1fr) auto; }
.tpl-evacts { display: flex; align-self: stretch; align-items: center; gap: 6px; margin: -12px -14px -12px 0; padding: 0 12px; border-left: 1px solid var(--line); }
.tpl-evlist a.tpl-evact, .tpl-evact { margin: 0; padding: 0; gap: 0; grid-template-columns: none; width: 38px; height: 38px; display: grid; place-items: center; border: 1.5px solid #ddd3c4; border-radius: 50%; background: #fff; color: #6b635a; font-size: 14px; text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
.tpl-evlist a.tpl-evact:hover, .tpl-evlist a.tpl-evact:focus-visible { border-color: var(--ec); color: var(--ec); background: color-mix(in srgb, var(--ec) 8%, #fff); outline: none; }
.tpl-dtl .tpl-dossier-foot.is-end { padding-top: 0; }
.tpl-totop { width: 38px; height: 38px; display: grid; place-items: center; border: 1.5px solid #ddd3c4; border-radius: 50%; background: #fff; color: #6b635a; font-size: 14px; text-decoration: none; transition: color .2s, border-color .2s, transform .2s; }
.tpl-totop:hover, .tpl-totop:focus-visible { border-color: var(--ec, #8b8176); color: var(--ec, #8b8176); transform: translateY(-2px); outline: none; }
.tpl-dtl.has-ev .tpl-dossier-foot.is-end { margin-left: -41px; }	/* flèche centrée sur le trait (left 11px + 1px, bouton 38px) */
.tpl-dtl.has-ev .tpl-totop { position: relative; z-index: 1; }
.tpl-dtl.has-ev .tpl-dossier-foot.is-end { margin-top: 6px; }	/* flèche à égale distance (24px) du dossier et des commentaires (23/11/2026) */
.tpl-dossier > .lgc.is-tpl { margin-top: -8px; }	/* 32px d'écart de l'article - 8px = 24px */
/* dossier sans évènement lié : retour et question en haut à droite de l'encart, l'intitulé passe à la ligne avant eux (23/11/2026) */
.tpl-dtl.is-solo .tpl-dossier-page { position: relative; }
.tpl-dossier-acts { position: absolute; top: 22px; right: 22px; display: flex; gap: 6px; }
.tpl-dtl.is-solo .tpl-dossier-title { padding-right: 92px; }
.tpl-dtl.is-solo:has(.tpl-evact.is-com) .tpl-dossier-title { padding-right: 136px; }
/* bouton des commentaires (23/11/2026) : plein, couleur de l'évènement (gris neutre sans évènement), nombre en pastille */
.tpl-evlist a.tpl-evact.is-com, .tpl-evact.is-com { position: relative; border-color: var(--ec); background: var(--ec); color: #fff; }
.tpl-evlist a.tpl-evact.is-com:hover, .tpl-evlist a.tpl-evact.is-com:focus-visible, .tpl-dossier-acts .tpl-evact.is-com:hover, .tpl-dossier-acts .tpl-evact.is-com:focus-visible { border-color: var(--ec); background: color-mix(in srgb, var(--ec) 82%, #000); color: #fff; }
.tpl-evact.is-com b { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #fff; border: 1.5px solid var(--ec); color: var(--ec); font-size: 10.5px; font-weight: 700; line-height: 15px; text-align: center; box-sizing: border-box; }
.tpl-dossier-acts .tpl-evact:hover, .tpl-dossier-acts .tpl-evact:focus-visible { border-color: var(--ec); color: var(--ec); background: color-mix(in srgb, var(--ec) 8%, #fff); outline: none; }

/* Láo Gōng (20/11/2026) : les pratiques (liens vers les rubriques) et les enseignants (diplômes, parcours à déplier) */
.tpl-lgprat { display: flex; flex-direction: column; gap: 12px; }
.tpl-lgprat-dom { margin: 6px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b8176; }
.tpl-lgprat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.tpl-lgprat-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 16px 20px; border: 1px solid var(--line); border-left: 4px solid var(--sc); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.tpl-lgprat-card:hover, .tpl-lgprat-card:focus-visible { box-shadow: 0 8px 24px rgba(40,30,20,.10); transform: translateY(-2px); outline: none; }
.tpl-lgprat-cjk { font-size: 22px; line-height: 1; color: var(--sc); }
.tpl-lgprat-card b { font-size: 16px; }
.tpl-lgprat-card small { font-size: 13px; line-height: 1.45; color: #6b635a; padding-right: 18px; }
.tpl-lgprat-card i { position: absolute; right: 16px; top: 18px; font-size: 13px; color: #b8ab98; transition: color .2s, transform .2s; }
.tpl-lgprat-card:hover i { color: var(--sc); transform: translateX(3px); }
.tpl-lgprofs-h { margin-top: 10px; }
.tpl-prof { display: flex; flex-direction: column; gap: 14px; }
.tpl-prof-head { display: flex; align-items: center; gap: 18px; }
.tpl-prof-head img { flex: none; width: 92px; height: 92px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.tpl-prof-head .tpl-title { margin: 0; font-size: 34px; }
.tpl-prof-name { margin: 2px 0 0; font-size: 13px; letter-spacing: .04em; color: #8b8176; }
.tpl-prof-arts { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.tpl-prof-arts span { padding: 3px 10px; border-radius: 999px; background: #f3eee7; font-size: 12px; font-weight: 600; color: #4a433c; }
.tpl-prof-more { border-top: 1px solid var(--line); padding-top: 10px; }
.tpl-prof-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: var(--ink); }
.tpl-prof-more summary::-webkit-details-marker { display: none; }
.tpl-prof-more summary i { font-size: 11px; color: #8b8176; transition: transform .2s; }
.tpl-prof-more[open] summary i { transform: rotate(180deg); }
.tpl-prof-more[open] summary span::after { content: ' (refermer)'; font-weight: 400; color: #8b8176; }
.tpl-prof-more > .tpl-prose { margin-top: 12px; }
/* enseignants sur deux colonnes (20/11/2026, essai) : en-tête centré, photo au-dessus */
.tpl-profs { display: flex; flex-direction: column; gap: 18px; }
.tpl-profs.is-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }	/* même hauteur pour les encarts (23/11/2026) */
.tpl-profs.is-cols .tpl-prof { padding: 22px 20px; }
.tpl-profs.is-cols .tpl-prof-head { flex-direction: column; text-align: center; gap: 12px; }
.tpl-profs.is-cols .tpl-prof-head img { width: 104px; height: 104px; }
.tpl-profs.is-cols .tpl-prof-arts { justify-content: center; }
.tpl-profs.is-cols .tpl-prof-intro { font-size: 14px; text-align: left; }
.tpl-profs.is-cols .tpl-prof-intro * { text-align: left !important; font-size: inherit !important; }
.tpl-profs.is-cols .tpl-prof-more summary { display: flex; justify-content: center; }
@media (max-width: 1180px) { .tpl-profs.is-cols { grid-template-columns: minmax(0, 1fr); } }
/* accueil (20/11/2026) : tout le bandeau mène à la rubrique ; le nom et les sous-pages gardent leur propre lien */
.tpl-band-hit { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.tpl-band-txt { z-index: 2; pointer-events: none; }
.tpl-band-txt a { pointer-events: auto; }
/* accueil (20/11/2026) : intitulés des rubriques tous à la même hauteur, au survol compris (le texte part d'une même ligne, l'accroche et les sous-pages s'ouvrent dessous) */
.tpl-band { justify-content: flex-start; }
.tpl-band-txt, .tpl-bands > .tpl-band:first-of-type .tpl-band-txt { padding-top: max(270px, calc(100vh - 400px)); padding-bottom: 24px; }
/* accueil (20/11/2026, suite) : intitulés plus bas (305 px du bas de la fenêtre) ; sous-pages un peu plus serrées pour tenir dessous */
.tpl-band-txt, .tpl-bands > .tpl-band:first-of-type .tpl-band-txt { padding-top: max(270px, calc(100vh - 305px)); padding-bottom: 16px; }
.tpl-band-more p { margin: 10px 0 6px; }
.tpl-band-more nav a { min-height: 34px; }
/* accueil (21/11/2026) : intitulés encore plus bas ; au survol, sous-pages côte à côte (sur une ou deux lignes) pour tenir dessous */
.tpl-band-txt, .tpl-bands > .tpl-band:first-of-type .tpl-band-txt { padding-top: max(270px, calc(100vh - 235px)); padding-bottom: 14px; }
.tpl-band-more p { margin: 8px 0 8px; font-size: 14px; line-height: 1.5; }
.tpl-band-more nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.tpl-band-more nav a { min-height: 30px; padding: 0 12px; border: 1px solid rgba(255,255,255,.4); border-left-width: 1px; border-radius: 999px; font-size: 14px; }
.tpl-band-more nav a:hover, .tpl-band-more nav a:focus-visible { border-color: #fff; background: rgba(255,255,255,.14); }

/* inscription & tarifs (21/11/2026, 1er jet) : abonnements en cartes, adhésion et licence dans un encadré, autres formules, massages */
.tpl-prices-page { gap: 22px; }
.tpl-prices-arts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.tpl-prices-arts > span { margin-right: 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b8176; }
.tpl-prices-arts a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.tpl-prices-arts a i { width: 8px; height: 8px; border-radius: 50%; background: var(--sc); }
.tpl-prices-arts a:hover { border-color: var(--sc); color: var(--sc); }
.tpl-prices-block { display: flex; flex-direction: column; gap: 12px; }
.tpl-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.tpl-plan { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 4px 16px rgba(40,30,20,.05); }
.tpl-plan-n { font-family: 'LocalPoliceCompany-2', Georgia, serif; font-size: 44px; line-height: 1; color: var(--accent, #6b4c8a); }
.tpl-plan-n small { font-size: 26px; }
.tpl-plan-what { font-size: 13px; line-height: 1.35; color: #6b635a; min-height: 2.7em; }
.tpl-plan-price { margin-top: 6px; font-size: 22px; font-weight: 700; color: var(--ink); }
.tpl-plan-per { font-size: 11.5px; color: #8b8176; }
.tpl-prices-note { margin: 0; font-size: 13.5px; color: #6b635a; }
.tpl-prices-plus { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #f3eee7; border-left: 4px solid var(--accent, #6b4c8a); }
.tpl-prices-plus > i { margin-top: 2px; font-size: 18px; color: var(--accent, #6b4c8a); }
.tpl-prices-plus > div { flex: 1; min-width: 0; }
.tpl-prices-plus ul, .tpl-prices-list { list-style: none; margin: 6px 0 0; padding: 0; }
.tpl-prices-plus li, .tpl-prices-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px dashed #ddd3c4; font-size: 14.5px; }
.tpl-prices-plus li:last-child, .tpl-prices-list li:last-child { border-bottom: 0; }
.tpl-prices-plus li > b, .tpl-prices-amount { flex: none; font-size: 15.5px; color: var(--ink); white-space: nowrap; }
.tpl-prices-plus em, .tpl-prices-list em { font-size: 13px; color: #8b8176; }
.tpl-prices-dur { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #f3eee7; font-size: 12px; font-weight: 600; color: #6b635a; white-space: nowrap; vertical-align: 1px; }
.tpl-prices-plus .tpl-prices-dur { background: #fff; }
.tpl-prices-dur i { font-size: 11px; }
.tpl-plan-dur { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; color: #6b635a; }
.tpl-plan-dur i { font-size: 11px; }
.tpl-prices-list { margin: 0; padding: 4px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tpl-prices-mass { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--sc); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: box-shadow .2s; }
.tpl-prices-mass:hover { box-shadow: 0 8px 22px rgba(40,30,20,.08); }
.tpl-prices-mass .tpl-cjk { font-size: 26px; color: var(--sc); }
.tpl-prices-mass > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.tpl-prices-mass small { font-size: 13px; color: #6b635a; }
.tpl-prices-mass > i { color: #b8ab98; } .tpl-prices-mass:hover > i { color: var(--sc); }
.tpl-prices-cta { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.tpl-back.is-main { background: var(--ink); border-color: var(--ink); color: #fff; }
.tpl-back.is-main:hover { background: #000; border-color: #000; }
.tpl-table .tpl-prices-dur { margin-left: 0; }

/* ===== page Lieux (21/11/2026) : un encart par lieu (photo et galerie, adresse, description, cours, liens) ===== */
.tpl-places-page { gap: 22px; }
.tpl-placenav { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-placenav a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.tpl-placenav a i { font-size: 11px; color: var(--c); }
.tpl-placenav a:hover { border-color: var(--c); color: var(--c); }
.tpl-placecard { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 4px 16px rgba(40,30,20,.05); scroll-margin-top: 84px; }
.tpl-placecard:target { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 40%, transparent), 0 10px 30px rgba(40,30,20,.10); }
.tpl-placecard-media { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tpl-placecard-img { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #f3eee6; }
.tpl-placecard-img > a, .tpl-placecard-img > .is-empty { display: block; width: 100%; height: 100%; }
.tpl-placecard-img a { cursor: zoom-in; }
.tpl-placecard-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tpl-placecard-img a:hover img { transform: scale(1.04); }
.tpl-placecard-img img.is-logo { object-fit: contain; padding: 18%; filter: grayscale(1); opacity: .55; }
.tpl-placecard-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tpl-placecard-title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; }
.tpl-placecard-addr { display: flex; align-items: baseline; gap: 8px; margin: -6px 0 0; color: #6b635a; font-size: 14px; }
.tpl-placecard-addr i { color: var(--c); font-size: 13px; }
.tpl-placecard-text { font-size: 14.5px; line-height: 1.65; }
.tpl-placecard-text p { margin: 0 0 .6em; } .tpl-placecard-text > :last-child { margin-bottom: 0; }
@media (max-width: 900px) {
	.tpl-placecard { grid-template-columns: minmax(0, 1fr); }
	.tpl-placecard-img { aspect-ratio: 16 / 10; }
}
/* page Lieux : les cours et la description sur toute la largeur de l'encart (21/11/2026) */
/* boutons ronds Itinéraire et Site du lieu, en haut à droite de l'encart */
.tpl-placecard { position: relative; }
.tpl-placecard-links { position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; }
.tpl-roundbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid #ddd3c4; border-radius: 50%; background: #fff; color: var(--ink); font-size: 15px; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.tpl-roundbtn:hover { border-color: var(--c); background: var(--c); color: #fff; }
/* page Lieux : cours du lieu dans un popover (21/11/2026) : bouton calendrier à la couleur de la rubrique, ligne de résumé */
.tpl-roundbtn { cursor: pointer; font: inherit; }
.tpl-roundbtn.is-cal { border-color: var(--c); background: var(--c); color: #fff; }
.tpl-roundbtn.is-cal:hover, .tpl-roundbtn.is-cal[aria-expanded="true"] { filter: brightness(1.1); }
.tpl-placecard-title { padding-right: 150px; }
.tpl-placesum { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; max-width: 100%; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #faf7f2; color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer; }
.tpl-placesum > i:first-child { color: var(--c); }
.tpl-placesum span { overflow: hidden; color: #6b635a; text-overflow: ellipsis; white-space: nowrap; }
.tpl-placesum span::before { content: '·'; margin-right: 8px; color: #b8ab98; }
.tpl-placesum > i:last-child { font-size: 10px; color: #b8ab98; transition: transform .2s; }
.tpl-placesum:hover { border-color: var(--c); } .tpl-placesum:hover > i:last-child { transform: translateX(2px); color: var(--c); }
.tpl-placepop { position: absolute; z-index: 20; top: 66px; right: 16px; width: max-content; min-width: 280px; max-width: calc(100% - 32px); max-height: 70vh; overflow: auto; padding: 14px 16px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(40,30,20,.18); }
.tpl-placepop[hidden] { display: none; }
.tpl-placepop-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; padding-right: 30px; }
.tpl-placepop-head b { font-size: 15px; }
.tpl-placepop-head span { overflow: hidden; color: #8b8176; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tpl-placepop-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #8b8176; cursor: pointer; }
.tpl-placepop-x:hover { background: #f3eee7; color: var(--ink); }
.tpl-placesched { width: 100%; border-collapse: collapse; font-size: 13.5px; white-space: nowrap; }	/* une ligne par cours, sans retour à la ligne (le popover prend la largeur du contenu) */
.tpl-placesched td, .tpl-placesched tbody th { padding: 4px 10px 4px 0; text-align: left; vertical-align: baseline; }
.tpl-placesched tbody tr.is-first:not(:first-child) td, .tpl-placesched tbody tr.is-first:not(:first-child) th { padding-top: 10px; }
.tpl-placesched tbody th { width: 74px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8b8176; white-space: nowrap; }
.tpl-placesched .tpl-sched-h { width: 96px; font-weight: 500; color: #4a433d; }
.tpl-placepop-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--c); font-size: 13px; font-weight: 600; text-decoration: none; }
@media (max-width: 640px) {
	.tpl-placepop { position: fixed; top: auto; right: 0; bottom: 0; left: 0; width: auto; max-height: 75vh; border-radius: 18px 18px 0 0; }
}

/* pied de page collé en bas de l'écran, toujours visible : le contenu défile dessous (23/11/2026) */
.tpl-foot { position: sticky; bottom: 0; z-index: 5; align-items: center; padding-top: 14px; padding-bottom: 14px; background: rgba(255,253,249,.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 -8px 24px rgba(43,38,34,.07); }
.tpl-foot nav { align-items: center; }
.tpl-foot a { text-decoration: none; }
.tpl-foot a:hover, .tpl-foot-btn:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tpl-foot-btn { padding: 0; border: 0; background: none; color: #5e564d; font: inherit; cursor: pointer; }
@media (max-width: 900px) { .tpl-foot { padding: 10px 20px; gap: 6px 16px; } .tpl-foot nav { gap: 6px 14px; } }

/* pages légales : mentions légales, politique de confidentialité (23/11/2026, www/_ui/tpl.legal.php) */
.tpl-legalnav { margin: 18px 0 8px; }
.tpl-legalnav a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1.5px solid #ddd3c4; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.tpl-legalnav a:hover { border-color: #b8ab98; }
.tpl-legalnav a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.lg-text { max-width: 860px; }
.lg-sec { margin-top: 22px; padding: 24px 28px 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; scroll-margin-top: 90px; }
.lg-sec h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.3; color: var(--ink); }
.lg-sec ul { margin: 0 0 14px; padding-left: 20px; }
.lg-sec li { margin-bottom: 6px; }
.lg-sec a { color: var(--c); }
.lg-facts { list-style: none; padding: 0 !important; display: grid; gap: 0; border-top: 1px solid var(--line); }
.lg-facts li { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: baseline; gap: 12px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.lg-facts li > span { color: #8b8176; font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1.5; }	/* intitulé et texte sur la même ligne de base (23/11/2026) */
.lg-table { overflow-x: auto; margin: 4px 0 16px; border: 1px solid var(--line); border-radius: 10px; }
.lg-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.lg-table th, .lg-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lg-table thead th { background: #faf7f1; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8b8176; white-space: nowrap; }
.lg-table tbody tr:last-child td { border-bottom: 0; }
.lg-table td:first-child { font-weight: 600; min-width: 150px; }
.lg-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--c); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.lg-btn:hover { filter: brightness(1.08); }
.lg-updated { margin: 18px 0 0; color: #8b8176; font-size: 13px; }
@media (max-width: 640px) { .lg-facts li { grid-template-columns: minmax(0, 1fr); gap: 2px; } .lg-sec { padding: 18px 18px 6px; } }
.lg-uses { display: grid; gap: 12px; margin: 4px 0 16px; }
.lg-use { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fdfbf7; }
.lg-use h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.lg-use dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: 14px; line-height: 1.5; }
.lg-use dt { color: #8b8176; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding-top: 2px; }
.lg-use dd { margin: 0; }
.lg-sec:first-child { margin-top: 8px; }
@media (max-width: 640px) { .lg-use dl { grid-template-columns: minmax(0, 1fr); } }

/* fenêtre de choix des cookies (23/11/2026, www/_ui/tpl.consent.php) : en bas à droite, au-dessus du pied de page, sans bloquer la page */
.tpl-consent { position: fixed; right: 24px; bottom: 74px; z-index: 60; width: min(440px, calc(100vw - 32px)); padding: 20px 22px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fffdf9; color: var(--ink); box-shadow: 0 18px 48px rgba(29,25,22,.22); font-family: Montserrat, system-ui, sans-serif; font-size: 14px; line-height: 1.55; opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.tpl-consent.is-on { opacity: 1; transform: none; }
.tpl-consent[hidden] { display: none; }
.tpl-consent-t { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.tpl-consent-t i { color: #b0703c; margin-right: 4px; }
.tpl-consent-x { margin: 0 0 14px; color: #4a433d; }
.tpl-consent-x a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tpl-consent-more { display: grid; gap: 8px; margin: 0 0 14px; }
.tpl-consent-more[hidden] { display: none; }
.tpl-consent-opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.tpl-consent-opt.is-locked { cursor: default; opacity: .75; }
.tpl-consent-opt b { display: block; font-size: 14px; }
.tpl-consent-opt small { display: block; color: #8b8176; font-size: 12.5px; line-height: 1.4; }
.tpl-consent-opt input { flex: none; width: 20px; height: 20px; accent-color: #2b2622; }
.tpl-consent-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-consent-btn { flex: 1 1 0; min-height: 42px; padding: 0 12px; border: 1.5px solid #2b2622; border-radius: 10px; background: #fff; color: #2b2622; font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.tpl-consent-btn:hover { background: #f3eee7; }
.tpl-consent-btn.is-main { background: #2b2622; color: #fff; }
.tpl-consent-btn.is-main:hover { background: #3d3630; }
.tpl-consent-btn[hidden] { display: none; }
body.tpl-home .tpl-consent { bottom: 24px; }
@media (max-width: 640px) { .tpl-consent { right: 16px; bottom: 16px; } .tpl-consent-btn { flex: 1 1 100%; } }
.tpl-consent-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #8b8176; cursor: pointer; }
.tpl-consent-close:hover { background: #f3eee7; color: var(--ink); }
.tpl-consent-close[hidden] { display: none; }

/* page introuvable (23/11/2026, www/notfound.php) : les rubriques en cartes, les pages pratiques */
.tpl-nf-sub { margin: 14px 0 26px; font-size: 17px; color: #4a433d; }
.tpl-nf-arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tpl-nf-art { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 108px; padding: 18px 20px; border-radius: 14px; background: var(--c); color: #fff; text-decoration: none; overflow: hidden; }
.tpl-nf-art .tpl-cjk { font-size: 22px; opacity: .85; }
.tpl-nf-art b { margin-top: auto; font-size: 17px; font-weight: 600; }
.tpl-nf-art i { position: absolute; right: 18px; bottom: 20px; font-size: 14px; opacity: .8; transition: transform .2s; }
.tpl-nf-art:hover { color: #fff; filter: brightness(1.08); } .tpl-nf-art:hover i { transform: translateX(3px); }

/* intitulés des textes (23/11/2026) : sous-intitulé sous un titre (haut de page, bloc, enseignant, bas de page) ; titre d'un bas de page s'il est saisi */
.tpl-subtitle { margin: 4px 0 0; color: var(--ink-soft, #6b635b); font-size: 17px; line-height: 1.45; }
.tpl-head .tpl-subtitle { flex: 1 0 100%; margin: -7px 0 0; line-height: 1.3; }	/* resserré sous l'intitulé (23/11/2026) */
.tpl-part-head .tpl-subtitle, .tpl-prof .tpl-subtitle { margin-top: 0; font-size: 15px; line-height: 1.3; }
.tpl-foot-head { margin: 32px 0 10px; }
.tpl-foot-head .tpl-title { margin: 0; font-size: 32px; line-height: 1.15; color: var(--c, var(--ink)); }

/* page Láo Gōng (23/11/2026) : parcours des enseignants en entier ; les pratiques sur une ligne (chaque domaine aussi large que ses cartes) */
.tpl-prof-rest { padding-top: 12px; border-top: 1px solid var(--line); }
.tpl-lgprat-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tpl-lgprat-line .tpl-lgprat-card { padding: 14px 12px 12px 14px; gap: 2px; }
.tpl-lgprat-line .tpl-lgprat-card b { font-size: 15px; line-height: 1.25; }
.tpl-lgprat-line .tpl-lgprat-card small { margin-top: 4px; padding-right: 0; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8b8176; }
.tpl-lgprat-line .tpl-lgprat-card i { top: auto; bottom: 12px; right: 12px; }
@media (max-width: 760px) { .tpl-lgprat-line { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* images des textes : un clic les agrandit (visualiseur, tpl.js ; 23/11/2026) */
.tpl-prose img.is-zoom { cursor: zoom-in; }	/* petites images (puces, icônes) : non */

/* Horaires, vue liste (23/11/2026) : lignes filtrées repliées (les colonnes gardent leur largeur, prof et lieu ne bougent plus) ; prof et lieu sur une ligne, cliquables */
.tpl-sched tbody tr.is-off { visibility: collapse; }
.tpl-sched-1l { white-space: nowrap; }
.tpl-sched-d { white-space: nowrap; }	/* discipline sur une ligne, l'intitulé du cours dessous */
.tpl-sched-t { display: block; padding-left: 17px; line-height: 1.35; }
.tpl-sched td, .tpl-sched tbody th { padding-right: 8px; }
.tpl-sched td { font-size: 13px; }
.tpl-sched tbody th { width: auto; font-size: 16px; }
.tpl-sched-h { width: auto; }
.tpl-sched-lnk { color: inherit; text-decoration: none; border-bottom: 1px dotted #b8ab98; }
.tpl-sched-lnk:hover { color: var(--c, var(--ink)); border-bottom-color: currentColor; }

/* commentaires d'un dossier (www/_ui/page.comments.php), sur le site : aux couleurs du gabarit (23/11/2026, comme CFDT-SG) */
.lgc.is-tpl { margin: 28px 0 0; padding: 24px 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.lgc.is-tpl .lgc-head { align-items: center; }
.lgc.is-tpl .lgc-head h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-family: 'LocalPoliceCompany-2', Georgia, serif; font-size: 32px; font-weight: 400; letter-spacing: -.5px; line-height: 1.1; color: var(--c, var(--ink)); }
.lgc.is-tpl .lgc-head h3 i { margin: 0; font-size: 20px; opacity: 1; color: var(--c, #8b8176); }
.lgc.is-tpl .lgc-sub { color: #8b8176; font-size: 13px; }
.lgc.is-tpl .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border: 1.5px solid #ddd3c4; border-radius: 999px; background: #fff; color: var(--ink); font: 600 14px Montserrat, system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; }
.lgc.is-tpl .btn:hover { border-color: #b8ab98; }
.lgc.is-tpl .btn-secondary { border-color: var(--ink); background: var(--ink); color: #fff; }
.lgc.is-tpl .btn-secondary:hover { background: #4a433c; border-color: #4a433c; }
.lgc.is-tpl .btn-light { border-color: transparent; background: transparent; color: #6b635a; }
.lgc.is-tpl .btn-light:hover { border-color: #ddd3c4; background: #fff; color: var(--ink); }
.lgc.is-tpl .btn:disabled { opacity: .45; cursor: not-allowed; }
.lgc.is-tpl .lgc-card { padding: 14px 18px; border-radius: 12px; background: var(--paper); }
.lgc.is-tpl .lgc-top { color: #8b8176; font-size: 13px; }
.lgc.is-tpl .lgc-top b { color: var(--ink); font-size: 14px; }
.lgc.is-tpl .lgc-av { border-color: var(--line); color: var(--ink); }
.lgc.is-tpl .lgc-card p, .lgc.is-tpl .lgc-reply p { font-size: 15px; line-height: 1.65; }
.lgc.is-tpl .lgc-reply { margin-left: 28px; border-left: 3px solid var(--c, #8b8176); border-radius: 0 12px 12px 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.lgc.is-tpl .lgc-reply .lgc-av { border-color: var(--c, #8b8176); background: var(--c, #8b8176); }
.lgc.is-tpl .lgc-form { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.lgc.is-tpl .lgc-form > label, .lgc.is-tpl .lgc-who legend { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.lgc.is-tpl .form-control { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid #ddd3c4; border-radius: 10px; background: #fff; color: var(--ink); font: 15px/1.5 Montserrat, system-ui, sans-serif; box-sizing: border-box; }
.lgc.is-tpl .form-control:focus { outline: none; border-color: var(--c, #8b8176); box-shadow: 0 0 0 3px rgba(139,129,118,.18); }
.lgc.is-tpl .lgc-fields label { color: #6b635a; font-size: 13px; }
.lgc.is-tpl .lgc-note, .lgc.is-tpl .lgc-charter { color: #8b8176; font-size: 12px; }
.lgc.is-tpl .lgc-done { border-color: #cfe1c4; background: #f1f7ec; border-radius: 12px; }
.lgc.is-tpl .lgc-done-ic { background: #5d8a3a; }
.lgc.is-tpl .lgc-done h4 { font-size: 17px; }
.lgc.is-tpl { scroll-margin-top: 100px; }

/* dossiers : documents et vidéos associés dans Cerise, à la fin du dossier : petits boutons des évènements (.tpl-evm), en ligne, ouverts dans le visualiseur (23/11/2026) */
.tpl-dossier-media { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 16px; }
.tpl-dossier-media.is-both { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpl-dmedia-col { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tpl-dossier-media:not(.is-both) .tpl-evmedia { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.tpl-dossier-media .tpl-evm span:not(.tpl-evm-cover) { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-dmedia-title { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6b635a; }
.tpl-dmedia-title i { font-size: 12px; color: var(--ec, #8b8176); }
@media (max-width: 640px) { .tpl-dossier-media.is-both, .tpl-dossier-media:not(.is-both) .tpl-evmedia { grid-template-columns: minmax(0, 1fr); } }
/* vidéo MP4 dans le visualiseur (type html, 23/11/2026) */
.fancybox-slide--html .tpl-fbvid { padding: 0; background: transparent; max-width: min(1100px, 92vw); width: 100%; }
.tpl-fbvid video { display: block; width: 100%; max-height: 82vh; border-radius: 6px; background: #000; }
.tpl-dossier-media .tpl-evm { gap: 8px; padding: 0 10px; } .tpl-dossier-media .tpl-evm.is-vid { padding-left: 5px; }
.tpl-dossier-media .tpl-evm .tpl-evm-cover { width: 32px; height: 26px; }

/* carte cadeau des massages (25/11/2026) : encart sous les tarifs, photo du texte à gauche, bouton vers le formulaire (sujet « Carte cadeau ») */
.tpl-gift { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; border: 1px solid color-mix(in srgb, var(--c) 22%, #e8e0d4); border-left: 4px solid var(--c); background: linear-gradient(120deg, color-mix(in srgb, var(--c) 7%, #fff), #fff 60%); }
.tpl-gift.has-img { grid-template-columns: 160px minmax(0, 1fr); }
.tpl-gift-img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #f3eee7; box-shadow: 0 6px 18px rgba(40,30,20,.12); transform: rotate(-2deg); transition: transform .3s; }
.tpl-gift-img:hover { transform: rotate(0); }
.tpl-gift-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tpl-gift-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tpl-gift-tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: color-mix(in srgb, var(--c) 85%, #000); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tpl-gift-title { margin: 0; font-family: 'LocalPoliceCompany-2', Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--ink, #2b2622); }
.tpl-gift-sub { margin: -4px 0 0; font-size: 14px; color: #8b8176; }
.tpl-gift .tpl-prose { margin: 0; }
.tpl-gift .tpl-prose > :last-child { margin-bottom: 0; }
.tpl-gift-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; min-height: 40px; padding: 0 18px; white-space: nowrap; border-radius: 999px; background: var(--c); color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s; }
.tpl-gift-btn:hover, .tpl-gift-btn:focus-visible { background: color-mix(in srgb, var(--c) 82%, #000); transform: translateY(-1px); outline: none; }
.tpl-prices-mass small i { margin-right: 4px; color: var(--sc); }
@media (max-width: 760px) { .tpl-gift.has-img { grid-template-columns: minmax(0, 1fr); } }

/* cartes cadeaux (25/11/2026) : bouton de la barre du haut, page Cartes cadeaux, rappel sur la page d'une discipline, carte d'Inscription & tarifs */
.tpl-prat a.is-gift { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1.5px solid #e3d6c2; border-radius: 50%; color: #c8963e; font-size: 16px; }
.tpl-prat a.is-gift:hover, .tpl-prat a.is-gift.is-on { border-color: #c8963e; background: #c8963e; color: #fff; }
.tpl-giftnav a i { width: 8px; height: 8px; border-radius: 50%; background: var(--sc); }
.tpl-giftnav a:hover { border-color: var(--sc); color: var(--sc); }
.tpl-giftsec { display: flex; flex-direction: column; gap: 16px; margin-top: 0; scroll-margin-top: 90px; }	/* écart de la page seul après le texte de présentation (25/11/2026) */
.tpl-giftsec + .tpl-giftsec { margin-top: 10px; }
.tpl-giftsec-h { display: flex; align-items: baseline; gap: 10px; margin: 0; font-family: 'LocalPoliceCompany-2', Georgia, serif; font-weight: 400; font-size: 30px; color: var(--ink, #2b2622); }
.tpl-giftsec-h .tpl-cjk { font-size: 22px; color: var(--c); }
.tpl-giftcard { scroll-margin-top: 90px; }
.tpl-giftcard.has-img { grid-template-columns: 190px minmax(0, 1fr); align-items: start; }
.tpl-giftcard .tpl-gift-img { margin-top: 6px; }
.tpl-giftf { list-style: none; align-self: stretch; margin: 6px 0 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--c) 18%, #eee5d8); }
.tpl-giftf li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed #e6ddd0; }
.tpl-giftf-t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; min-width: 0; font-size: 14.5px; }
.tpl-giftf-t .tpl-prices-dur { margin-left: 8px; }
.tpl-giftf-p { font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tpl-gift-btn.is-small { min-height: 34px; margin: 0; padding: 0 14px; font-size: 13px; }
.tpl-giftrecall { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border: 1px solid color-mix(in srgb, var(--c) 22%, #e8e0d4); border-left: 4px solid var(--c); border-radius: 14px; background: linear-gradient(120deg, color-mix(in srgb, var(--c) 7%, #fff), #fff 60%); color: var(--ink, #2b2622); text-decoration: none; transition: box-shadow .2s; scroll-margin-top: 90px; }
.tpl-giftrecall:hover { box-shadow: 0 8px 22px rgba(40,30,20,.08); }
.tpl-giftrecall-img, .tpl-giftrecall-ico { flex: none; width: 72px; height: 54px; border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--c) 12%, #fff); display: grid; place-items: center; color: var(--c); font-size: 22px; }
.tpl-giftrecall-img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-giftrecall-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tpl-giftrecall-t small { color: color-mix(in srgb, var(--c) 85%, #000); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tpl-giftrecall-t b { font-size: 16px; }
.tpl-giftrecall-t em { color: #6b635a; font-size: 13px; font-style: normal; }
.tpl-giftrecall-go { flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--c); font-size: 13.5px; font-weight: 600; }
.tpl-prices-mass.is-gift { margin-top: 10px; }
@media (max-width: 900px) { .tpl-giftcard.has-img { grid-template-columns: minmax(0, 1fr); } .tpl-giftrecall-go { display: none; } }
.tpl-giftcard { row-gap: 14px; }
.tpl-giftcard > .tpl-giftf, .tpl-giftcard > .tpl-gift-btn { grid-column: 1 / -1; }
.tpl-giftcard > .tpl-gift-btn { justify-self: start; }
.tpl-giftcard > .tpl-giftf { margin: 0; }
.tpl-gifts-page .tpl-intro + .tpl-giftsec, .tpl-gifts-page .tpl-intro + .tpl-giftnav { margin-top: -12px; }

/* évènements, vue entière (25/11/2026) : en-tête date encadrée + type et intitulé, comme la vue liste */
.tpl-evcard-head { display: flex; align-items: center; gap: 14px; }
.tpl-evcard-head .tpl-evdate { flex: none; width: 58px; }
.tpl-evcard-ht { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* dossier : photo de la page à gauche, texte à droite (26/11/2026) */
.tpl-dossier-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.tpl-dossier-photo { position: sticky; top: 90px; margin: 0; }
.tpl-dossier-photo a { display: block; border-radius: 14px; overflow: hidden; }
.tpl-dossier-photo img { display: block; width: 100%; height: auto; }
.tpl-dossier-body .tpl-dossier-text { margin-top: 0; }
@media (max-width: 900px) { .tpl-dossier-body { grid-template-columns: minmax(0, 1fr); } .tpl-dossier-photo { position: static; max-width: 420px; } }
