/* À L'Envi : boutons d'action homogènes, survols lisibles, infobulles. */

/* Lignes de dates : sans le détail des horaires sous la date. */
.row > span:first-child > span[style*="font-size: 13px"], .row .horaires { display: none !important; }

/* Boutons d'action des lignes : même hauteur (36 px), même cadre. */
.acts { gap: 8px !important; align-items: center; }
.acts > a, .acts > .resa, a.ui-btn, button.ui-btn {
	display: inline-flex !important; align-items: center; gap: 8px; height: 34px; padding: 0 14px;
	border: 1px solid #1a1a1a; background: transparent; color: #1a1a1a !important;
	text-decoration: none !important; font-size: 15px; line-height: 1; white-space: nowrap; box-sizing: border-box;
	transition: background-color .15s, color .15s;
}
.acts > a[style*="width: 44px"] { padding: 0; justify-content: center; }
.acts > a:hover, .acts > a:focus-visible, .acts > .resa:hover, a.ui-btn:hover, a.ui-btn:focus-visible, button.ui-btn:hover, button.ui-btn:focus-visible { background: #1a1a1a; color: #F5F1E9 !important; }
.acts .cal > summary, .acts .sh-ic, .acts [style*="width: 44px"], .row > a[style*="width: 44px"] {
	width: 34px !important; height: 34px !important; box-sizing: border-box;
}
.row > a[style*="width: 44px"] { border: 1px solid #1a1a1a; color: #1a1a1a !important; }
.row > a[style*="width: 44px"]:hover { background: #1a1a1a; color: #F5F1E9 !important; }

/* Agenda et partage : l'icône reste visible au survol. */
.cal:hover { background: transparent !important; }
.cal > summary { transition: background-color .15s, color .15s; }
.cal > summary:hover, .cal > summary:focus-visible, .cal[open] > summary { background: #1a1a1a !important; color: #F5F1E9 !important; }
.sh-ic:hover, .sh-ic:focus-visible { background: #1a1a1a !important; color: #F5F1E9 !important; }
.cal-menu { right: 0; left: auto; }

/* Boutons pleins et boutons texte : survol cohérent. */
.btn { transition: background-color .15s, color .15s, border-color .15s; }
.btn[style*="background: #1a1a1a"]:hover { background: #a8381f !important; border-color: #a8381f !important; color: #fff !important; }
button[style*="rgba(0,0,0,.2)"]:hover { background: rgba(0,0,0,.55) !important; }

/* Infobulles. */
.ui-tip {
	position: fixed; z-index: 99999; pointer-events: none; max-width: 260px;
	background: #1a1a1a; color: #F5F1E9; font: 13px/1.35 gill-sans-nova, 'Gill Sans Nova', 'Gill Sans', 'Gill Sans MT', Cabin, sans-serif;
	padding: 6px 10px; border-radius: 3px; box-shadow: 0 4px 14px rgba(0,0,0,.18);
	opacity: 0; transform: translateY(2px); transition: opacity .12s, transform .12s;
}
.ui-tip.on { opacity: 1; transform: none; }
@media (hover: none) { .ui-tip { display: none; } }
@media (max-width: 760px) { .acts > a, .acts > .resa { height: 34px; } }

/* Boutons plus fins dans tout le site : filet de 1 px, hauteur 34 px. */
[style*="border: 1.5px solid"], .sh-ic, .cal > summary, .btn, .cal { border-width: 1px !important; }
.cal { border: 0 !important; }
.btn { min-height: 34px !important; padding: 0 14px !important; font-size: 14px; letter-spacing: .02em; gap: 8px; }
.btn[style*="flex-direction: column"] { flex-direction: row !important; align-items: center !important; padding: 0 14px !important; gap: 0 !important; }
.btn[style*="flex-direction: column"] > span + span { font-size: 13px !important; opacity: .7; }
.btn[style*="flex-direction: column"] > span + span::before { content: "·"; margin: 0 8px; }
button[style*="width: 44px; height: 44px"] { width: 34px !important; height: 34px !important; font-size: 16px !important; }
summary[style*="width: 44px"], a[style*="width: 44px; height: 44px"] { width: 34px !important; height: 34px !important; }
button[style*="min-height: 44px"] { min-height: 34px !important; }
.ui-autres { margin-left: 4px; min-height: 34px; padding: 0 12px; border: 1px dashed #1a1a1a; background: transparent; color: #1a1a1a; font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.ui-autres:hover, .ui-autres[aria-expanded="true"] { background: #1a1a1a; color: #f5f0e8; border-style: solid; }
.ui-extra-chip { opacity: .75; border-style: dashed !important; }
.ui-extra-chip:hover { opacity: 1; }


/* Fenêtre newsletter */
.ui-nl { width: min(560px, calc(100vw - 32px)); padding: 40px 40px 36px; border: 0; background: #fff; color: #1a1a1a; font-family: gill-sans-nova, 'Gill Sans Nova', 'Gill Sans', 'Gill Sans MT', Cabin, sans-serif; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.ui-nl::backdrop { background: rgba(26,26,26,.55); }
.ui-nl h2 { margin: 0 0 8px; font-weight: 400; font-size: 30px; line-height: 1.1; }
.ui-nl p { margin: 0 0 24px; font-size: 16px; color: #3d3833; }
.ui-nl form { display: flex; flex-direction: column; gap: 16px; }
.ui-nl-row { display: flex; gap: 16px; flex-wrap: wrap; }
.ui-nl-row > label { flex: 1 1 180px; }
.ui-nl label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.ui-nl input { min-height: 44px; border: 1px solid #1a1a1a; background: #fff; padding: 0 12px; font: inherit; font-size: 15px; }
.ui-nl-acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
.ui-nl-go { height: 34px; padding: 0 16px; border: 1px solid #1a1a1a; background: #1a1a1a; color: #F5F1E9; font: inherit; font-size: 15px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.ui-nl-go:hover, .ui-nl-go:focus-visible { background: #a8381f; border-color: #a8381f; }
.ui-nl-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: #1a1a1a; }
.ui-nl-x:hover { color: #a8381f; }
@media (max-width: 560px) { .ui-nl { padding: 32px 20px 24px; } }
.ui-nl.is-archive { width: min(760px, calc(100vw - 32px)); padding: 56px 24px 24px; }
.ui-nl-archive { display: flex; flex-direction: column; gap: 16px; }
.ui-nl-archive[hidden], .ui-nl form[hidden], .ui-nl [hidden] { display: none !important; }
.ui-nl-frame { overflow: hidden; border: 1px solid rgba(26,26,26,.16); background: #fff; height: min(70vh, 720px); }
.ui-nl-archive iframe { display: block; width: 100%; height: 100%; border: 0; }
/* masque la barre anglaise de Mailchimp (Subscribe, Past Issues, Translate, RSS) */
.ui-nl-frame.is-letter iframe { height: calc(100% + 44px); margin-top: -44px; }
button.ui-btn { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid #1a1a1a; background: transparent; color: #1a1a1a; font: inherit; font-size: 15px; cursor: pointer; transition: background-color .15s, color .15s; }
button.ui-btn:hover, button.ui-btn:focus-visible { background: #1a1a1a; color: #F5F1E9; }
.ui-nl-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.ui-nl .ui-nl-ht { font-size: 26px; margin: 8px 0 0; }
.ui-nl-items { list-style: none; margin: 0; padding: 0; max-height: min(60vh, 560px); overflow: auto; border-top: 1px solid rgba(26,26,26,.16); }
.ui-nl-items li { border-bottom: 1px solid rgba(26,26,26,.16); }
.ui-nl-items button { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; width: 100%; padding: 14px 4px; border: 0; background: transparent; text-align: left; font: inherit; font-size: 17px; color: #1a1a1a; cursor: pointer; }
.ui-nl-items button:hover, .ui-nl-items button:focus-visible { color: #a8381f; }
.ui-nl-items time { flex: 0 0 150px; font-size: 14px; color: #5c554f; }
.ui-nl-wait { padding: 14px 4px; color: #5c554f; }

/* Pied de page compact : deux lignes */
footer > div:first-child { padding: 24px 40px 20px !important; gap: 14px 40px !important; align-items: center; }
footer > div:first-child > div:first-child { flex: 1 1 440px !important; flex-direction: row !important; align-items: center; gap: 20px !important; }
footer > div:first-child > div:first-child > img { width: 112px !important; flex: none; }
footer > div:first-child > div:first-child > span { font-size: 13px; line-height: 1.4; max-width: 380px; }
footer > div:first-child > nav { flex: 0 1 auto !important; flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 4px 22px !important; }
footer > div:first-child > nav a { min-height: 32px !important; padding: 0 !important; }
footer > div:first-child > nav:last-of-type { gap: 2px 6px !important; }
footer > div:first-child > nav:last-of-type a { font-size: 0 !important; width: 32px; height: 32px; justify-content: center; gap: 0 !important; }
footer > div:first-child > nav:last-of-type a svg { width: 19px; height: 19px; }
footer .foot-legal { border-top: 1px solid rgba(26,26,26,.12); padding-top: 12px; font-size: 13px; }
@media (max-width: 760px) {
	footer > div:first-child { padding: 20px !important; }
	footer > div:first-child > div:first-child { flex-wrap: wrap; }
}
.ui-share-l { display: flex; flex-direction: column; gap: 6px; font-size: 13px; margin-top: 16px; }
.ui-share textarea { border: 1px solid #1a1a1a; padding: 10px 12px; font: inherit; font-size: 15px; line-height: 1.45; resize: vertical; }
.ui-share-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ui-share .ui-share-n { margin: 16px 0 0; font-size: 13px; color: #5c554f; }
a.ui-btn, button.ui-btn { text-decoration: none !important; font-family: inherit; cursor: pointer; }
.ui-btn svg { flex: none; }
.ui-btn-s { height: 28px !important; padding: 0 10px !important; font-size: 13px !important; }
/* bandeau coloré des fiches : boutons sur fond orange */
[style*="background: #E8"] .ui-btn, [style*="background: #e8"] .ui-btn { border-color: #1a1a1a; }
.ui-sh, .sh-ic { width: 34px !important; height: 34px !important; min-height: 0 !important; padding: 0 !important; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex: none; border: 1px solid #1a1a1a !important; background: transparent; color: #1a1a1a; cursor: pointer; transition: background-color .15s, color .15s; }
.ui-sh:hover, .ui-sh:focus-visible, .sh-ic:hover, .sh-ic:focus-visible { background: #1a1a1a; color: #F5F1E9; }
a.ui-btn-light, button.ui-btn-light { border-color: rgba(255,255,255,.85) !important; color: #fff !important; background: rgba(0,0,0,.15); }
a.ui-btn-light:hover, button.ui-btn-light:hover, a.ui-btn-light:focus-visible { background: #fff !important; color: #1a1a1a !important; }
.ui-btn > span { text-decoration: none !important; }
.tmap-pin[aria-pressed="true"] { background: #1a1a1a !important; color: #F5F1E9 !important; }
/* Tournées : boutons d'une date tous à 34 px, pas de filet sous la dernière date */
article .btn, article details.cal > summary { height: 34px !important; min-height: 34px !important; box-sizing: border-box !important; }
article details.cal > summary { width: 34px !important; border-width: 1px !important; }
article div[style*="border-bottom: 1px solid rgba(26,26,26,.08)"]:last-child { border-bottom: 0 !important; }
/* pied de page : liens texte et icônes sur la même ligne */
footer > div:first-child > nav { align-items: center !important; align-self: center; }
footer > div:first-child > nav a { display: inline-flex !important; align-items: center; height: 32px; line-height: 1 !important; }
.ui-btn { display: inline-flex !important; align-items: center; height: 34px !important; padding: 0 14px !important; border: 1px solid #1a1a1a !important; box-sizing: border-box; }
.ui-btn.ui-btn-s { height: 28px !important; padding: 0 10px !important; }
.ui-btn.ui-btn-light { border-color: rgba(255,255,255,.85) !important; }
.ui-nl.ui-doc { width: min(1100px, calc(100vw - 32px)); padding: 20px 24px 24px; }
.ui-doc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0 40px 16px 0; }
.ui-doc .ui-doc-head h2 { margin: 0; font-size: 22px; flex: 1 1 300px; }
.ui-doc-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.ui-doc-frame { height: min(78vh, 900px); border: 1px solid rgba(26,26,26,.16); background: #f4f1ec; }
.ui-doc-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
