@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Nunito+Sans:wght@400;600;700&display=swap');

/* ===== Charte ZILBER ===== */
:root {
  color-scheme: light;
  --ink: #15233f;
  --muted: #5a6b86;
  --soft: #8a97ad;
  --paper: #f2f6fd;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --line: rgba(10, 47, 115, 0.12);
  --accent: #005FEA;
  --accent-strong: #0A2F73;
  --coral: #FF8A00;
  --leaf: #2d6a4f;
  --amber: #FF8A00;
  --shadow: 0 18px 52px rgba(10, 47, 115, 0.10);
  --soft-shadow: 0 10px 30px rgba(10, 47, 115, 0.07);
  --radius: 12px;
  font-family: 'Poppins', 'Nunito Sans', ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #eaf1ff;
    --muted: #a9b6cf;
    --soft: #8390aa;
    --paper: #0a1426;
    --surface: rgba(20, 32, 56, 0.78);
    --surface-solid: #122039;
    --line: rgba(160, 190, 255, 0.14);
    --accent: #4d8bff;
    --accent-strong: #9cc0ff;
    --shadow: 0 20px 62px rgba(0, 0, 0, 0.40);
    --soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #15233f;
  --muted: #5a6b86;
  --soft: #8a97ad;
  --paper: #f2f6fd;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --line: rgba(10, 47, 115, 0.12);
  --accent: #005FEA;
  --accent-strong: #0A2F73;
  --coral: #FF8A00;
  --shadow: 0 18px 52px rgba(10, 47, 115, 0.10);
  --soft-shadow: 0 10px 30px rgba(10, 47, 115, 0.07);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eaf1ff;
  --muted: #a9b6cf;
  --soft: #8390aa;
  --paper: #0a1426;
  --surface: rgba(20, 32, 56, 0.78);
  --surface-solid: #122039;
  --line: rgba(160, 190, 255, 0.14);
  --accent: #4d8bff;
  --accent-strong: #9cc0ff;
  --coral: #FF8A00;
  --shadow: 0 20px 62px rgba(0, 0, 0, 0.40);
  --soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.14), transparent 28%),
    linear-gradient(215deg, rgba(217, 81, 44, 0.09), transparent 34%),
    linear-gradient(35deg, rgba(45, 106, 79, 0.08), transparent 42%),
    repeating-linear-gradient(110deg, rgba(38, 35, 30, 0.025) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, var(--surface-solid) 0%, var(--paper) 58%, var(--surface-solid) 100%);
  letter-spacing: 0;
}

a { color: inherit; }

.home-shell,
.app-shell,
.setup-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.setup-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.nav {
  position: sticky;
  top: 12px;
  z-index: 1200; /* au-dessus des cartes Leaflet (panes/controles ~700-1100) */
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: color-mix(in srgb, var(--surface-solid) 72%, transparent);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--surface-solid);
  box-shadow: 0 8px 22px rgba(33, 31, 27, 0.075);
}

.nav a.active,
.nav a:hover {
  background: var(--surface-solid);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(33, 31, 27, 0.075);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink) !important;
}

.brand-mark {
  display: inline-block;
  width: 40px;
  height: 44px;
  background: url('assets/zilber-logo.png') center / contain no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero {
  max-width: 880px;
  padding: 40px 0 24px;
}

.home-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 95, 234, 0.14), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(255, 138, 0, 0.12), transparent 28%),
    linear-gradient(180deg, var(--surface-solid) 0%, var(--paper) 100%);
}

.home-page .nav {
  margin-bottom: 18px;
}

.home-shell {
  width: min(1240px, calc(100% - 40px));
}

.home-hero-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  min-height: 0;
  padding: 0 0 28px;
}

.home-hero-copy h1 {
  max-width: 780px;
  font-size: clamp(2.85rem, 5.4vw, 5.2rem);
}

.home-hero-copy > p:not(.kicker) {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.52;
}

.home-hero-copy .searchbar-hero {
  margin-left: 0;
  width: min(100%, 860px);
  max-width: 860px;
  border-width: 2px;
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--accent) 10%, transparent),
    0 28px 72px rgba(33, 31, 27, 0.18);
}

.home-hero-copy .quick-searches {
  justify-content: flex-start;
}

.home-visual-stack {
  display: grid;
  gap: 14px;
}

.home-visual-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-visual-card,
.home-lead-image,
.home-image-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.20), rgba(217, 81, 44, 0.12)),
    var(--surface);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--soft-shadow);
}

.home-visual-card {
  align-content: end;
  min-height: 250px;
  padding: 18px;
  border-radius: 24px;
}

.home-visual-main {
  min-height: 270px;
}

.home-visual-card::after,
.home-image-card::after,
.home-lead-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
}

.home-visual-card img,
.home-lead-image img,
.home-image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-visual-card span,
.home-visual-card strong,
.home-image-card span,
.home-image-card strong {
  position: relative;
  z-index: 1;
}

.home-visual-card span,
.home-image-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-visual-card strong {
  margin-top: 8px;
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  line-height: 1.04;
}

.home-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

.home-news-feature,
.home-actions-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.home-news-feature {
  padding: 18px;
}

.home-lead-article {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.home-lead-image {
  min-height: 260px;
  border-radius: 18px;
}

.home-lead-image span {
  position: relative;
  z-index: 1;
  place-self: center;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 900;
}

.home-lead-article h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.home-lead-article a,
.home-news-list a,
.home-actions-panel a {
  color: inherit;
  text-decoration: none;
}

.home-lead-article p:not(.kicker) {
  color: var(--muted);
  line-height: 1.55;
}

.home-news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.home-news-list a {
  display: grid;
  gap: 6px;
}

.home-news-list span,
.home-actions-panel span {
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-news-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.12;
}

.home-actions-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.home-actions-panel a {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.home-actions-panel a + a {
  border-top: 1px solid var(--line);
}

.home-actions-panel strong {
  font-size: 1.18rem;
}

.home-actions-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.home-radio-strip {
  margin: 8px 0 24px;
}

.home-radio-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(116px, 138px);
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 14px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-color: color-mix(in srgb, var(--accent) 42%, transparent) transparent;
  scrollbar-width: thin;
}

.home-radio-rail::-webkit-scrollbar {
  height: 8px;
}

.home-radio-rail::-webkit-scrollbar-track {
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.home-radio-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 48%, var(--soft));
}

.home-radio-pill {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 126px;
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--soft-shadow);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.home-radio-pill:hover {
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.home-radio-pill span {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  padding: 10px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(242, 241, 237, 0.72)),
    var(--surface-solid);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.home-radio-pill img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: contain;
}

.home-radio-pill strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-media-grid {
  margin-bottom: 42px;
}

.home-cinema-strip {
  margin-top: -16px;
}

.home-rail-shell {
  position: relative;
  isolation: isolate;
}

.home-rail-shell::before,
.home-rail-shell::after {
  position: absolute;
  top: 0;
  bottom: 18px;
  z-index: 2;
  width: 76px;
  content: "";
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.home-rail-shell::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), transparent);
}

.home-rail-shell::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), transparent);
}

.home-rail-shell.at-start::before,
.home-rail-shell.at-end::after {
  opacity: 0;
}

.home-card-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 22vw, 280px);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 58px 18px 2px;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-color: color-mix(in srgb, var(--accent) 46%, transparent) transparent;
  scrollbar-width: thin;
}

.home-cinema-rail {
  grid-auto-columns: clamp(178px, 16vw, 220px);
}

.home-card-rail::-webkit-scrollbar {
  height: 10px;
}

.home-card-rail::-webkit-scrollbar-track {
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
}

.home-card-rail::-webkit-scrollbar-thumb {
  border: 2px solid color-mix(in srgb, var(--surface-solid) 88%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 52%, var(--soft));
}

.home-card-rail::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.home-image-card {
  align-content: end;
  min-height: 300px;
  padding: 16px;
  border-radius: 22px;
  scroll-snap-align: start;
  transform: translateZ(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-image-card:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  box-shadow: 0 20px 48px rgba(33, 31, 27, 0.13);
  transform: translateY(-3px);
}

.home-image-card.poster-mode {
  min-height: 330px;
}

.home-cinema-rail .home-image-card.poster-mode {
  min-height: 340px;
}

.home-image-card strong {
  margin-top: 7px;
  font-size: 1.08rem;
  line-height: 1.12;
}

.home-rail-control {
  position: absolute;
  top: calc(50% - 13px);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
  box-shadow: var(--soft-shadow);
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 950;
  cursor: pointer;
  transition: opacity 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.home-rail-control.prev {
  left: 8px;
}

.home-rail-control.next {
  right: 8px;
}

.home-rail-control:hover:not(:disabled) {
  background: var(--surface-solid);
  transform: translateY(-1px);
}

.home-rail-control:disabled {
  opacity: 0.32;
  cursor: default;
}

.command-hero {
  display: grid;
  justify-items: center;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.kicker {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.45rem, 8vw, 5.8rem);
  line-height: 0.94;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.searchbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  max-width: 820px;
  margin-top: 28px;
  border: 1px solid rgba(0, 109, 119, 0.24);
  border-radius: var(--radius);
  background: var(--surface-solid);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.searchbar-hero {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  width: min(100%, 760px);
  max-width: 760px;
  margin: 30px auto 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  box-shadow:
    0 2px 8px rgba(33, 31, 27, 0.06),
    0 18px 48px rgba(33, 31, 27, 0.12);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.searchbar-hero:focus-within {
  border-color: rgba(0, 109, 119, 0.42);
  box-shadow:
    0 0 0 4px rgba(0, 109, 119, 0.11),
    0 22px 58px rgba(33, 31, 27, 0.16);
  transform: translateY(-1px);
}

.search-icon {
  display: grid;
  place-items: center;
  color: var(--soft);
  font-size: 1.45rem;
  font-weight: 700;
}

.searchbar.compact {
  max-width: none;
  margin: 0;
}

.searchbar input,
.searchbar button {
  min-height: 58px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.searchbar input {
  min-width: 0;
  padding: 0 18px;
  outline: 0;
  color: var(--ink);
}
.searchbar input::placeholder { color: var(--soft); opacity: 1; }

.searchbar-hero input,
.searchbar-hero button {
  min-height: 64px;
}

.searchbar-hero input {
  padding-left: 0;
  font-size: 1.04rem;
}

.searchbar button {
  padding: 0 22px;
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 900;
}

.searchbar-hero button {
  margin: 8px 8px 8px 0;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface-solid);
}

.searchbar-hero button:hover {
  background: var(--accent-strong);
}

.quick-searches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.quick-searches a,
.text-link {
  color: var(--accent-strong);
  font-weight: 880;
  text-decoration: none;
}

.quick-searches a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.quick-searches a:hover,
.text-link:hover {
  color: var(--coral);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 16px;
}

.stats-grid article,
.panel,
.result-card,
.bento-card,
.radio-player-x,
.station-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.stats-grid article {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.stats-grid strong {
  font-size: 1.8rem;
}

.stats-grid span,
.url {
  color: var(--muted);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, auto);
  gap: 12px;
  margin: 16px 0;
}

.bento-card {
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 312px;
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.14), transparent 48%),
    var(--surface);
}

.bento-card span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bento-card strong {
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.home-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.65fr);
  gap: 14px;
  margin: 10px 0 16px;
  align-items: start;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title h2 {
  max-width: 720px;
}

.news-panel {
  min-height: 100%;
}

.news-list {
  display: grid;
  gap: 10px;
}

.lead-news {
  padding: 18px;
  border: 1px solid rgba(0, 109, 119, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.10), transparent 58%),
    var(--surface-solid);
}

.lead-news .result-title {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.lead-news p,
.news-row p {
  margin: 7px 0 0;
}

.news-row {
  display: grid;
  gap: 2px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.side-stack {
  display: grid;
  gap: 14px;
}

.newspaper-page {
  background:
    linear-gradient(90deg, rgba(24, 24, 22, 0.025) 0 1px, transparent 1px 26px),
    linear-gradient(180deg, var(--surface-solid) 0%, var(--paper) 100%);
}

.newspaper-shell {
  width: min(1240px, calc(100% - 40px));
}

.newspaper-masthead {
  display: grid;
  gap: 10px;
  margin: 4px 0 26px;
  padding: 20px 0 18px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-align: center;
}

.newspaper-masthead p,
.newspaper-masthead div {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.newspaper-masthead h1 {
  max-width: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 9vw, 7.8rem);
  line-height: 0.86;
}

.newspaper-masthead div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.newspaper-front {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.85fr);
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--ink);
}

.front-lead {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: 20px;
}

.front-lead h2,
.front-side h3,
.newspaper-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
}

.front-lead h2 {
  font-size: clamp(2.3rem, 5.6vw, 5.2rem);
}

.front-lead a,
.front-side a,
.newspaper-card a,
.news-briefs a {
  color: inherit;
  text-decoration: none;
}

.front-lead p:not(.news-rubric),
.front-side p:not(.news-rubric),
.newspaper-card p:not(.news-rubric) {
  color: var(--muted);
  line-height: 1.54;
}

.news-rubric {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.front-lead time,
.front-side time,
.newspaper-card time {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 850;
}

.front-side {
  display: grid;
  gap: 16px;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.front-side article + article {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.front-side h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
}

.news-visual {
  position: relative;
  display: grid;
  min-height: 154px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.18), rgba(217, 81, 44, 0.12)),
    var(--surface);
  color: var(--ink);
}

.news-visual-large {
  min-height: 430px;
}

.news-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-visual span {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 900;
}

.news-briefs {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 22px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-briefs h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.news-briefs > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
}

.news-briefs article {
  display: grid;
  gap: 6px;
}

.news-briefs span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.news-briefs a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  font-weight: 750;
  line-height: 1.12;
}

.newspaper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 18px;
  padding-bottom: 56px;
}

.newspaper-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.newspaper-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.newspaper-card p {
  margin: 9px 0;
}

.useful-panel,
.stats-panel {
  background: var(--surface-solid);
}

.action-list {
  display: grid;
  gap: 10px;
}

.action-list a,
.mini-grid a {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
}

.action-list a:hover,
.mini-grid a:hover {
  border-color: rgba(0, 109, 119, 0.28);
  background: var(--surface-solid);
}

.action-list span,
.mini-grid span,
.empty-state {
  color: var(--muted);
}

.compact-stats {
  display: grid;
  gap: 8px;
}

.compact-stats span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.compact-stats strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(132px, auto);
}

.service-grid .bento-card {
  min-height: 132px;
}

.agenda-strip {
  margin: 16px 0;
}

.agenda-page {
  background:
    radial-gradient(circle at 12% 6%, rgba(217, 81, 44, 0.12), transparent 30%),
    radial-gradient(circle at 90% 16%, rgba(0, 109, 119, 0.12), transparent 28%),
    linear-gradient(180deg, var(--surface-solid) 0%, var(--paper) 100%);
}

:root[data-theme="dark"] .agenda-page {
  background:
    radial-gradient(circle at 12% 6%, rgba(217, 81, 44, 0.14), transparent 30%),
    radial-gradient(circle at 90% 16%, rgba(91, 192, 200, 0.12), transparent 28%),
    linear-gradient(180deg, #11110f 0%, #171510 100%);
}

:root[data-theme="dark"] .agenda-featured,
:root[data-theme="dark"] .agenda-card-x,
:root[data-theme="dark"] .agenda-filters a,
:root[data-theme="dark"] .agenda-hero-x > span {
  background: rgba(34, 32, 28, 0.82);
}

:root[data-theme="dark"] .agenda-meta-line span,
:root[data-theme="dark"] .agenda-card-body-x > span {
  background: rgba(91, 192, 200, 0.13);
}

.agenda-hero-x {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 16px;
}

.agenda-hero-x h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 8vw, 6.4rem);
}

.agenda-hero-x p:not(.kicker) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.agenda-hero-x > span {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 850;
}

.agenda-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 18px;
  padding: 2px 0 10px;
  scrollbar-width: none;
}

.agenda-filters::-webkit-scrollbar {
  display: none;
}

.agenda-filters a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 850;
  text-decoration: none;
}

.agenda-filters a.active,
.agenda-filters a:hover {
  background: var(--ink);
  color: var(--surface-solid);
}

.agenda-featured {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 38px);
  align-items: stretch;
  margin-bottom: 20px;
  padding: clamp(14px, 2.5vw, 22px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.agenda-featured-media,
.agenda-card-media {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.20), rgba(217, 81, 44, 0.18)),
    var(--surface-solid);
  color: var(--muted);
  text-decoration: none;
}

.agenda-featured-media {
  min-height: 360px;
}

.agenda-featured-media img,
.agenda-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.agenda-featured:hover img,
.agenda-card-x:hover img {
  transform: scale(1.035);
}

.agenda-featured-media > span:not(.agenda-date-badge),
.agenda-card-media > span:not(.agenda-date-badge) {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 24px;
  font-weight: 900;
}

.agenda-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  min-width: 62px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 251, 0.92);
  color: #181816;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.agenda-date-badge strong {
  font-size: 1.45rem;
  line-height: 1;
}

.agenda-date-badge small {
  font-size: 0.72rem;
  font-weight: 950;
}

.agenda-featured-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(8px, 2vw, 22px);
}

.agenda-featured-copy h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.agenda-featured-copy a,
.agenda-card-body-x a {
  color: inherit;
  text-decoration: none;
}

.agenda-featured-copy p:not(.kicker) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.agenda-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agenda-meta-line span,
.agenda-card-body-x > span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 850;
}

.agenda-grid-x {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 54px;
}

.agenda-card-x {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.agenda-card-media {
  min-height: 210px;
  border-radius: 0;
}

.agenda-card-body-x {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.agenda-card-body-x p {
  margin: 0;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.agenda-card-body-x h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.18;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.panel {
  padding: 22px;
}

.pipeline-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.flow {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.topbar {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.topbar .nav {
  margin-bottom: 0;
}

.results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.results-head h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.results-head > span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--muted);
  font-weight: 850;
  white-space: nowrap;
}

.results,
.cards-grid {
  display: grid;
  gap: 12px;
}

.cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-card {
  padding: 18px;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.result-card:hover {
  transform: translateY(-1px);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.result-title {
  color: var(--ink);
  font-size: 1.13rem;
  font-weight: 860;
  line-height: 1.22;
  text-decoration: none;
}

.result-title:hover {
  color: var(--accent-strong);
}

.result-card p {
  margin: 7px 0 0;
  line-height: 1.52;
}

.search-page,
.map-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 109, 119, 0.12), transparent 32%),
    linear-gradient(180deg, var(--surface-solid) 0%, var(--paper) 100%);
  overflow-x: hidden;
}

.search-shell,
.map-shell {
  width: min(1240px, calc(100% - 40px));
}

.search-hero-page {
  display: grid;
  justify-items: center;
  margin: 4px auto 20px;
  text-align: center;
}

.search-hero-page h1 {
  max-width: 960px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
}

.search-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.search-summary span,
.search-result-meta span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.search-results-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 54px;
}

.search-result-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.search-result-media {
  display: grid;
  overflow: hidden;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.16), rgba(217, 81, 44, 0.10)),
    var(--surface-solid);
  color: var(--accent-strong);
  text-decoration: none;
}

.search-result-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-media span {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.search-result-body {
  min-width: 0;
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.search-result-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 1px 0 4px;
}

.search-result-card h2 a,
.search-url {
  color: inherit;
  text-decoration: none;
}

.search-result-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-url {
  display: block;
  overflow: hidden;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.map-head h1 {
  max-width: 840px;
  font-size: clamp(2.7rem, 7vw, 6rem);
}

.map-head p:not(.kicker) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.5;
}

.map-head > span {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 850;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 680px;
  padding-bottom: 48px;
}

.map-sidebar,
.map-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.map-sidebar {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  max-height: min(760px, calc(100vh - 190px));
  overflow: hidden;
}

.map-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.map-categories button,
.map-place-list button {
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.map-categories button {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.map-categories button.active {
  background: var(--ink);
  color: var(--surface-solid);
}

.map-searchbox {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.map-searchbox input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 760;
  outline: none;
}

.map-searchbox input:focus {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent);
}

.map-place-list {
  display: grid;
  align-content: start;
  gap: 0;
  overflow: auto;
}

.map-place-list button {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.map-place-list strong {
  line-height: 1.18;
}

.map-place-list button:hover {
  background: var(--surface-solid);
}

.map-place-list button[hidden] {
  display: none;
}

.map-place-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

.map-place-tag {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-strong) !important;
  font-size: 0.74rem !important;
  font-weight: 900;
  text-transform: uppercase;
}

.map-place-info {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
}

.map-place-source {
  font-size: 0.76rem !important;
  font-weight: 820;
}

.map-panel {
  position: sticky;
  top: 86px;
  overflow: hidden;
  min-height: 0;
}

.leaflet-map {
  width: 100%;
  height: min(760px, calc(100vh - 190px));
  min-height: 520px;
  overflow: hidden;
}

.leaflet-map .empty-state {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.leaflet-popup-content a {
  color: #006d77;
  font-weight: 850;
}

.alert {
  padding: 12px 14px;
  border-radius: var(--radius);
}

.alert.error {
  background: rgba(217, 81, 44, 0.12);
  color: #9f3219;
}

.alert.ok {
  background: rgba(45, 106, 79, 0.13);
  color: var(--leaf);
}

button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface-solid);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(127, 127, 127, 0.14);
}

.radio-player-x {
  position: relative;
  display: grid;
  gap: 24px;
  overflow: hidden;
  min-height: 320px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, #191b22 0%, #0b0c10 58%, #231017 100%);
  color: #fff;
  box-shadow: 0 32px 90px rgba(16, 20, 24, 0.34);
}

.radio-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 59, 48, 0.14), transparent 32%),
    radial-gradient(circle at 90% 18%, rgba(255, 149, 0, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfaf7 0%, #f2f1ed 100%);
}

:root[data-theme="dark"] .radio-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 69, 58, 0.16), transparent 32%),
    radial-gradient(circle at 90% 18%, rgba(255, 159, 10, 0.10), transparent 26%),
    linear-gradient(180deg, #0d0e11 0%, #161719 100%);
}

.radio-shell {
  width: min(1180px, calc(100% - 40px));
}

.radio-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(18px, 4vw, 36px);
  align-items: stretch;
  margin: 18px 0 22px;
}

.radio-copy {
  display: grid;
  align-content: center;
  min-height: 320px;
}

.radio-copy h1 {
  max-width: 520px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.radio-copy p:not(.kicker) {
  max-width: 420px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.5;
}

.radio-player-x::before {
  position: absolute;
  inset: auto -12% -42% 35%;
  height: 76%;
  content: "";
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 69, 58, 0.34), transparent 68%);
  pointer-events: none;
}

.radio-player-x::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 34%);
  pointer-events: none;
}

.radio-now,
.radio-controls {
  position: relative;
  z-index: 1;
}

.radio-now {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 26px);
}

.station-orb,
.station-mini {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--surface-solid);
  font-weight: 950;
}

.station-orb {
  width: clamp(108px, 18vw, 164px);
  height: clamp(108px, 18vw, 164px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.06)),
    #15171d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 24px 70px rgba(0, 0, 0, 0.38);
}

.station-orb img,
.station-mini img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: contain;
}

.radio-player-x h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.radio-player-x p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.radio-player-x audio {
  display: none;
}

.radio-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.radio-play {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 1.35rem;
  font-weight: 950;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.radio-wave {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 54px;
}

.radio-wave i {
  display: block;
  width: 8px;
  height: 16px;
  border-radius: 99px;
  background: linear-gradient(180deg, #ff453a, #ff9f0a);
  opacity: 0.92;
  transform-origin: center;
}

.radio-wave i:nth-child(2) { height: 28px; }
.radio-wave i:nth-child(3) { height: 40px; }
.radio-wave i:nth-child(4) { height: 24px; }
.radio-wave i:nth-child(5) { height: 46px; }
.radio-wave i:nth-child(6) { height: 30px; }
.radio-wave i:nth-child(7) { height: 18px; }

.radio-player-x.is-playing .radio-wave i {
  animation: radioPulse 900ms ease-in-out infinite alternate;
}

.radio-player-x.is-playing .radio-wave i:nth-child(2n) {
  animation-duration: 680ms;
}

.radio-player-x.is-playing .radio-wave i:nth-child(3n) {
  animation-duration: 1120ms;
}

@keyframes radioPulse {
  from { transform: scaleY(0.55); opacity: 0.62; }
  to { transform: scaleY(1.12); opacity: 1; }
}

.radio-player-x a {
  justify-self: end;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.station-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 48px;
}

.station-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 104px;
  padding: 14px;
  border-radius: 22px;
  color: var(--ink);
  text-align: left;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.station-card strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1.02rem;
  line-height: 1.18;
}

.station-text > span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 780;
}

.station-mini {
  width: 52px;
  height: 52px;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(242, 241, 237, 0.72));
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.station-card.active {
  border-color: rgba(255, 69, 58, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 69, 58, 0.12), transparent 58%),
    var(--surface-solid);
}

.station-card.active .station-mini {
  background: #fff;
}

.station-card:hover {
  background: var(--surface-solid);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.cinema-page {
  --ink: #f7f7f2;
  --muted: #b7b6ae;
  --soft: #85847d;
  --paper: #08090a;
  --surface: rgba(24, 25, 27, 0.78);
  --surface-solid: #111214;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #68d8ff;
  --accent-strong: #b8efff;
  --coral: #ff8a5c;
  background:
    radial-gradient(circle at 18% 4%, rgba(104, 216, 255, 0.22), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255, 138, 92, 0.16), transparent 28%),
    linear-gradient(180deg, #08090a 0%, #111214 48%, #070707 100%);
}

:root[data-theme="light"] .cinema-page {
  --ink: #181816;
  --muted: #6b6760;
  --soft: #8c867b;
  --paper: #f2f1ed;
  --surface: rgba(255, 255, 251, 0.86);
  --surface-solid: #fffffb;
  --line: rgba(30, 29, 25, 0.12);
  --accent: #006d77;
  --accent-strong: #004f57;
  background:
    radial-gradient(circle at 18% 4%, rgba(0, 109, 119, 0.14), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(217, 81, 44, 0.10), transparent 28%),
    linear-gradient(180deg, #fffffb 0%, #f2f1ed 100%);
}

:root[data-theme="light"] .cinema-nav {
  background: rgba(255, 255, 251, 0.82);
}

:root[data-theme="light"] .cinema-nav a.active,
:root[data-theme="light"] .cinema-nav a:hover {
  background: var(--surface-solid);
}

:root[data-theme="light"] .cinema-filter {
  border-color: var(--line);
  background: rgba(255, 255, 251, 0.88);
  box-shadow: var(--soft-shadow);
}

:root[data-theme="light"] .poster-art {
  border-color: rgba(30, 29, 25, 0.10);
  background: linear-gradient(135deg, rgba(0, 109, 119, 0.12), rgba(217, 81, 44, 0.10));
  box-shadow: 0 18px 42px rgba(33, 31, 27, 0.14);
}

:root[data-theme="light"] .poster-card:hover .poster-art {
  border-color: rgba(0, 109, 119, 0.34);
  box-shadow: 0 28px 64px rgba(33, 31, 27, 0.20);
}

:root[data-theme="light"] .film-profile,
:root[data-theme="light"] .movie-detail {
  border-color: rgba(30, 29, 25, 0.10);
  background:
    linear-gradient(90deg, rgba(255, 255, 251, 0.97) 0%, rgba(255, 255, 251, 0.90) 50%, rgba(255, 255, 251, 0.62) 100%),
    var(--active-poster),
    #fffffb;
  background-position: center right;
  background-size: cover;
  box-shadow: 0 28px 80px rgba(33, 31, 27, 0.14);
}

:root[data-theme="light"] .film-profile::before,
:root[data-theme="light"] .movie-detail::before {
  background:
    linear-gradient(180deg, transparent 44%, rgba(255, 255, 251, 0.78) 100%),
    linear-gradient(90deg, rgba(255, 255, 251, 0.40), transparent 58%);
}

:root[data-theme="light"] .film-info p,
:root[data-theme="light"] .movie-copy p:not(.kicker) {
  color: #4f4b44;
}

:root[data-theme="light"] .film-meta {
  color: #36332e;
}

:root[data-theme="light"] .film-poster-xl img,
:root[data-theme="light"] .film-poster-xl span,
:root[data-theme="light"] .movie-backdrop img,
:root[data-theme="light"] .movie-backdrop span {
  background: rgba(255, 255, 251, 0.74);
  box-shadow: 0 24px 60px rgba(33, 31, 27, 0.24);
}

:root[data-theme="light"] .movie-backdrop {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 251, 0.24));
}

:root[data-theme="light"] .movie-actions button {
  border-color: var(--line);
  background: rgba(255, 255, 251, 0.78);
  color: var(--ink);
}

:root[data-theme="light"] .cinema-showtime {
  border-color: rgba(30, 29, 25, 0.10);
  background: rgba(255, 255, 251, 0.78);
  box-shadow: var(--soft-shadow);
}

:root[data-theme="light"] .time-chips span {
  background: rgba(0, 109, 119, 0.08);
  color: #1d2625;
}

.cinema-shell {
  width: min(1320px, calc(100% - 40px));
}

.cinema-nav {
  background: rgba(18, 19, 21, 0.72);
}

.cinema-nav {
  overflow-x: auto;
  scrollbar-width: none;
}

.cinema-nav::-webkit-scrollbar {
  display: none;
}

.cinema-nav a.active,
.cinema-nav a:hover {
  background: rgba(255, 255, 255, 0.10);
}

.cinema-filter {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.cinema-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 8px 0 14px;
}

.cinema-hero h1 {
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  letter-spacing: 0;
}

.cinema-hero p:not(.kicker) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.cinema-library-head {
  margin: 22px 0;
}

.cinema-library-head h1 {
  font-size: clamp(2.5rem, 7vw, 5.6rem);
}

.cinema-library-head p:not(.kicker) {
  color: var(--muted);
  font-size: 1.05rem;
}

.poster-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr));
  gap: clamp(12px, 2vw, 18px);
  padding-bottom: 60px;
}

.poster-card {
  display: grid;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.poster-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(104, 216, 255, 0.20), rgba(255, 138, 92, 0.16));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.30);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.poster-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-art b {
  font-size: 3rem;
}

.poster-card:hover .poster-art {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(104, 216, 255, 0.58);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.44);
}

.poster-card strong {
  overflow-wrap: anywhere;
  font-size: 0.98rem;
  line-height: 1.22;
}

.poster-card small {
  color: var(--muted);
  font-weight: 800;
}

.back-link {
  display: inline-flex;
  margin: 4px 0 18px;
  color: var(--accent-strong);
  font-weight: 900;
  text-decoration: none;
}

.film-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: 560px;
  padding: clamp(28px, 6vw, 76px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.96), rgba(8, 9, 10, 0.62)),
    var(--active-poster),
    #101114;
  background-position: center right;
  background-size: cover;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
  overflow: hidden;
}

.film-profile::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 54%, rgba(8, 9, 10, 0.72));
  pointer-events: none;
}

.film-info,
.film-poster-xl {
  position: relative;
  z-index: 1;
}

.film-info h1 {
  font-size: clamp(2.3rem, 7vw, 5.5rem);
  overflow-wrap: anywhere;
}

.film-info p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.58;
}

.film-meta,
.imdb-badge {
  font-weight: 900;
}

.imdb-badge {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(245, 197, 24, 0.14);
  color: #f5c518 !important;
  white-space: nowrap;
}

.film-poster-xl {
  justify-self: center;
}

.film-poster-xl img,
.film-poster-xl span {
  display: grid;
  place-items: center;
  width: min(340px, 100%);
  max-height: min(68vh, 520px);
  aspect-ratio: 2 / 3;
  border-radius: 20px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.58);
}

.film-poster-xl span {
  font-size: 5rem;
  font-weight: 950;
}

.film-trailer {
  margin-top: 18px;
  padding: 0;
}

.trailer-fallback {
  margin: 10px 0 0;
  color: var(--muted);
}

.trailer-fallback a {
  color: var(--accent-strong);
  font-weight: 900;
}

.film-showtimes {
  margin-top: 24px;
}

.cinema-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.movie-rail {
  order: 2;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 23vw);
  grid-template-columns: none;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 18px;
  scroll-snap-type: x proximity;
}

.movie-tile {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 10px;
  min-height: 165px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    #141518;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.movie-tile:hover,
.movie-tile.active {
  transform: translateY(-3px);
  border-color: rgba(104, 216, 255, 0.58);
  background:
    linear-gradient(145deg, rgba(104, 216, 255, 0.22), rgba(255, 138, 92, 0.08)),
    #1b1d21;
}

.movie-poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(104, 216, 255, 0.95), rgba(255, 138, 92, 0.92));
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.55rem;
  font-weight: 950;
  overflow: hidden;
  z-index: 0;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
}

.movie-tile::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.86) 100%);
}

.movie-tile strong {
  position: relative;
  z-index: 2;
  align-self: end;
  font-size: 1.02rem;
  line-height: 1.18;
}

.movie-tile small {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-weight: 800;
}

.movie-detail {
  order: 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.68fr);
  grid-template-areas:
    "copy poster"
    "trailer poster"
    "showtimes showtimes";
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.94) 0%, rgba(8, 9, 10, 0.80) 44%, rgba(8, 9, 10, 0.24) 100%),
    var(--active-poster),
    rgba(18, 19, 21, 0.82);
  background-position: center right;
  background-size: cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.movie-detail::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 0%, rgba(8, 9, 10, 0.22) 54%, rgba(8, 9, 10, 0.82) 100%),
    linear-gradient(90deg, rgba(105, 0, 75, 0.24), transparent 45%);
  pointer-events: none;
}

.movie-backdrop {
  position: relative;
  z-index: 1;
  grid-area: poster;
  display: grid;
  min-height: 420px;
  place-items: center;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04));
}

.movie-backdrop span,
.movie-backdrop img {
  display: grid;
  place-items: center;
  width: min(270px, 62%);
  height: auto;
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--ink);
  font-size: 4.2rem;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.movie-backdrop img {
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.58);
}

.movie-copy {
  position: relative;
  z-index: 1;
  grid-area: copy;
  display: grid;
  gap: 10px;
  align-content: center;
  padding: clamp(28px, 5vw, 64px);
}

.movie-copy h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.movie-copy p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.movie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.movie-copy a,
.movie-actions button {
  justify-self: start;
  color: var(--accent-strong);
  font-weight: 900;
  text-decoration: none;
}

.movie-actions button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
  color: var(--ink);
}

/* Liens-boutons des actions (stream, fiches album/film) */
.movie-actions a:not(.tvplus-cta) {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 9px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-solid); color: var(--ink);
  font-weight: 800; text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.movie-actions a:not(.tvplus-cta):hover { border-color: var(--accent); color: var(--accent); }

.trailer-box {
  position: relative;
  z-index: 1;
  grid-area: trailer;
  padding: 0 clamp(28px, 5vw, 64px) 24px;
}

.trailer-box iframe,
.trailer-box video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  background: #000;
}

.showtime-panel {
  position: relative;
  z-index: 1;
  grid-area: showtimes;
  padding: 0 clamp(28px, 5vw, 64px) 30px;
  max-height: 340px;
  overflow: auto;
}

.showtime-panel h3 {
  margin: 0;
  font-size: 1.45rem;
}

.showtime-list {
  display: grid;
  gap: 12px;
}

.cinema-showtime {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.cinema-showtime > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cinema-showtime a {
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.time-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--ink);
  font-weight: 900;
}

.time-chips b {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 780;
}

@media (max-width: 1100px) {
  .film-profile {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 280px);
    min-height: 480px;
  }
}

@media (max-width: 920px) {
  .nav {
    align-items: stretch;
    flex-wrap: wrap;
    position: static;
  }

  .brand {
    flex: 1 0 100%;
  }

  .stats-grid,
  .cards-grid,
  .station-grid,
  .home-experience {
    grid-template-columns: 1fr;
  }

  .home-hero-v2,
  .home-content-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-v2 {
    min-height: 0;
  }

  .home-visual-stack {
    grid-row: auto;
  }

  .home-news-list {
    grid-template-columns: 1fr;
  }

  .home-rail-shell::before,
  .home-rail-shell::after,
  .home-rail-control {
    display: none;
  }

  .home-card-rail {
    grid-auto-columns: minmax(230px, 42vw);
    padding-right: 0;
    scroll-snap-type: x proximity;
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipeline-panel {
    grid-template-columns: 1fr;
  }

  .newspaper-front,
  .front-lead,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .map-sidebar {
    max-height: 360px;
  }

  .front-side {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 18px;
  }

  .news-briefs {
    grid-template-columns: 1fr;
  }

  .news-briefs > div,
  .newspaper-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agenda-featured {
    grid-template-columns: 1fr;
  }

  .agenda-featured-media {
    min-height: 320px;
  }

  .agenda-grid-x {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cinema-stage {
    grid-template-columns: 1fr;
  }

  .movie-rail {
    order: 2;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 38vw);
    grid-template-columns: none;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 12px;
  }

  .movie-detail {
    order: 1;
  }

  .cinema-library-head h1 {
    font-size: clamp(2.2rem, 10vw, 4.2rem);
  }

  .poster-wall {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .film-profile {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(8, 9, 10, 0.92), rgba(8, 9, 10, 0.80)),
      var(--active-poster),
      #101114;
    background-position: center top;
  }

  .film-poster-xl {
    justify-self: start;
    order: -1;
    width: min(220px, 58vw);
  }

  .film-info h1 {
    font-size: clamp(2.1rem, 10vw, 4.2rem);
  }

  .film-showtimes .section-title {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .home-shell,
  .app-shell,
  .setup-shell {
    width: min(100% - 28px, 1180px);
  }

  .home-shell {
    width: min(100% - 20px, 1240px);
  }

  .home-hero-v2 {
    gap: 18px;
    padding-top: 8px;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.6rem, 15vw, 4.6rem);
  }

  .home-hero-copy > p:not(.kicker) {
    font-size: 1rem;
  }

  .home-visual-main {
    min-height: 260px;
  }

  .home-visual-pair {
    grid-template-columns: 1fr;
  }

  .home-visual-card {
    min-height: 220px;
    border-radius: 18px;
  }

  .home-lead-article {
    grid-template-columns: 1fr;
  }

  .home-lead-image {
    min-height: 220px;
  }

  .home-lead-article h3 {
    font-size: clamp(1.7rem, 10vw, 2.8rem);
  }

  .home-card-rail {
    grid-auto-columns: minmax(210px, 76vw);
    padding: 2px 0 16px;
  }

  .search-shell,
  .map-shell {
    width: min(100% - 20px, 1240px);
  }

  .search-hero-page h1,
  .map-head h1 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .search-result-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
    border-radius: 14px;
  }

  .search-result-media {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .search-result-card h2 {
    font-size: 1.04rem;
  }

  .search-result-card p {
    font-size: 0.9rem;
  }

  .map-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-layout,
  .map-panel,
  .leaflet-map {
    min-height: 460px;
  }

  .map-layout {
    min-height: 0;
  }

  .map-panel,
  .leaflet-map {
    height: 460px;
  }

  .map-sidebar {
    border-radius: 16px;
  }

  .nav a:not(.brand) {
    flex: 1 1 auto;
    justify-content: center;
  }

  .searchbar,
  .searchbar.compact {
    grid-template-columns: 1fr;
  }

  .searchbar-hero {
    grid-template-columns: 44px minmax(0, 1fr);
    border-radius: 22px;
  }

  .searchbar-hero .search-icon {
    align-items: center;
  }

  .searchbar button {
    border-top: 1px solid var(--line);
  }

  .searchbar-hero button {
    grid-column: 1 / -1;
    margin: 0;
    border-radius: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    color: var(--accent-strong);
  }

  .radio-meta {
    align-items: flex-start;
  }

  .theme-toggle {
    flex: 1 1 auto;
  }

  .newspaper-shell {
    width: min(100% - 20px, 1240px);
  }

  .newspaper-masthead {
    margin-top: 0;
    padding: 16px 0 14px;
  }

  .newspaper-masthead h1 {
    font-size: clamp(2.55rem, 14vw, 4.8rem);
  }

  .newspaper-masthead div {
    gap: 6px 10px;
  }

  .news-visual-large {
    min-height: 260px;
  }

  .front-lead h2 {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .news-briefs > div,
  .newspaper-grid {
    grid-template-columns: 1fr;
  }

  .news-briefs {
    gap: 10px;
  }

  .newspaper-card {
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
  }

  .newspaper-card .news-visual {
    min-height: 112px;
  }

  .newspaper-card .news-visual span {
    width: 66px;
    height: 66px;
    font-size: 1.6rem;
  }

  .agenda-hero-x {
    align-items: flex-start;
    flex-direction: column;
  }

  .agenda-hero-x h1 {
    font-size: clamp(2.25rem, 12vw, 4rem);
  }

  .agenda-featured {
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .agenda-featured-media {
    min-height: 240px;
    border-radius: 14px;
  }

  .agenda-featured-copy {
    padding: 4px;
  }

  .agenda-featured-copy h2 {
    font-size: clamp(1.65rem, 9vw, 2.7rem);
  }

  .agenda-grid-x {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .agenda-card-x {
    border-radius: 16px;
  }

  .agenda-card-media {
    min-height: 220px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .bento-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 190px;
  }

  .cinema-shell {
    width: min(100% - 20px, 1320px);
  }

  .cinema-nav {
    flex-wrap: nowrap;
    margin-inline: -10px;
    padding-inline: 10px;
  }

  .cinema-nav .brand {
    flex: 0 0 auto;
  }

  .cinema-nav a:not(.brand) {
    flex: 0 0 auto;
  }

  .cinema-filter {
    margin-top: 10px;
  }

  .cinema-library-head {
    margin: 18px 0;
  }

  .cinema-library-head h1 {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .cinema-library-head p:not(.kicker) {
    font-size: 0.96rem;
  }

  .poster-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
    padding-bottom: 36px;
  }

  .poster-art {
    border-radius: 14px;
  }

  .poster-card {
    gap: 8px;
  }

  .poster-card strong {
    font-size: 0.9rem;
  }

  .poster-card small {
    font-size: 0.78rem;
  }

  .back-link {
    margin: 2px 0 12px;
  }

  .film-profile {
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
  }

  .film-poster-xl {
    width: min(170px, 52vw);
  }

  .film-poster-xl img,
  .film-poster-xl span {
    border-radius: 14px;
  }

  .film-info h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .film-info p {
    font-size: 0.95rem;
  }

  .imdb-badge {
    white-space: normal;
  }

  .movie-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .movie-actions a,
  .movie-actions button {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .film-trailer {
    margin-top: 14px;
  }

  .trailer-box iframe,
  .trailer-box video {
    border-radius: 12px;
  }

  .film-showtimes {
    margin-top: 18px;
  }

  .showtime-list {
    gap: 10px;
  }

  .cinema-showtime {
    padding: 12px;
    border-radius: 12px;
  }

  .cinema-showtime strong {
    overflow-wrap: anywhere;
  }

  .movie-rail {
    grid-auto-columns: minmax(210px, 76vw);
  }

  .movie-detail {
    min-height: 0;
  }

  .movie-backdrop {
    min-height: 190px;
  }

  .cinema-showtime > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .time-chips {
    display: grid;
    grid-template-columns: 1fr;
  }

  .time-chips span {
    justify-content: space-between;
    width: 100%;
    border-radius: 12px;
  }

  .time-chips b {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 920px) {
  .radio-shell {
    width: min(100% - 28px, 1180px);
  }

  .radio-hero {
    grid-template-columns: 1fr;
  }

  .radio-copy {
    min-height: 0;
  }

  .radio-copy h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .station-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .radio-shell {
    width: min(100% - 20px, 1180px);
  }

  .radio-hero {
    gap: 14px;
    margin-top: 12px;
  }

  .radio-player-x {
    min-height: 0;
    padding: 18px;
    border-radius: 22px;
  }

  .radio-now {
    display: grid;
    gap: 14px;
  }

  .station-orb {
    width: 112px;
    height: 112px;
    border-radius: 24px;
  }

  .radio-player-x h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .radio-controls {
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 18px;
  }

  .radio-player-x a {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  .radio-play {
    width: 56px;
    height: 56px;
  }

  .station-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 34px;
  }

  .station-card {
    min-height: 86px;
    border-radius: 18px;
  }
}

@media (min-width: 921px) {
  .home-page .home-hero-copy h1 {
    max-width: 720px;
    font-size: clamp(2.7rem, 4.6vw, 4.7rem);
    line-height: 0.94;
  }

  .home-page .home-hero-copy > p:not(.kicker) {
    margin-bottom: 14px;
  }

  .home-page .home-hero-copy .searchbar-hero {
    margin-top: 16px;
  }
}

.map-page,
.map-page .app-shell,
.map-page .map-layout,
.map-page .map-panel,
.map-page .leaflet-container {
  max-width: 100%;
  overflow-x: clip;
}

/* --- Footer page d'accueil (revision hierarchie 2026-06-10) --- */
.home-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 10px;
  padding: 26px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.home-footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 430px;
}

.home-footer-brand strong {
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.home-footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 4px;
}

.home-footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.home-footer-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.search-icon svg {
  display: block;
}

/* --- Navigation basse mobile (sticky) --- */
.bottom-nav {
  display: none;
}

@media (max-width: 767px) {
  .bottom-nav {
    position: fixed;
    z-index: 1205; /* au-dessus des cartes Leaflet */
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--surface-solid);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 26px rgba(20, 19, 16, 0.10);
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    border: 0;
    background: none;
    color: var(--muted);
    font: inherit;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
  }

  .bottom-nav-item.active {
    color: var(--accent);
  }

  .bottom-nav-item:active {
    background: rgba(0, 109, 119, 0.08);
  }

  .bottom-nav-icon {
    display: block;
    width: 22px;
    height: 22px;
  }

  .bottom-nav-icon svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  .bottom-nav-sheet {
    position: fixed;
    z-index: 1204;
    left: 10px;
    right: 10px;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 10px;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .bottom-nav-sheet[hidden] {
    display: none;
  }

  .bottom-nav-sheet .bottom-nav-item {
    padding: 10px 4px;
  }

  /* Laisser la place a la barre basse en bas de page */
  body.has-bottom-nav {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  /* La nav haute se reduit a la marque + bascule de theme :
     les liens passent dans la barre basse. */
  body.has-bottom-nav .nav > a:not(.brand) {
    display: none;
  }

  body.has-bottom-nav .nav {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}

/* --- Correctif debordement horizontal (nav mobile) --- */
@media (max-width: 767px) {
  body.has-bottom-nav .nav {
    gap: 8px;
  }

  /* La marque peut retrecir (ellipse) au lieu de pousser le bouton de
     theme hors de l'ecran sur les petites largeurs. */
  body.has-bottom-nav .nav .brand {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  body.has-bottom-nav .nav .brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.has-bottom-nav .nav .theme-toggle {
    flex: 0 0 auto;
  }
}

/* Garde-fou global : aucun element ne doit creer de glissement lateral
   de la page (les rails internes gardent leur propre defilement). */
html {
  overflow-x: clip;
}

/* Les URLs longues sans espaces ne doivent pas elargir les cartes
   au-dela de l'ecran (vu sur social.php en mobile). */
.result-card {
  min-width: 0;
  max-width: 100%;
}

.result-card .url,
.result-card p,
.result-card h2,
.result-card h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ============================================================
   Eye candy accueil (2026-06-11) : degrade titre, halos animes,
   stats vivantes, micro-interactions, reveal au scroll.
   ============================================================ */

/* -- Titre : accent degrade tropical -- */
.hero-grad {
  background: linear-gradient(92deg, var(--accent) 8%, #2d9aa5 38%, var(--coral) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* -- Halos lumineux animes derriere le hero -- */
.home-hero-v2 {
  position: relative;
}

.home-hero-v2::before,
.home-hero-v2::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}

.home-hero-v2::before {
  top: -90px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 109, 119, 0.34), transparent 70%);
  animation: hero-blob-a 16s ease-in-out infinite alternate;
}

.home-hero-v2::after {
  top: 30px;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(217, 81, 44, 0.26), transparent 70%);
  animation: hero-blob-b 19s ease-in-out infinite alternate;
}

@keyframes hero-blob-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}

@keyframes hero-blob-b {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-50px, 60px) scale(0.95); }
}

/* -- Stats vivantes sous la recherche -- */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-stats strong {
  color: var(--ink);
  font-weight: 800;
}

.hero-stats-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.45);
  animation: pulse-dot 2.2s ease-out infinite;
}

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(45, 106, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 106, 79, 0); }
}

/* -- Cartes : zoom image + lift au survol -- */
.home-visual-card,
.home-image-card,
.home-lead-image {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}

.home-visual-card img,
.home-image-card img,
.home-lead-image img {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-visual-card:hover,
.home-image-card:hover,
.home-lead-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 54px rgba(20, 19, 16, 0.22);
}

.home-visual-card:hover img,
.home-image-card:hover img,
.home-lead-image:hover img {
  transform: scale(1.06);
}

/* Liseré accent qui se revele au survol des cartes visuelles */
.home-visual-card::before,
.home-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.home-visual-card:hover::before,
.home-image-card:hover::before {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}

/* -- Titres de section : barre accent + respiration -- */
.section-title .kicker {
  position: relative;
  padding-left: 26px;
}

.section-title .kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--coral));
}

/* -- Liste d'actus : numerotation fantome + glissement -- */
.home-news-list {
  counter-reset: newsitem;
}

.home-news-list a {
  position: relative;
  counter-increment: newsitem;
  padding-left: 44px;
  transition: transform 0.25s ease, background 0.25s ease;
  border-radius: 10px;
}

.home-news-list a::before {
  content: counter(newsitem, decimal-leading-zero);
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--accent) 26%, transparent);
  font-variant-numeric: tabular-nums;
}

.home-news-list a:hover {
  transform: translateX(5px);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

/* -- Pills recherches rapides : emoji + rebond -- */
.quick-searches a {
  transition: transform 0.22s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.quick-searches a:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 10px 22px rgba(20, 19, 16, 0.12);
}

/* -- Radios : anneau accent au survol -- */
.home-radio-pill {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-radio-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20, 19, 16, 0.14);
}

.home-radio-pill:hover span {
  outline: 2px solid color-mix(in srgb, var(--accent) 50%, transparent);
  outline-offset: 2px;
}

/* -- Panneau actions : fleche qui glisse -- */
.home-actions-panel a {
  transition: background 0.25s ease;
}

.home-actions-panel a:hover {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.home-actions-panel strong::after {
  content: " \2192";
  display: inline-block;
  transition: transform 0.25s ease;
}

.home-actions-panel a:hover strong::after {
  transform: translateX(5px);
}

/* -- Apparition douce des sections au scroll -- */
.home-page .reveal-init {
  opacity: 0;
  transform: translateY(22px);
}

.home-page .revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* -- Accessibilite : pas d'animations si reduit -- */
@media (prefers-reduced-motion: reduce) {
  .home-hero-v2::before,
  .home-hero-v2::after,
  .pulse-dot {
    animation: none;
  }

  .home-page .reveal-init {
    opacity: 1;
    transform: none;
  }

  .home-visual-card,
  .home-image-card,
  .home-lead-image,
  .home-visual-card img,
  .home-image-card img,
  .home-lead-image img,
  .home-news-list a,
  .quick-searches a,
  .home-radio-pill {
    transition: none;
  }
}

/* --- Seances cinema groupees par jour (2026-06-11) --- */
.showtime-days {
  display: grid;
  gap: 14px;
}

.showtime-day {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 16px 18px;
  box-shadow: var(--soft-shadow);
}

.showtime-day.is-today {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 9%, transparent), var(--soft-shadow);
}

.showtime-day-label {
  margin: 0 0 12px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.showtime-day.is-today .showtime-day-label {
  color: var(--accent);
}

.showtime-day.is-today .showtime-day-label::after {
  content: " - en salle";
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
}

.showtime-day-rows {
  display: grid;
  gap: 10px;
}

.showtime-row {
  display: grid;
  grid-template-columns: minmax(130px, 220px) minmax(0, 1fr);
  gap: 10px 16px;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.showtime-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.showtime-cinema {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.showtime-cinema:hover {
  color: var(--accent);
  text-decoration: underline;
}

.showtime-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.showtime-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.showtime-day.is-today .showtime-chip {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface-solid));
}

@media (max-width: 560px) {
  .showtime-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ============================================================
   UX recherche + journal (2026-06-11)
   ============================================================ */

/* -- Barre de filtres (recherche + rubriques journal) -- */
.search-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin: 4px 0 18px;
  position: sticky;            /* reste accessible pour affiner sans remonter */
  top: 0;
  z-index: 50;
  padding: 12px 0;
  background: var(--surface-solid);
  border-bottom: 1px solid var(--line);
}

.search-filters,
.news-rubriques {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-filter-emoji { font-size: .95em; line-height: 1; }

/* Autocomplétion : menu flottant sous la barre de recherche. */
.search-ac {
  position: absolute; z-index: 1402;
  background: var(--surface-solid); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 18px 48px rgba(20, 19, 16, 0.18);
  overflow: hidden; padding: 6px;
}
.search-ac-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px;
  border-radius: 10px; text-decoration: none; color: var(--ink); cursor: pointer;
}
.search-ac-item:hover, .search-ac-item.active { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.search-ac-ico { flex: 0 0 auto; font-size: 1.05rem; }
.search-ac-label { flex: 1; min-width: 0; font-size: .92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-ac-hint { flex: 0 0 auto; font-size: .7rem; font-weight: 800; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 2px 8px; border-radius: 999px; }

/* État vide : renvoi vers l'assistant (les suggestions réutilisent .quick-searches). */
.search-empty .quick-searches { margin-top: 14px; justify-content: center; }
.search-empty-ai { margin-top: 14px; color: var(--soft); font-size: .9rem; line-height: 1.5; }

/* Layout résultats : liste principale + colonne annexe À CÔTÉ (à droite), jamais avant. */
.search-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.search-main { min-width: 0; }
.search-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 76px; }
.search-aside .search-places, .search-aside .search-data { margin: 0; }
.search-aside .search-places-rail { flex-direction: column; overflow: visible; gap: 8px; padding: 0; }
.search-aside .search-place-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ico title" "ico sub";
  gap: 1px 11px; align-items: center; width: 100%; padding: 9px 11px;
}
.search-aside .search-place-emoji, .search-aside .search-place-poster { grid-area: ico; align-self: center; }
.search-aside .search-place-card strong { grid-area: title; -webkit-line-clamp: 1; }
.search-aside .search-place-card small { grid-area: sub; }
.search-aside .search-place-poster { flex: 0 0 auto; }
.search-aside .search-poster { width: 32px; height: 46px; margin: 0; }
.search-aside .search-data-grid { grid-template-columns: 1fr; }

@media (max-width: 900px) {
  /* Mobile : l'annexe passe SOUS la liste (donc après, pas avant) en rail horizontal compact. */
  .search-layout { grid-template-columns: 1fr; gap: 18px; }
  .search-aside { position: static; }
  .search-aside .search-places-rail { flex-direction: row; overflow-x: auto; gap: 10px; padding: 2px 2px 8px; }
  .search-aside .search-place-card { display: flex; flex-direction: column; align-items: stretch; flex: 0 0 138px; }
  .search-aside .search-place-card strong { -webkit-line-clamp: 2; }
  .search-aside .search-poster { width: auto; height: auto; }
  .search-aside .search-data-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

@media (max-width: 640px) {
  /* Filtres en une seule rangée défilante (au lieu de plusieurs lignes). */
  .search-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .search-filters {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    min-width: 0; max-width: 100%;   /* flex item : sans ça, la rangée ne rétrécit pas
                                        sous sa largeur de contenu et élargit toute la page */
    scrollbar-width: none; padding-bottom: 2px; margin: 0 -4px; padding-left: 4px; padding-right: 4px;
  }
  .search-filters::-webkit-scrollbar { display: none; }
  .search-filter { flex: 0 0 auto; }
}

.news-rubriques {
  margin: 14px 0 22px;
}

.search-filter {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.search-filter:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--accent);
}

.search-filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.search-meta-line {
  margin: 0;
  color: var(--soft);
  font-size: 0.88rem;
}

/* -- Surlignage des termes recherches -- */
.search-result-card mark {
  background: color-mix(in srgb, var(--amber) 32%, transparent);
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
}

/* -- Cartes resultats : hover + badges type -- */
.search-result-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.search-result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(20, 19, 16, 0.13);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

.result-type {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

.result-type-news { background: color-mix(in srgb, var(--coral) 14%, transparent); color: var(--coral); }
.result-type-agenda { background: color-mix(in srgb, var(--amber) 20%, transparent); color: #8a6a1f; }
.result-type-cinema { background: color-mix(in srgb, #7048b6 14%, transparent); color: #7048b6; }
.result-type-place, .result-type-hike { background: color-mix(in srgb, var(--leaf) 14%, transparent); color: var(--leaf); }

:root[data-theme="dark"] .result-type-agenda { color: var(--amber); }

.result-ago {
  color: var(--soft);
}

.result-ago::before {
  content: "\2022";
  margin-right: 8px;
  color: var(--line);
}

.search-empty p {
  margin: 4px 0;
}

/* -- Hero recherche compact quand il y a une requete -- */
.search-hero-page.compact h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.search-hero-page.compact {
  padding-bottom: 10px;
}

/* -- Journal : cartes hover + rubriques -- */
.newspaper-card,
.front-lead,
.front-side article {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.newspaper-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 19, 16, 0.14);
}

.news-visual img {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.newspaper-card:hover .news-visual img,
.front-lead:hover .news-visual img {
  transform: scale(1.05);
}

.newspaper-masthead .hero-stats-live {
  font-weight: 600;
}

/* --- Page TV (2026-06-11) --- */
.tv-masthead {
  padding: 6px 0 18px;
}

.tv-masthead h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin: 4px 0 10px;
}

.tv-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.tv-live-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-decoration: none;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tv-live-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--coral) 45%, transparent);
  box-shadow: 0 14px 32px rgba(20, 19, 16, 0.14);
}

.tv-live-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
}

.tv-live-icon img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.tv-live-body {
  min-width: 0;
}

.tv-live-body strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.99rem;
}

.tv-live-body small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

.tv-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0312f;
  box-shadow: 0 0 0 0 rgba(224, 49, 47, 0.5);
  animation: pulse-dot 2s ease-out infinite;
}

.tv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.tv-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 19, 16, 0.15);
}

.tv-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #0c0c0e;
  overflow: hidden;
}

.tv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tv-card:hover .tv-thumb img {
  transform: scale(1.05);
}

.tv-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tv-card:hover .tv-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.tv-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px 15px 16px;
}

.tv-channel {
  margin: 0;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tv-card-body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.32;
}

.tv-card-body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.tv-card-body h3 a:hover {
  color: var(--accent);
}

.tv-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.42;
}

/* La feuille "Plus" de la nav basse accepte 5+ entrees */
@media (max-width: 767px) {
  .bottom-nav-sheet {
    grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
  }
}

/* ============================================================
   Harmonisation du Journal avec le style de l'accueil
   (2026-06-11) : fini le style "papier journal" serif, place aux
   cartes modernes. L'article vedette devient horizontal.
   ============================================================ */

/* -- Masthead : aligne sur le style des autres pages -- */
.newspaper-masthead {
  border-top: 0;
  border-bottom: 0;
  text-align: left;
  padding: 6px 0 4px;
  margin: 4px 0 10px;
  gap: 8px;
}

.newspaper-masthead h1 {
  font-family: inherit;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  font-weight: 800;
}

.newspaper-masthead p,
.newspaper-masthead div {
  text-transform: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.newspaper-masthead > p {
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.newspaper-masthead div {
  justify-content: flex-start;
  color: var(--muted);
}

.newspaper-masthead strong {
  color: var(--ink);
  font-weight: 800;
}

/* -- Typo : sans-serif partout, tailles raisonnables, sans debordement -- */
.front-lead h2,
.front-side h3,
.newspaper-card h3 {
  font-family: inherit;
  font-weight: 800;
  line-height: 1.22;
  overflow-wrap: break-word;
}

.front-lead h2 {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
}

.front-side h3 {
  font-size: 1.05rem;
}

.newspaper-card h3 {
  font-size: 1rem;
  line-height: 1.3;
}

/* -- Une : carte horizontale image | texte, comme l'accueil -- */
.newspaper-front {
  border-bottom: 0;
  padding-bottom: 0;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  gap: 16px;
  margin-bottom: 22px;
}

.front-lead {
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.front-lead > div {
  min-width: 0;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.front-lead .news-visual-large {
  min-height: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.front-lead p:not(.news-rubric) {
  font-size: 0.95rem;
  overflow-wrap: break-word;
}

.front-lead .news-rubric {
  margin-bottom: 0;
}

/* -- Articles secondaires : cartes empilees -- */
.front-side {
  border-left: 0;
  padding-left: 0;
  gap: 12px;
  align-content: start;
}

.front-side article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  padding: 16px 18px;
  min-width: 0;
}

.front-side article + article {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.front-side p:not(.news-rubric) {
  font-size: 0.9rem;
}

/* -- En bref : panneau moderne -- */
.news-briefs {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.news-briefs h2 {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
}

/* -- Grille d'articles : cartes arrondies, visuels 16/9 -- */
.newspaper-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  min-width: 0;
}

.newspaper-card > div {
  padding: 14px 16px 16px;
  min-width: 0;
}

.newspaper-card .news-visual {
  border: 0;
  border-radius: 0;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.newspaper-card p:not(.news-rubric) {
  font-size: 0.88rem;
}

/* -- Mobile : la une passe image dessus / texte dessous -- */
@media (max-width: 760px) {
  .newspaper-front {
    grid-template-columns: 1fr;
  }

  .front-lead {
    grid-template-columns: 1fr;
  }

  .front-lead .news-visual-large {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }
}

/* --- Accueil : nouvelle hierarchie (2026-06-11) --- */

/* Rail video sous les radios */
.home-video-card {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 19, 16, 0.15);
}

.home-video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(0, 109, 119, 0.2), rgba(217, 81, 44, 0.12));
  overflow: hidden;
}

.home-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-video-card:hover .home-video-thumb img {
  transform: scale(1.05);
}

.home-video-thumb .tv-play {
  width: 38px;
  height: 38px;
}

.home-video-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 13px 14px;
  min-width: 0;
}

.home-video-meta small {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-video-meta strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Actus pleine largeur : une a gauche, liste a droite */
.home-news-feature {
  margin-bottom: 20px;
}

.home-news-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 18px 26px;
  align-items: start;
}

@media (max-width: 860px) {
  .home-news-columns {
    grid-template-columns: 1fr;
  }
}

/* Bande Explorer (remplace l'ancien panneau radio/carte/recherche) */
.home-explore {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 4px 0 18px;
}

.home-explore-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-decoration: none;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-explore-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 14px 30px rgba(20, 19, 16, 0.12);
}

.home-explore-card > span:first-child {
  font-size: 1.7rem;
}

.home-explore-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.home-explore-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

/* Note discrete sur la recherche sans requete */
.search-idle-note {
  margin: 6px 0 0;
  color: var(--soft);
  font-size: 0.92rem;
}

/* --- TV : masonry + format vertical TikTok (2026-06-11) --- */
.tv-masonry {
  columns: 4 250px;
  column-gap: 16px;
}

.tv-masonry .tv-card {
  display: block;
  break-inside: avoid;
  margin: 0 0 16px;
}

/* TikTok : vignette verticale 9/16 conservee entiere */
.tv-card-vertical .tv-thumb {
  aspect-ratio: 9 / 16;
}

.tv-card-vertical .tv-thumb img {
  object-fit: cover;
}

.tv-badge-tiktok {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tv-card-vertical .tv-card-body h3 {
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 560px) {
  .tv-masonry {
    columns: 2 150px;
    column-gap: 10px;
  }

  .tv-masonry .tv-card {
    margin-bottom: 10px;
  }

  .tv-card-body {
    padding: 9px 11px 12px;
  }

  .tv-card-body h3 {
    font-size: 0.85rem;
  }

  .tv-desc {
    display: none;
  }
}

/* --- Bloc "Actualites locales" de l'accueil : refonte (2026-06-11) --- */

/* Typo moderne, fini les serif residuels */
.home-lead-article h3 {
  font-family: inherit;
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  line-height: 1.28;
  font-weight: 800;
  overflow-wrap: break-word;
}

.home-lead-article h3 a:hover {
  color: var(--accent);
}

.home-lead-image span {
  font-family: inherit;
}

.home-lead-article {
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1fr);
  align-items: center;
  min-width: 0;
}

.home-lead-article p:not(.kicker) {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Liste laterale : une seule colonne lisible, numerotee, separee */
.home-news-columns .home-news-list {
  grid-template-columns: 1fr;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  gap: 2px;
  align-content: start;
  align-self: stretch;
}

.home-news-columns .home-news-list a {
  padding: 11px 10px 11px 48px;
  border-bottom: 1px dashed var(--line);
  border-radius: 0;
  min-width: 0;
}

.home-news-columns .home-news-list a:last-child {
  border-bottom: 0;
}

.home-news-columns .home-news-list a:hover {
  border-radius: 10px;
}

.home-news-list strong {
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.38;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-list span {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

/* Mobile : la une s'empile image dessus / texte dessous */
@media (max-width: 620px) {
  .home-lead-article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-lead-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .home-news-columns .home-news-list a {
    padding-left: 44px;
  }
}

/* --- Vignette de remplacement quand un article n'a pas d'image --- */
.news-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

.news-fallback-emoji {
  position: absolute;
  right: -14px;
  bottom: -18px;
  font-size: 6.5rem;
  opacity: 0.18;
  transform: rotate(-12deg);
  pointer-events: none;
}

.news-fallback-favicon {
  position: static !important;
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.news-fallback small {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Degrade par rubrique */
.news-fallback-local { background: linear-gradient(135deg, rgba(0, 109, 119, 0.30), rgba(45, 106, 79, 0.22)); }
.news-fallback-sport { background: linear-gradient(135deg, rgba(45, 106, 79, 0.30), rgba(197, 155, 61, 0.22)); }
.news-fallback-culture { background: linear-gradient(135deg, rgba(112, 72, 182, 0.26), rgba(217, 81, 44, 0.20)); }
.news-fallback-societe { background: linear-gradient(135deg, rgba(217, 81, 44, 0.28), rgba(197, 155, 61, 0.20)); }
.news-fallback-monde { background: linear-gradient(135deg, rgba(0, 109, 119, 0.26), rgba(112, 72, 182, 0.20)); }
.news-fallback-actualite { background: linear-gradient(135deg, rgba(0, 109, 119, 0.24), rgba(217, 81, 44, 0.18)); }

/* Surcharge de l'ancien badge rond (.news-visual span) pour les
   vignettes de remplacement : specificite superieure requise. */
.news-visual span.news-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
}

.news-visual span.news-fallback-emoji {
  position: absolute;
  inset: auto;
  right: -14px;
  bottom: -18px;
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  font-size: 6.5rem;
  font-weight: 400;
  opacity: 0.18;
  transform: rotate(-12deg);
}

/* --- Page Social : reutilise la masonry TV, images hauteur naturelle --- */
.social-thumb {
  aspect-ratio: auto;
}

.social-thumb img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}

.social-setup {
  max-width: 720px;
}

.social-setup h2 {
  margin-top: 0;
}

.social-setup code {
  padding: 2px 7px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  font-size: 0.88em;
}

/* --- Page Stream (2026-06-11) --- */
.stream-section {
  margin-bottom: 26px;
}

.stream-poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}

.stream-poster {
  display: grid;
  gap: 7px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.stream-poster img,
.stream-poster-fallback {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stream-poster:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 32px rgba(20, 19, 16, 0.2);
}

.stream-poster-fallback {
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--muted);
  background: linear-gradient(135deg, rgba(0, 109, 119, 0.18), rgba(217, 81, 44, 0.12));
}

.stream-poster strong {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stream-music-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 22px;
  align-items: start;
}

@media (max-width: 860px) {
  .stream-music-grid {
    grid-template-columns: 1fr;
  }
}

.stream-subtitle {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stream-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
}

.stream-album {
  display: grid;
  gap: 5px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.stream-album img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease;
}

.stream-album:hover img {
  transform: translateY(-3px) scale(1.02);
}

.stream-album strong {
  font-size: 0.8rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stream-album small {
  color: var(--muted);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-track-list {
  margin: 0;
  padding: 4px 0 0 0;
  list-style: none;
  counter-reset: track;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.stream-track-list li {
  counter-increment: track;
  border-bottom: 1px dashed var(--line);
}

.stream-track-list li:last-child {
  border-bottom: 0;
}

.stream-track-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.stream-track-list a::before {
  content: counter(track, decimal-leading-zero);
  font-weight: 900;
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--accent) 35%, transparent);
  font-variant-numeric: tabular-nums;
}

.stream-track-list a:hover {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

/* La nav (11 entrees desormais) doit toujours pouvoir passer a la ligne. */
.nav {
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
}

/* --- Fiches stream : film et album (2026-06-11) --- */
.stream-film-profile {
  margin-bottom: 22px;
}

.album-poster img {
  border-radius: 18px;
}

.album-track-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: atrack;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.album-track-list li {
  counter-increment: atrack;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px dashed var(--line);
}

.album-track-list li:last-child {
  border-bottom: 0;
}

.album-track-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.album-track-info::before {
  content: counter(atrack, decimal-leading-zero);
  font-weight: 900;
  color: color-mix(in srgb, var(--accent) 35%, transparent);
  font-variant-numeric: tabular-nums;
}

.album-track-info strong {
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-track-info small {
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}

.album-track-list audio {
  height: 34px;
  max-width: 260px;
}

@media (max-width: 640px) {
  .album-track-list li {
    grid-template-columns: 1fr;
  }

  .album-track-list audio {
    width: 100%;
    max-width: none;
  }
}

/* --- Bandes-annonces integrees + page Musique (2026-06-11) --- */
.trailer-facade {
  position: relative;
  display: block;
  width: min(720px, 100%);
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  box-shadow: var(--soft-shadow);
}

.trailer-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.4s ease;
}

.trailer-facade:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.trailer-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.trailer-facade:hover .trailer-facade-play {
  background: var(--coral);
  transform: translate(-50%, -50%) scale(1.08);
}

.trailer-frame {
  width: min(720px, 100%);
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.stream-poster {
  position: relative;
}

.stream-trailer-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* ============================================================
   STREAM facon Apple TV : ambiance sombre cinematique.
   On redefinit les variables du theme dans la portee .tvplus :
   nav, cartes et footer heritent automatiquement du sombre.
   ============================================================ */
/* L'ambiance cinema sombre ne s'applique QUE quand le theme du site
   est sombre (bouton Dark ou preference systeme) : la page respecte
   la bascule clair/sombre comme le reste du site. */
:root[data-theme="dark"] body.tvplus {
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 109, 119, 0.18), transparent 38%),
    linear-gradient(180deg, #101014 0%, #0a0a0c 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.tvplus {
    background:
      radial-gradient(circle at 15% 0%, rgba(0, 109, 119, 0.18), transparent 38%),
      linear-gradient(180deg, #101014 0%, #0a0a0c 100%);
  }
}

/* En clair : teinte cinema douce, memes composants. */
:root[data-theme="light"] body.tvplus {
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 109, 119, 0.10), transparent 38%),
    linear-gradient(180deg, #f2f4f4 0%, #e9edec 100%);
}

/* Billboard hero */
.tvplus-hero {
  position: relative;
  margin: 6px 0 30px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.tvplus-hero::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -2;
  background-image: var(--billboard);
  background-size: cover;
  background-position: center 20%;
  filter: blur(42px) saturate(1.3);
  transform: scale(1.2);
}

.tvplus-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--surface-solid) 94%, transparent) 18%,
    color-mix(in srgb, var(--surface-solid) 62%, transparent) 60%,
    color-mix(in srgb, var(--surface-solid) 38%, transparent) 100%);
}

.tvplus-hero-inner {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  padding: clamp(18px, 3.5vw, 38px);
}

.tvplus-hero-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.tvplus-hero-copy h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--ink);
}

.tvplus-hero-meta {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.tvplus-hero-desc {
  max-width: 560px;
  margin: 0 0 14px;
  color: var(--ink);
  opacity: 0.88;
  line-height: 1.5;
  font-size: 0.96rem;
}

.tvplus-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--ink) !important;
  color: var(--surface-solid) !important;
  font-weight: 800;
  border: 0;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .tvplus-hero-inner {
    grid-template-columns: 1fr;
  }

  .tvplus-hero-poster {
    max-width: 150px;
  }
}

/* Etageres horizontales d affiches, facon Apple TV */
.tvplus .stream-poster-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.tvplus .stream-poster {
  flex: 0 0 148px;
  scroll-snap-align: start;
}

.tvplus .stream-poster img,
.tvplus .stream-poster-fallback {
  border: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.tvplus .stream-poster:hover img {
  transform: translateY(-4px) scale(1.045);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.tvplus .stream-poster strong {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.8rem;
}

/* Hero musique : pochette carree */
.amusic-hero .tvplus-hero-poster {
  aspect-ratio: 1;
  border-radius: 12px;
}

.tvplus .section-title h2 {
  color: var(--ink);
  font-size: 1.35rem;
}

.tvplus .stream-album-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.tvplus .stream-album {
  flex: 0 0 138px;
  scroll-snap-align: start;
}

/* ============================================================
   MUSIQUE facon Apple Music : accent rouge signature,
   etageres defilantes, overlay lecture au survol.
   ============================================================ */
body.amusic {
  --accent: #fa233b;
  --accent-strong: #d51c31;
  --coral: #fa233b;
}

.amusic .section-title h2 {
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.amusic .stream-album-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.amusic .stream-album {
  flex: 0 0 160px;
  scroll-snap-align: start;
  position: relative;
}

.amusic .stream-album img {
  border-radius: 10px;
  border: 0;
  box-shadow: 0 6px 20px rgba(20, 19, 16, 0.18);
}

.amusic .stream-album::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  aspect-ratio: 1;
  border-radius: 10px;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.18) 60%, transparent 100%),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="44" height="44" fill="white"><path d="M8 5.5v13l11-6.5z"/></svg>') center / 44px no-repeat;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.amusic .stream-album:hover::after {
  opacity: 1;
}

.amusic .stream-album:hover img {
  transform: none;
}

.amusic .stream-album strong {
  font-size: 0.85rem;
}

.amusic .stream-album small {
  color: var(--muted);
}

/* Le bloc France garde sa colonne classement, façon Charts */
.amusic .stream-music-grid > div:first-child .stream-album-grid {
  flex-wrap: nowrap;
}

.amusic .stream-track-list a::before {
  color: color-mix(in srgb, var(--accent) 55%, transparent);
}

/* Fondu en bord d etagere (indice de defilement) */
.tvplus .stream-poster-grid,
.tvplus .stream-album-grid,
.amusic .stream-album-grid {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 36px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 36px), transparent 100%);
}

/* --- Page Maloya (2026-06-11) --- */
.maloya-histoire {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.maloya-histoire article {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.maloya-histoire h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.maloya-histoire p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.maloya-histoire strong {
  color: var(--ink);
}

.maloya-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.maloya-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.maloya-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 16px 36px rgba(20, 19, 16, 0.16);
}

.maloya-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--coral));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
}

.maloya-card strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.maloya-card small {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.maloya-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Liens plateformes de la fiche artiste */
.artist-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.artist-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.artist-link:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  color: var(--accent);
}

/* --- Maloya : design editorial (2026-06-12) --- */
.maloya-manifesto {
  margin: 8px 0 34px;
}

.maloya-manifesto blockquote {
  position: relative;
  margin: 0;
  padding: 30px 34px 26px 42px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--coral) 9%, transparent), color-mix(in srgb, var(--accent) 7%, transparent)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.maloya-manifesto blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--coral), var(--accent));
}

.maloya-manifesto p {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.maloya-manifesto strong {
  background: linear-gradient(92deg, var(--coral), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

.maloya-manifesto footer {
  color: var(--muted);
  font-size: 0.95rem;
}

.maloya-timeline {
  margin-bottom: 34px;
}

/* Frise horizontale de l'histoire (defilement lateral, anti-scroll vertical) */
.maloya-frise {
  list-style: none; margin: 0; padding: 4px 2px 16px;
  display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.maloya-frise li {
  scroll-snap-align: start; flex: 0 0 300px; display: flex; flex-direction: column;
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; box-shadow: var(--soft-shadow);
}
.maloya-frise .timeline-era {
  align-self: flex-start; font-size: .72rem; font-weight: 900; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}
.maloya-frise h3 { margin: 0 0 9px; font-size: 1.06rem; letter-spacing: -.01em; }
.maloya-frise p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.maloya-frise strong { color: var(--ink); }
.maloya-frise::-webkit-scrollbar { height: 8px; }
.maloya-frise::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--ink) 20%, transparent); border-radius: 8px; }
@media (max-width: 640px) { .maloya-frise li { flex-basis: 80vw; } }

.timeline {
  position: relative;
  margin: 0;
  padding: 6px 0 6px 30px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--coral), var(--accent));
  opacity: 0.55;
}

.timeline li {
  position: relative;
  padding: 0 0 26px 14px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--coral);
  border: 3px solid var(--surface-solid);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--coral) 50%, transparent);
}

.timeline-era {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.timeline h3 {
  margin: 0 0 7px;
  font-size: 1.08rem;
  font-weight: 800;
}

.timeline p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.timeline strong {
  color: var(--ink);
}

.maloya-debat {
  margin-bottom: 34px;
}

.maloya-debat-body {
  padding: 26px 30px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.maloya-debat-body p {
  margin: 0 0 14px;
  max-width: 820px;
  line-height: 1.7;
  font-size: 0.97rem;
  color: var(--muted);
}

.maloya-debat-body p:last-child {
  margin-bottom: 0;
}

.maloya-debat-body strong {
  color: var(--ink);
}

.maloya-debat-body em {
  color: var(--accent);
  font-weight: 700;
}

.maloya-photo {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(20, 19, 16, 0.22);
  border: 3px solid var(--surface-solid);
  outline: 2px solid color-mix(in srgb, var(--coral) 40%, transparent);
}

.maloya-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.maloya-card:hover .maloya-photo img {
  transform: scale(1.08);
}

/* --- Maloya : cartes artistes style Apple Music (2026-06-12) --- */
.maloya-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 22px 16px;
}

.maloya-card {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  justify-items: center;
  text-align: center;
  gap: 4px;
}

.maloya-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.maloya-photo,
.maloya-card .maloya-avatar {
  width: 124px;
  height: 124px;
  margin-bottom: 6px;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}

.maloya-photo {
  border: 0;
  outline: 0;
  box-shadow: 0 6px 22px rgba(20, 19, 16, 0.16);
}

.maloya-card .maloya-avatar {
  font-size: 1.9rem;
}

.maloya-card:hover .maloya-photo,
.maloya-card:hover .maloya-avatar {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(20, 19, 16, 0.24);
}

.maloya-card strong {
  font-size: 0.95rem;
  line-height: 1.25;
}

.maloya-card small {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 0.78rem;
}

.maloya-card:hover strong {
  color: var(--accent);
}

/* ============================================================
   Maloya : rendu editorial Apple (2026-06-12)
   Typographie geante, interlettrage serre, air, zero boite.
   ============================================================ */

/* -- Hero immersif -- */
.apple-hero {
  position: relative;
  margin: 4px 0 70px;
  padding: clamp(54px, 9vw, 110px) clamp(22px, 5vw, 60px);
  text-align: center;
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
}

.apple-hero::before {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: -2;
  background-image: var(--billboard);
  background-size: cover;
  background-position: center 25%;
  filter: blur(60px) saturate(1.25) brightness(0.9);
  transform: scale(1.25);
}

.apple-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--paper) 55%, transparent) 0%,
    color-mix(in srgb, var(--paper) 86%, transparent) 78%,
    var(--paper) 100%);
}

.apple-hero-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.apple-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 13vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink);
}

.apple-dot {
  color: var(--accent);
}

.apple-hero-statement {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--muted);
}

.apple-hero-statement strong {
  background: linear-gradient(92deg, var(--coral), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.apple-hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: 30px;
  color: var(--soft);
  font-size: 0.92rem;
}

.apple-hero-stats strong {
  color: var(--ink);
  font-weight: 700;
}

/* -- Sections : respiration et titres Apple -- */
.maloya-page .stream-section,
.maloya-timeline,
.maloya-debat {
  margin-bottom: 80px;
}

.maloya-page .section-title {
  margin-bottom: 30px;
}

.maloya-page .section-title h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.maloya-page .section-title .kicker {
  padding-left: 0;
  letter-spacing: 0.12em;
}

.maloya-page .section-title .kicker::before {
  display: none;
}

/* -- Chapitres : numeros fantomes, plus de ligne ni de pastilles -- */
.apple-chapters {
  padding: 0;
  counter-reset: chapter;
  display: grid;
  gap: 54px;
}

.apple-chapters::before {
  display: none;
}

.apple-chapters li {
  position: relative;
  padding: 0 0 0 0;
  counter-increment: chapter;
  max-width: 720px;
}

.apple-chapters li::before {
  content: counter(chapter, decimal-leading-zero);
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 2px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: color-mix(in srgb, var(--ink) 10%, transparent);
}

.apple-chapters .timeline-era {
  background: none;
  padding: 0;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apple-chapters h3 {
  margin: 4px 0 10px;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.apple-chapters p {
  font-size: 1rem;
  line-height: 1.7;
}

/* -- Citation pleine page -- */
.apple-pullquote {
  margin: 0 auto 44px;
  max-width: 900px;
  text-align: center;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  background: linear-gradient(96deg, var(--ink) 20%, var(--coral) 60%, var(--accent) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -- Debat : colonne editoriale sans boite -- */
.maloya-debat-body {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  max-width: 720px;
  margin: 0 auto;
}

.maloya-debat-body p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.maloya-debat .section-title {
  text-align: center;
}

.maloya-debat .section-title h2 {
  display: none; /* la pullquote prend le relais */
}

/* -- Artistes : grille aeree, noms nets -- */
.maloya-grid {
  gap: 34px 18px;
}

.maloya-card strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* --- Page Sport (2026-06-12) --- */
.sport-live {
  margin-bottom: 50px;
}

.sport-live .kicker .pulse-dot {
  display: inline-block;
  margin-right: 7px;
  vertical-align: middle;
}

.match-list {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.match-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 84px minmax(0, 1fr) minmax(90px, 0.6fr);
  gap: 8px 14px;
  align-items: center;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.match-day {
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.match-team {
  font-weight: 700;
  font-size: 0.97rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-team.home {
  text-align: right;
}

.match-score {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}

.match-played .match-score {
  background: color-mix(in srgb, var(--leaf) 13%, transparent);
  color: var(--leaf);
}

.match-time {
  font-size: 0.95rem;
  color: var(--accent);
}

.match-meta {
  color: var(--soft);
  font-size: 0.8rem;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .match-card {
    grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
    grid-template-areas:
      "day day day"
      "home score away"
      "meta meta meta";
  }
  .match-day { grid-area: day; }
  .match-team.home { grid-area: home; }
  .match-score { grid-area: score; }
  .match-team.away { grid-area: away; }
  .match-meta { grid-area: meta; text-align: left; }
  .match-team { white-space: normal; font-size: 0.9rem; }
}

.sport-offseason {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.sport-off-card {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  opacity: 0.78;
}

.sport-off-card.sport-soon {
  opacity: 1;
  border-color: color-mix(in srgb, var(--amber) 45%, transparent);
}

.sport-off-card strong {
  font-size: 0.98rem;
}

.sport-off-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* --- Sport : drapeaux/logos + cotes (2026-06-12) --- */
.team-badge {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  margin: 0 0 0 8px;
  border-radius: 4px;
}

.match-team.away .team-badge {
  margin: 0 8px 0 0;
}

.match-team {
  display: inline-flex;
  align-items: center;
}

.match-team.home {
  justify-content: flex-end;
}

.match-odds {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}

.match-odds > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.match-odds b {
  color: var(--coral);
  font-size: 0.72rem;
}

/* --- Bouton theme : icone ronde --- */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  line-height: 0;
}

.theme-toggle svg {
  display: block;
}

/* --- Sport : direct (2026-06-12) --- */
.pulse-red {
  background: #e0312f;
  box-shadow: 0 0 0 0 rgba(224, 49, 47, 0.5);
  display: inline-block;
  margin-right: 7px;
  vertical-align: middle;
}

.match-inplay {
  border-color: color-mix(in srgb, #e0312f 40%, var(--line));
}

.match-score.match-live {
  background: color-mix(in srgb, #e0312f 14%, transparent);
  color: #e0312f;
}

.live-minute {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.match-inplay .live-minute {
  color: #e0312f;
}

/* --- Mizik : fenetre facon Apple Music (2026-06-12) --- */
.amx-window {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-solid);
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.45);
  min-height: 82vh;
  margin-top: 18px;
}

.amx-side {
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 72%, var(--surface-solid));
  padding: 18px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.amx-app-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 6px;
  font-weight: 800;
  font-size: 0.98rem;
}

.amx-note {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #fa233b, #fb5c74);
  color: #fff;
  font-size: 0.95rem;
}

.amx-search {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 7px 10px;
  background: var(--surface-solid);
  color: var(--soft);
}

.amx-search input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  width: 100%;
}

.amx-side-title {
  margin: 6px 6px 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soft);
}

.amx-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.amx-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 9px;
  border-left: 3px solid transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.amx-nav a:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.amx-nav a.active {
  background: color-mix(in srgb, var(--ink) 9%, transparent);
  border-left-color: #fa233b;
}

.amx-ico {
  width: 20px;
  text-align: center;
  color: #fa233b;
  font-size: 0.95rem;
}

.amx-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.amx-player {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 45%, var(--surface-solid));
  position: sticky;
  top: 0;
  z-index: 5;
}

.amx-controls,
.amx-player-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.amx-ctl {
  color: var(--soft);
  font-size: 1rem;
  line-height: 1;
}

.amx-play {
  color: var(--ink);
  font-size: 1.25rem;
}

.amx-nowplaying {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-solid);
  padding: 5px 12px 5px 5px;
  text-decoration: none;
  color: var(--ink);
}

.amx-nowplaying img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
}

.amx-np-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: center;
  flex: 1;
}

.amx-np-text strong {
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amx-np-text small {
  font-size: 0.76rem;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amx-content {
  padding: 26px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.amx-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
}

.amx-fresh {
  margin: -20px 0 0;
  color: var(--soft);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 7px;
}

.amx-h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.amx-chev {
  color: var(--soft);
  font-size: 1.2rem;
  line-height: 1;
}

.amx-picks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.amx-pick {
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.amx-pick-caption {
  display: block;
  font-size: 0.8rem;
  color: var(--soft);
  margin-bottom: 8px;
}

.amx-pick-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #1c2733;
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.amx-pick:hover .amx-pick-card {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.65);
}

.amx-pick-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.amx-pick-band {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 14px 14px;
  text-align: center;
  color: #fff;
  background: #2a3744;
}

.amx-pick-band strong {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amx-pick-band span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amx-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.amx-row::-webkit-scrollbar {
  height: 8px;
}

.amx-tile {
  flex: 0 0 148px;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.amx-tile img {
  width: 148px;
  height: 148px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: transform 0.22s ease;
  margin-bottom: 5px;
}

.amx-tile:hover img {
  transform: scale(1.04);
}

.amx-tile strong {
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amx-tile small {
  font-size: 0.76rem;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amx-h3 {
  margin: 20px 0 10px;
  font-size: 0.98rem;
}

.amx-chart {
  margin: 0;
  padding: 0 0 0 1.6em;
  columns: 2;
  column-gap: 36px;
  font-size: 0.88rem;
}

.amx-chart li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}

.amx-chart a {
  color: var(--ink);
  text-decoration: none;
}

.amx-chart a:hover {
  color: #fa233b;
}

@media (max-width: 920px) {
  .amx-window {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .amx-side {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px;
    gap: 10px;
  }

  .amx-side .amx-side-title {
    display: none;
  }

  .amx-search {
    flex: 1 1 160px;
  }

  .amx-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .amx-nav a {
    border-left: 0;
    padding: 6px 9px;
  }

  .amx-player {
    grid-template-columns: minmax(0, 1fr);
  }

  .amx-controls,
  .amx-player-right {
    display: none;
  }

  .amx-content {
    padding: 18px 14px 30px;
  }

  .amx-picks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amx-chart {
    columns: 1;
  }
}

/* --- Mizik : lecteur fonctionnel + finitions UX (2026-06-12) --- */
.amx-side {
  position: sticky;
  top: 12px;
  align-self: start;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}

button.amx-ctl {
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: var(--soft);
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: color 0.15s ease, transform 0.15s ease;
}

button.amx-ctl:hover {
  color: var(--ink);
  transform: scale(1.08);
}

button.amx-play {
  color: var(--ink);
}

button.amx-ctl.amx-muted {
  opacity: 0.4;
}

.amx-nowplaying {
  position: relative;
  overflow: hidden;
  cursor: default;
}

.amx-nowplaying #amxLink {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--soft);
}

.amx-nowplaying #amxLink:hover {
  color: #fa233b;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

.amx-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

.amx-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: #fa233b;
  transition: width 0.3s linear;
}

.amx-loading .amx-np-text small {
  color: #fa233b;
}

.amx-tile {
  position: relative;
}

.amx-cover-play {
  position: absolute;
  top: 100px;
  left: 8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(250, 35, 59, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.55);
}

.amx-tile:hover .amx-cover-play,
.amx-tile:focus-within .amx-cover-play,
.amx-pick:hover .amx-cover-play,
.amx-pick:focus-within .amx-cover-play {
  opacity: 1;
  transform: translateY(0);
}

.amx-cover-play:hover {
  background: #fa233b;
  transform: scale(1.08);
}

.amx-pick-card {
  position: relative;
}

.amx-pick-card .amx-cover-play {
  top: auto;
  bottom: 92px;
  left: 12px;
  width: 44px;
  height: 44px;
}

@media (hover: none) {
  .amx-cover-play {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .amx-side {
    position: static;
    max-height: none;
  }

  .amx-player {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .amx-controls {
    display: flex;
  }

  .amx-player-right {
    display: none;
  }
}

/* --- Mizik sans sidebar : pleine largeur (2026-06-12) --- */
.amx-window.amx-solo {
  grid-template-columns: minmax(0, 1fr);
}

/* --- Carte : experience revue (2026-06-12) --- */
.map-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  flex: none;
}

.map-searchbox {
  display: flex;
  gap: 8px;
}

.map-searchbox input {
  flex: 1;
  min-width: 0;
}

#mapLocate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-solid);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
}

#mapLocate:hover {
  border-color: var(--accent);
  color: var(--accent);
}

#mapLocate.map-locating {
  opacity: 0.6;
}

.map-result-count {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--soft);
}

.map-place-list button.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}

.map-place-distance {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent);
}

/* Popups themables */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--surface-solid);
  color: var(--ink);
  box-shadow: 0 14px 36px -18px rgba(0, 0, 0, 0.5);
}
.leaflet-popup-content-wrapper { border-radius: 14px; }

/* Bouton de fermeture : pastille ronde propre (au lieu du "x" brut) */
.leaflet-popup-close-button {
  width: 26px !important; height: 26px !important; top: 8px !important; right: 8px !important;
  display: grid !important; place-items: center; padding: 0 !important;
  border-radius: 50%; background: color-mix(in srgb, var(--ink) 7%, var(--surface-solid)) !important;
  color: var(--soft) !important; font: 700 16px/1 system-ui, sans-serif !important;
  box-shadow: var(--soft-shadow); transition: background .15s ease, color .15s ease;
}
.leaflet-popup-close-button:hover {
  background: var(--accent) !important; color: #fff !important;
}

.map-popup {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.85rem;
}

.map-popup strong {
  font-size: 0.92rem;
}

.map-popup p {
  margin: 0;
  color: var(--muted);
}

.map-popup-cat {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cat, var(--soft));
}

.map-popup-cat::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat, var(--soft));
  margin-right: 5px;
}

.map-popup-actions {
  display: block;
  margin-top: 2px;
}

.map-popup-actions a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.map-popup-actions a:hover {
  text-decoration: underline;
}

/* Fonds CARTO clair/sombre charges selon le theme (window.rsxMapTiles) :
   plus de filtre CSS. */
.leaflet-container { background: var(--paper); }
:root[data-theme="dark"] .leaflet-container { background: #14181d; }

/* Controles Leaflet alignes sur la charte graphique */
.leaflet-bar a,
.leaflet-control-zoom a {
  background: var(--surface-solid) !important;
  color: var(--ink) !important;
  border-bottom-color: var(--line) !important;
}
.leaflet-bar a:hover { background: color-mix(in srgb, var(--ink) 8%, var(--surface-solid)) !important; }
.leaflet-bar { border: 1px solid var(--line) !important; box-shadow: var(--soft-shadow) !important; }
.leaflet-control-attribution {
  background: color-mix(in srgb, var(--surface-solid) 82%, transparent) !important;
  color: var(--soft) !important;
}
.leaflet-control-attribution a { color: var(--accent) !important; }

@keyframes map-user-pulse {
  0% { opacity: 1; }
  50% { opacity: 0.55; }
  100% { opacity: 1; }
}

.map-user-dot {
  animation: map-user-pulse 1.6s ease-in-out infinite;
}

/* --- Carte plein ecran, panneau flottant (2026-06-12) --- */
.mapx-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 12px;
}

.mapx-head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.mapx-total {
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.mapx-wrap {
  position: relative;
  height: calc(100vh - 175px);
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mapx-map {
  position: absolute;
  inset: 0;
}

.mapx-panel {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1100;
  width: 332px;
  max-width: calc(100% - 28px);
  max-height: calc(100% - 28px);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mapx-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--soft-shadow);
  color: var(--soft);
}

.mapx-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.mapx-search button {
  flex: none;
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 8px;
}

.mapx-search button:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.mapx-search button.map-locating {
  opacity: 0.5;
}

.mapx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mapx-chips button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--ink);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--soft-shadow);
}

.mapx-chips button span {
  color: var(--soft);
  font-weight: 600;
}

.mapx-chips button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.mapx-chips button.active span {
  color: rgba(255, 255, 255, 0.8);
}

.mapx-results {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-y: auto;
  box-shadow: var(--soft-shadow);
  flex: 0 1 auto;
  min-height: 0;
}

.mapx-count {
  margin: 0;
  padding: 9px 12px 7px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--soft);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--surface-solid);
}

.mapx-results button[data-index] {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
  font: inherit;
  padding: 9px 12px;
  cursor: pointer;
}

.mapx-results button[data-index]:hover {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}

.mapx-results button[data-index].active {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-left: 3px solid var(--accent);
}

.mapx-results button strong {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
}

.mapx-results button strong em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent);
}

.mapx-results button span {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mapx-more {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 11px;
  cursor: pointer;
}

.mapx-more:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.mapx-loading,
.mapx-empty {
  margin: 0;
  padding: 14px;
  font-size: 0.84rem;
  color: var(--soft);
}

@media (max-width: 760px) {
  .mapx-wrap {
    height: calc(100vh - 215px);
    min-height: 480px;
  }

  .mapx-panel {
    width: calc(100% - 24px);
    top: 10px;
    left: 12px;
  }

  .mapx-results {
    max-height: 32vh;
  }
}

/* --- Page Visiter : tourisme editorial Apple (2026-06-12) --- */
.tour-hero {
  margin-top: 16px;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.tour-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-solid);
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tour-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.tour-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.tour-card:hover .tour-photo img {
  transform: scale(1.05);
}

.tour-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(12, 14, 16, 0.66);
  color: #fff;
  backdrop-filter: blur(6px);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 999px;
}

.tour-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.tour-body h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.tour-zone {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.tour-desc {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.tour-links {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tour-links a {
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}

.tour-links a:first-child {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.tour-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tour-links a:first-child:hover {
  color: #fff;
  opacity: 0.9;
}

/* --- Visiter oriente recherche (2026-06-12) --- */
.tour-search {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 560px;
  margin: 22px auto 0;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 20px;
  box-shadow: var(--shadow);
  color: var(--soft);
}

.tour-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.tour-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 14px auto 0;
  max-width: 760px;
}

.tour-chips button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.tour-chips button span {
  color: var(--soft);
  font-weight: 600;
}

.tour-chips button:hover {
  border-color: var(--accent);
}

.tour-chips button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.tour-chips button.active span {
  color: rgba(255, 255, 255, 0.8);
}

.tour-deeper {
  margin: 18px 0 0;
  font-size: 0.88rem;
  color: var(--soft);
}

.tour-deeper a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.tour-deeper a:hover {
  text-decoration: underline;
}

/* --- Visiter : remix data carte en themes (2026-06-13) --- */
.tour-hero-hint {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--soft);
  font-weight: 600;
}

.tour-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.tour-theme {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-solid);
  padding: 18px 18px 16px;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tour-theme:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.tour-theme-emoji {
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 4px;
}

.tour-theme-label {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tour-theme-count {
  font-size: 0.8rem;
  color: var(--soft);
  font-weight: 600;
}

/* Vignette coloree (lieux sans photo) */
.tour-card.place .tour-thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--cat) 26%, var(--surface-solid)),
    color-mix(in srgb, var(--cat) 9%, var(--surface-solid)));
  border-bottom: 1px solid var(--line);
}

.tour-card.place .tour-thumb span {
  font-size: 2.4rem;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.22));
}

.tour-morebtn {
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--accent);
  font: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
}

.tour-morebtn:hover {
  border-color: var(--accent);
}

/* --- Visiter : carte integree (2026-06-13) --- */
.visit-head {
  margin: 18px 0 12px;
}
.visit-head h1 {
  margin: 2px 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}
.visit-sub {
  margin: 0;
  max-width: 760px;
  color: var(--soft);
  font-size: 0.95rem;
}
.visit-sub #visitHint {
  color: var(--accent);
  font-weight: 700;
}
.mapx-wrap.visit-map {
  height: 68vh;
  min-height: 460px;
  margin-bottom: 30px;
}
/* Bouton "Sur la carte" dans les fiches incontournables */
.tour-onmap {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  background: var(--surface-solid);
}
.tour-onmap:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== Visiter : design editorial Apple (2026-06-13 v2) ===== */
.visit-hero { text-align: left; }

/* Barre de recherche frosted glass facon Apple */
.visit-searchpill {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 520px;
  margin: 22px 0 14px;
  padding: 15px 22px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 70%, transparent);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.45);
  color: var(--soft);
}
.visit-searchpill input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  color: var(--ink); font: inherit; font-size: 1.05rem;
}
.visit-hero-stat { margin: 0; font-size: 0.9rem; color: var(--soft); font-weight: 600; }

/* Tuiles de categories — genereuses, hover lift */
.visit-browse { margin: 26px 0 0; }
.visit-tiles {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 10px;
  scroll-snap-type: x proximity; scrollbar-width: none;
}
.visit-tiles::-webkit-scrollbar { display: none; }
.visit-tile {
  flex: 0 0 auto; min-width: 132px;
  display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
  padding: 18px 20px; border-radius: 20px; cursor: pointer;
  background: var(--surface-solid); border: 1px solid var(--line);
  box-shadow: 0 12px 30px -22px rgba(0, 0, 0, 0.4);
  scroll-snap-align: start; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  color: var(--ink); font: inherit;
}
.visit-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.5); }
.visit-tile-emoji { font-size: 1.85rem; line-height: 1; margin-bottom: 5px; }
.visit-tile-label { font-size: 1.02rem; font-weight: 750; letter-spacing: -0.01em; }
.visit-tile-count { font-size: 0.82rem; color: var(--soft); font-weight: 600; font-variant-numeric: tabular-nums; }
.visit-tile.active {
  background: var(--ink); border-color: var(--ink);
}
.visit-tile.active .visit-tile-label,
.visit-tile.active .visit-tile-count { color: var(--paper); }

/* Module carte : rail elegant + carte arrondie */
.visit-explore {
  display: grid; grid-template-columns: 364px 1fr; gap: 18px;
  height: 72vh; min-height: 520px; margin: 24px 0 8px;
}
.visit-rail {
  display: flex; flex-direction: column; min-height: 0;
  background: var(--surface-solid); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; box-shadow: var(--soft-shadow);
}
.visit-rail-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 18px; border-bottom: 1px solid var(--line);
}
.visit-rail-count { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--soft); }
.visit-locate {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--ink); font: inherit; font-size: 0.8rem; font-weight: 700;
  padding: 7px 13px; cursor: pointer; transition: border-color 0.18s ease, color 0.18s ease;
}
.visit-locate:hover { border-color: var(--accent); color: var(--accent); }
.visit-locate.is-loading { opacity: 0.5; pointer-events: none; }
.visit-list { flex: 1; overflow-y: auto; padding: 6px; }
.visit-list::-webkit-scrollbar { width: 9px; }
.visit-list::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 9px; border: 3px solid var(--surface-solid); }
.visit-row {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 11px 12px; border: 0; background: none; cursor: pointer;
  border-radius: 13px; color: var(--ink); font: inherit;
}
.visit-row:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.visit-row.active { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.visit-row-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 6%, transparent); }
.visit-row-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.visit-row-text strong { font-size: 0.9rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.visit-row-text small { font-size: 0.78rem; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.visit-dist { flex: none; font-size: 0.76rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.visit-more {
  display: block; width: calc(100% - 12px); margin: 6px; padding: 11px;
  border: 0; border-radius: 13px; background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--accent); font: inherit; font-weight: 800; font-size: 0.84rem; cursor: pointer;
}
.visit-more:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.visit-empty { padding: 22px 16px; color: var(--soft); font-size: 0.88rem; text-align: center; }
.visit-mapcol { min-width: 0; }
.visit-mapcanvas {
  height: 100%; width: 100%; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--soft-shadow);
}

/* Incontournables — cartes editoriales raffinees */
.visit-section { margin: 44px 0 0; }
.visit-wonders {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 18px;
}
.visit-wonder {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  border-radius: 18px; overflow: hidden; background: var(--surface-solid);
  border: 1px solid var(--line); box-shadow: 0 14px 34px -26px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.visit-wonder:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.55); }
.visit-wonder-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.visit-wonder-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.visit-wonder:hover .visit-wonder-photo img { transform: scale(1.06); }
.visit-wonder-tag {
  position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(12, 14, 16, 0.62); color: #fff; backdrop-filter: blur(6px);
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
}
.visit-wonder-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 2px; }
.visit-wonder-body strong { font-size: 0.98rem; letter-spacing: -0.01em; }
.visit-wonder-body small { font-size: 0.8rem; color: var(--soft); }
.visit-onmap { display: none; }

/* Conseils — tryptique editorial */
/* Rail des randonnées (page Visiter) */
.visit-randos { margin: 40px 0 10px; }
.rando-card {
  flex: 0 0 236px; scroll-snap-align: start; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: var(--surface-solid); box-shadow: var(--soft-shadow);
  text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rando-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.rando-media {
  position: relative; display: block; height: 142px; background-size: cover; background-position: center;
  background-color: color-mix(in srgb, var(--leaf, #2d9d6f) 18%, var(--surface-solid));
  display: grid; place-items: center;
}
.rando-media-emoji { font-size: 2.6rem; opacity: .55; }
.rando-diff {
  position: absolute; top: 10px; left: 10px; font-size: .68rem; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; color: #fff; letter-spacing: .02em;
  backdrop-filter: blur(2px);
}
.rando-diff.diff-facile { background: rgba(45, 157, 111, .92); }
.rando-diff.diff-moyen { background: rgba(224, 169, 59, .95); }
.rando-diff.diff-difficile { background: rgba(224, 70, 59, .92); }
.rando-body { padding: 12px 14px 15px; display: flex; flex-direction: column; gap: 4px; }
.rando-body strong { font-size: .96rem; line-height: 1.25; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rando-zone { color: var(--soft); font-size: .78rem; }
.rando-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; color: var(--muted); font-size: .8rem; font-weight: 600; }
@media (max-width: 640px) { .rando-card { flex-basis: 200px; } .rando-media { height: 120px; } }

/* Page randonnées : grille + fiche détaillée */
.rando-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 18px; }
.rando-grid .rando-card { flex: initial; width: 100%; text-align: left; font: inherit; cursor: pointer; }
@media (max-width: 640px) { .rando-grid { grid-template-columns: 1fr; } .rando-grid .rando-card .rando-media { height: 150px; } }

.rando-modal { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 16px; }
.rando-modal[hidden] { display: none; }
.rando-modal-back { position: absolute; inset: 0; background: rgba(15, 20, 30, .55); backdrop-filter: blur(3px); }
.rando-modal-panel { position: relative; z-index: 1; width: min(560px, 100%); max-height: 92vh; overflow-y: auto;
  background: var(--surface-solid); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.rando-modal-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.rm-cover { height: 210px; background-size: cover; background-position: center; border-radius: 22px 22px 0 0;
  background-color: color-mix(in srgb, var(--leaf, #2d9d6f) 20%, var(--surface-solid)); }
.rm-cover.no-img { display: grid; place-items: center; }
.rm-cover.no-img::after { content: "🥾"; font-size: 3rem; opacity: .5; }
.rm-body { padding: 20px 22px 24px; }
.rm-body > .rando-diff { position: static; display: inline-block; }
.rm-body h2 { margin: 9px 0 2px; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.2; }
.rm-zone { color: var(--soft); font-size: .9rem; margin: 0; }
.rm-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 15px 0 18px; }
.rm-meter .seg { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.rm-meter[data-level="facile"] .seg.facile { background: #2d9d6f; }
.rm-meter[data-level="moyen"] .seg.facile, .rm-meter[data-level="moyen"] .seg.moyen { background: #e0a93b; }
.rm-meter[data-level="difficile"] .seg { background: #e0463b; }
.rm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 18px; }
.rm-stat { background: color-mix(in srgb, var(--ink) 5%, transparent); border-radius: 14px; padding: 12px 8px;
  text-align: center; display: flex; flex-direction: column; gap: 2px; }
.rm-stat-ic { font-size: 1.4rem; }
.rm-stat small { color: var(--soft); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; }
.rm-stat strong { font-size: .88rem; line-height: 1.25; }
.rm-excerpt { color: var(--muted); line-height: 1.6; font-size: .92rem; margin: 0 0 16px; }
.rm-map { position: relative; height: 210px; border-radius: 16px; overflow: hidden; margin-bottom: 18px;
  background: color-mix(in srgb, var(--ink) 6%, transparent); }
.rm-map-load { position: absolute; inset: 0; z-index: 401; display: grid; place-items: center;
  color: var(--soft); font-size: .85rem; pointer-events: none; }
.rm-cta { width: 100%; justify-content: center; }

.rando-more-wrap { text-align: center; margin: 4px 0 26px; }
.rando-more { min-width: 220px; justify-content: center; }

/* --- Directs TV (direct.php) : salle sombre facon Apple TV --- */
.tvd-page { background: #000; color: #f5f5f7; }
.tvd-page .topbar, .tvd-page .nav { background: transparent; border-color: rgba(255,255,255,.09); }
.tvd-page .nav-link, .tvd-page .nav-top { color: rgba(245,245,247,.72); }
.tvd-page .brand { color: rgba(245,245,247,.9) !important; }  /* .brand est en !important dans le theme clair */
.tvd-page .nav-link:hover, .tvd-page .nav-top:hover,
.tvd-page .nav-link.active, .tvd-page .nav-top.active { color: #fff; }
.tvd-page .brand-mark { filter: brightness(1.85) contrast(1.05); }  /* garde le logo, l'eclaircit pour le fond noir */
.tvd-page .nav-menu { background: #16161a; border-color: rgba(255,255,255,.12); }
.tvd-page .nav-menu a { color: rgba(245,245,247,.8); }
.tvd-page .nav-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.tvd-app { max-width: 1240px; }

/* Lecteur : grande scene en tete, la liste reste dessous. */
.tvd-stage { position: relative; margin: 6px 0 26px; }
.tvd-glow { position: absolute; left: -2%; right: -2%; top: 4%; bottom: 16%; z-index: 0; border-radius: 48px;
  background: linear-gradient(100deg, var(--amb-a, #141a22), var(--amb-b, #1d2b36));
  filter: blur(72px) saturate(1.5); opacity: 1; pointer-events: none;
  transition: background .6s ease; }
.tvd-screen { position: relative; z-index: 1; aspect-ratio: 16 / 9; background: #000; border-radius: 22px;
  overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.07); }
.tvd-screen iframe, .tvd-screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.tvd-screen video { object-fit: contain; }
.tvd-msg { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 16px;
  background: #000; color: rgba(255,255,255,.72); font-size: .92rem; text-align: center; }
.tvd-msg[hidden] { display: none; }
.tvd-msg.is-cta { cursor: pointer; font-weight: 700; font-size: 1.1rem; color: #fff;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.09), #000 62%); }

.tvd-now { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; padding: 18px 4px 0; }
.tvd-now-main { min-width: 0; max-width: 100%; }
.tvd-now h1 { margin: 7px 0 3px; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: #f5f5f7; }
.tvd-now p { margin: 0; color: rgba(245,245,247,.58); font-size: .9rem; }
.tvd-fresh { opacity: .6; }
.tvd-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: rgba(224,70,59,.16); color: #ff6b5e; font-size: .64rem; font-weight: 800; letter-spacing: .08em; }
.tvd-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff453a; animation: tvd-pulse 1.6s ease-in-out infinite; }
@keyframes tvd-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.tvd-src { flex: 0 0 auto; padding: 9px 17px; border-radius: 999px; text-decoration: none;
  background: rgba(255,255,255,.13); color: #f5f5f7; font-size: .82rem; font-weight: 600;
  backdrop-filter: blur(12px); transition: background .15s ease; }
.tvd-src:hover { background: rgba(255,255,255,.22); }

/* Barre de commandes : segments facon iOS + recherche. */
.tvd-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 4px 0 22px; }
.tvd-seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); }
.tvd-seg-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 0; border-radius: 999px;
  background: transparent; color: rgba(245,245,247,.62); font: inherit; font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: background .16s ease, color .16s ease; white-space: nowrap; }
.tvd-seg-btn span { padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .7rem; font-weight: 700; }
.tvd-seg-btn:hover { color: #f5f5f7; }
.tvd-seg-btn.is-on { background: rgba(255,255,255,.17); color: #fff; }
.tvd-find { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: rgba(245,245,247,.55); min-width: 0; }
.tvd-find input { border: 0; background: transparent; color: #f5f5f7; font: inherit; font-size: .87rem; outline: none;
  width: 210px; max-width: 46vw; }
.tvd-find input::placeholder { color: rgba(245,245,247,.42); }

/* Etageres : une rangee defilante par pays. */
.tvd-shelf { margin: 0 0 30px; }
.tvd-shelf-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 13px; padding: 0 2px;
  font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; color: #f5f5f7; }
.tvd-shelf-flag { font-size: 1.1rem; }
.tvd-shelf-head small { color: rgba(245,245,247,.42); font-size: .76rem; font-weight: 500; letter-spacing: 0; }
.tvd-row { display: flex; gap: 16px; overflow-x: auto; padding: 6px 2px 12px; scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.tvd-row::-webkit-scrollbar { height: 7px; }
.tvd-row::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255,255,255,.18); }
.tvd-tile { flex: 0 0 158px; display: grid; justify-items: start; gap: 2px; padding: 0; border: 0;
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start;
  transition: transform .22s cubic-bezier(.2,.7,.3,1); }
.tvd-tile:hover, .tvd-tile:focus-visible { transform: scale(1.06); outline: none; }
.tvd-tile-art { position: relative; display: grid; place-items: center; width: 158px; height: 100px; margin-bottom: 9px;
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); transition: box-shadow .22s ease; }
.tvd-tile:hover .tvd-tile-art { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 18px 34px -16px rgba(0,0,0,.9); }
.tvd-tile-art img { width: 58px; height: 58px; border-radius: 13px; object-fit: cover; }
.tvd-tile-ini { font-size: 1.15rem; font-weight: 900; color: rgba(245,245,247,.55); letter-spacing: -0.02em; }
.tvd-tile-live { position: absolute; top: 8px; left: 8px; padding: 2px 7px; border-radius: 5px;
  background: #ff453a; color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .07em; }
.tvd-tile-name { font-size: .87rem; font-weight: 700; color: #f5f5f7; max-width: 158px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvd-tile-sub { font-size: .74rem; color: rgba(245,245,247,.45); }
.tvd-tile.is-off .tvd-tile-art { opacity: .38; }
.tvd-tile.is-off .tvd-tile-name { color: rgba(245,245,247,.5); }
.tvd-tile.is-playing .tvd-tile-art { box-shadow: inset 0 0 0 2px #f5f5f7, 0 18px 34px -16px rgba(0,0,0,.9); }

.tvd-empty { color: rgba(245,245,247,.5); padding: 26px 2px; }
.tvd-legal { margin: 8px 0 34px; padding: 0 2px; color: rgba(245,245,247,.38); font-size: .78rem; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .tvd-glow { transition: none; }
  .tvd-dot { animation: none; }
  .tvd-tile { transition: none; }
}
@media (max-width: 640px) {
  .tvd-screen { border-radius: 14px; }
  .tvd-glow { filter: blur(42px) saturate(1.5); border-radius: 30px; left: -4%; right: -4%; }
  .tvd-now { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tvd-now h1 { font-size: 1.4rem; }
  .tvd-src { width: 100%; text-align: center; }
  .tvd-bar { gap: 10px; }
  .tvd-seg { width: 100%; overflow-x: auto; }
  .tvd-find { width: 100%; }
  .tvd-find input { width: 100%; max-width: none; }
  .tvd-tile { flex-basis: 124px; }
  .tvd-tile-art, .tvd-tile-name { width: 124px; max-width: 124px; }
  .tvd-tile-art { height: 80px; }
  .tvd-tile-art img { width: 46px; height: 46px; }
}

/* --- Visiter v3 : pills de theme (sur base quick-searches accueil) --- */
.visit-page .quick-searches a b { font-weight: 800; opacity: 0.55; margin-left: 2px; }
.visit-page .quick-searches a.active {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}
.visit-page .quick-searches a.active b { opacity: 0.7; }
.visit-page .visit-mapsection .visit-explore { margin-top: 4px; }

/* --- Fiche lieu touristique (2026-06-13) --- */
.fiche-back {
  display: inline-block; margin: 16px 0 0; color: var(--soft);
  text-decoration: none; font-weight: 700; font-size: 0.88rem;
}
.fiche-back:hover { color: var(--accent); }
.fiche-hero { margin-top: 12px; }
.fiche-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fiche-actions a:not(.tvplus-cta) {
  display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); color: var(--ink);
  text-decoration: none; font-weight: 700; font-size: 0.88rem;
}
.fiche-actions a:not(.tvplus-cta):hover { border-color: var(--accent); color: var(--accent); }

.fiche-map {
  height: 460px; width: 100%; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--soft-shadow);
}

/* Randonnees */
.fiche-hikes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.fiche-hike {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink);
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fiche-hike:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fiche-hike-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fiche-hike-top strong { font-size: 1rem; letter-spacing: -0.01em; }
.fiche-km { flex: none; font-size: 0.78rem; font-weight: 800; color: var(--accent); }
.fiche-hike p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.fiche-hike-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; font-size: 0.78rem; color: var(--soft); }
.fiche-diff {
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.7rem;
  padding: 3px 9px; border-radius: 999px;
}
.fiche-diff.easy { background: color-mix(in srgb, #2d6a4f 20%, transparent); color: #2d6a4f; }
.fiche-diff.medium { background: color-mix(in srgb, #c59b3d 22%, transparent); color: #9a7720; }
.fiche-diff.hard { background: color-mix(in srgb, #d62828 18%, transparent); color: #d62828; }
:root[data-theme="dark"] .fiche-diff.medium { color: #e0b84e; }

/* Bonnes adresses */
.fiche-nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.fiche-near {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.fiche-near:hover { border-color: var(--accent); transform: translateY(-2px); }
.fiche-near-emoji { font-size: 1.5rem; flex: none; }
.fiche-near-text { display: flex; flex-direction: column; min-width: 0; }
.fiche-near-text strong { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fiche-near-text small { font-size: 0.78rem; color: var(--soft); }

@media (max-width: 760px) {
  .fiche-map { height: 340px; }
}

/* --- Visiter : bulles communes (clustering) 2026-06-13 --- */
.commune-wrap { background: none !important; border: 0 !important; }
.commune-bubble {
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1aa5b0, var(--accent));
  color: #fff; font-weight: 800; box-shadow: 0 6px 18px -6px rgba(0,0,0,.5), 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
  cursor: pointer; transition: transform 0.18s ease;
}
.commune-bubble b { font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.commune-wrap:hover .commune-bubble { transform: scale(1.1); }
.commune-name {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 4px);
  white-space: nowrap; font-size: 0.72rem; font-weight: 800; color: var(--ink);
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 999px;
  padding: 1px 8px; box-shadow: var(--soft-shadow); pointer-events: none;
}
.commune-row .visit-chev { margin-left: auto; color: var(--soft); font-size: 1.2rem; font-weight: 700; }
.commune-row:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.visit-back {
  border: 0; background: none; cursor: pointer; font: inherit; font-weight: 800;
  font-size: 0.82rem; color: var(--accent); padding: 0; letter-spacing: 0;
  text-transform: none;
}
.visit-back:hover { text-decoration: underline; }

/* === Fiche lieu repensée (2026-06-13 v2) === */
.fiche-cover {
  position: relative; margin-top: 16px; border-radius: 24px; overflow: hidden;
  min-height: clamp(340px, 52vh, 520px); display: flex; align-items: flex-end;
  background-image: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.12) 55%, rgba(0,0,0,.4)), var(--billboard);
  background-size: cover; background-position: center; box-shadow: var(--shadow);
}
.fiche-cover-inner { padding: 30px 32px; color: #fff; width: 100%; }
.fiche-crumb { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 700; font-size: .85rem; }
.fiche-crumb:hover { color: #fff; }
.fiche-cover-kicker { margin: 16px 0 4px; text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; font-weight: 800; color: rgba(255,255,255,.92); }
.fiche-cover h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.02em; line-height: 1.03; color: #fff; }
.fiche-cover-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.fiche-cover-meta span {
  background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.24); color: #fff; padding: 5px 12px; border-radius: 999px;
  font-size: .82rem; font-weight: 600;
}

.fiche-grid { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 26px; margin-top: 26px; align-items: start; }
.fiche-main { display: flex; flex-direction: column; gap: 24px; }
.fiche-block h2 { margin: 0 0 10px; font-size: 1.2rem; letter-spacing: -.01em; }
.fiche-lede { margin: 0; font-size: 1.04rem; line-height: 1.65; color: var(--muted); }
.fiche-acts { display: flex; flex-wrap: wrap; gap: 9px; }
.fiche-act { background: var(--surface-solid); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .88rem; box-shadow: var(--soft-shadow); }
.fiche-tipbox { background: color-mix(in srgb, var(--accent) 8%, var(--surface-solid)); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); border-radius: 18px; padding: 18px 20px; }
.fiche-tipbox h2 { font-size: 1.05rem; }
.fiche-tipbox p { margin: 0; color: var(--ink); line-height: 1.6; font-size: .92rem; }

.fiche-aside { position: sticky; top: 14px; }
.fiche-mapcard { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface-solid); box-shadow: var(--soft-shadow); }
.fiche-mapcanvas { height: 320px; width: 100%; }
.fiche-where { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.fiche-where-row strong { display: block; font-size: .98rem; }
.fiche-where-row small { color: var(--soft); font-size: .82rem; }
.fiche-where-actions { display: flex; gap: 9px; }
.fiche-go { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--accent); color: #fff; border-radius: 12px; padding: 11px; font-weight: 800; font-size: .88rem; text-decoration: none; }
.fiche-go:hover { opacity: .92; }
.fiche-wiki { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; padding: 11px 16px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .88rem; }
.fiche-wiki:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 860px) {
  .fiche-grid { grid-template-columns: 1fr; }
  .fiche-aside { position: static; }
  .fiche-cover-inner { padding: 22px 20px; }
}

/* --- Filtres thématiques directement sur la carte (2026-06-13) --- */
.visit-mapcol { position: relative; }
.map-filterbar {
  position: absolute; z-index: 1000; top: 12px; left: 12px; right: 12px;
  display: flex; gap: 7px; overflow-x: auto; padding: 7px;
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 14px; box-shadow: 0 10px 30px -16px rgba(0,0,0,.45);
  scrollbar-width: none;
}
.map-filterbar::-webkit-scrollbar { display: none; }
.map-filterbar button {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface-solid);
  color: var(--ink); font: inherit; font-size: 0.8rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.map-filterbar button:hover { border-color: var(--accent); }
.map-filterbar button.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* --- Recherche : lieux mis en avant en rail horizontal (2026-06-13) --- */
/* Rail "en vedette" : volontairement compact et secondaire — la liste de
   résultats reste l'élément principal de la page. */
.search-places { margin: 4px 0 6px; }
.search-places .section-title { margin-bottom: 8px; }
.search-places .section-title h2 { font-size: 1.1rem; font-weight: 700; }
.search-places-rail {
  display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px;
  scroll-snap-type: x proximity; scrollbar-width: none;
}
.search-places-rail::-webkit-scrollbar { display: none; }
.search-place-card {
  flex: 0 0 138px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 3px;
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px;
  background: var(--surface-solid); box-shadow: var(--soft-shadow);
  text-decoration: none; color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.search-place-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.search-place-emoji { font-size: 1.35rem; line-height: 1; }
.search-place-card strong { font-size: 0.84rem; letter-spacing: -0.01em; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-place-card strong mark { background: color-mix(in srgb, var(--accent) 24%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.search-place-card small { font-size: 0.74rem; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Commune sur la carte-lieu du rail recherche */
.search-place-loc { color: var(--accent) !important; font-weight: 700; }

/* Carte ciné (affiche) dans les rails recherche */
.search-place-poster { flex: 0 0 104px; }
.search-poster {
  display: block; width: 100%; aspect-ratio: 2 / 3; border-radius: 11px; overflow: hidden;
  background: color-mix(in srgb, var(--ink) 8%, transparent); margin-bottom: 3px;
}
.search-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Shopping (2026-06-13) ===== */
.shop-rail { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.shop-rail::-webkit-scrollbar { height: 8px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.shop-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--soft-shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shop-rail .shop-card { flex: 0 0 184px; scroll-snap-align: start; }
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shop-photo { position: relative; aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.shop-photo img { width: 100%; height: 100%; object-fit: contain; }
.shop-noimg { font-size: 2.4rem; }
.shop-badge {
  position: absolute; top: 9px; left: 9px; background: #e0312f; color: #fff;
  font-size: 0.74rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; letter-spacing: 0.02em;
}
.shop-badge-drop { background: #2d6a4f; }
.shop-body { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.shop-body strong { font-size: 0.86rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-price { font-size: 0.98rem; font-weight: 800; color: var(--ink); margin-top: auto; }
.shop-price del { font-size: 0.8rem; font-weight: 600; color: var(--soft); margin-left: 5px; }
.shop-body small { font-size: 0.76rem; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.shop-rail-catalogs .shop-catalog { flex: 0 0 178px; scroll-snap-align: start; }
.shop-catalog {
  display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--ink);
}
.shop-catalog-cover {
  display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: var(--soft-shadow); margin-bottom: 5px;
  transition: transform 0.2s ease;
}
.shop-catalog:hover .shop-catalog-cover { transform: translateY(-4px); }
.shop-catalog-cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-catalog strong { font-size: 0.88rem; }
.shop-catalog small { font-size: 0.76rem; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.shop-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.shop-filters button {
  border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); font: inherit;
  font-size: 0.82rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; cursor: pointer;
}
.shop-filters button:hover { border-color: var(--accent); }
.shop-filters button.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.shop-empty { color: var(--soft); padding: 20px 0; }

:root[data-theme="dark"] .shop-photo { background: #f4f4f2; }

/* ===== Location / Dormir (2026-06-13) ===== */
.lodge-airbnb { display: flex; flex-wrap: wrap; gap: 10px; }
.lodge-air {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink);
  font-weight: 700; font-size: 0.88rem; padding: 9px 15px; border-radius: 999px; box-shadow: var(--soft-shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.lodge-air:hover { transform: translateY(-2px); border-color: #ff385c; color: #ff385c; }
.lodge-air-ico { font-size: 1.05rem; }

.lodge-map { height: 460px; width: 100%; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--soft-shadow); }

.lodge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 16px; }
.lodge-card {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px;
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--soft-shadow);
}
.lodge-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lodge-type {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  color: #fff; background: var(--c, #94a3b8); padding: 3px 9px; border-radius: 999px;
}
.lodge-stars { color: #e0a93b; font-size: 0.82rem; letter-spacing: 1px; }
.lodge-card h3 { margin: 0; font-size: 1rem; letter-spacing: -0.01em; }
.lodge-loc { margin: 0; font-size: 0.82rem; color: var(--soft); }
.lodge-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 6px; }
.lodge-actions a {
  font-size: 0.78rem; font-weight: 700; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
}
.lodge-actions a:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.lodge-actions a:hover { border-color: var(--accent); }
.lodge-actions a:first-child:hover { color: #fff; opacity: 0.92; }
.lodge-empty { color: var(--soft); padding: 18px 0; }

@media (max-width: 760px) { .lodge-map { height: 340px; } }

/* ===== Dormir : look Airbnb (2026-06-13) ===== */
.location-page { --air: #ff385c; }
.location-page .hero-grad { background: linear-gradient(90deg,#ff385c,#e61e4d 60%,#bd1e59); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.location-page .searchbar-hero { border-radius: 999px; box-shadow: 0 8px 26px -10px rgba(0,0,0,.28); border: 1px solid var(--line); background: var(--surface-solid); padding: 7px 7px 7px 18px; }
.location-page .searchbar-hero button { background: var(--air); border-color: var(--air); border-radius: 999px; }
.location-page .searchbar-hero button:hover { background: #e61e4d; }
.location-page #lodgeChips { gap: 8px; }
.location-page #lodgeChips a { border: 1px solid var(--line); border-radius: 999px; background: var(--surface-solid); font-weight: 600; }
.location-page #lodgeChips a.active { background: var(--air); border-color: var(--air); color: #fff; }
.location-page #lodgeChips a.active b { color: rgba(255,255,255,.82); }
.location-page .lodge-air { border-radius: 999px; }
.location-page .lodge-air:hover { border-color: var(--air); color: var(--air); }

.location-page .lodge-grid { grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 24px 18px; }
.location-page .lodge-card { background: none; border: 0; box-shadow: none; padding: 0; gap: 9px; }
.location-page .lodge-photo {
  position: relative; display: grid; place-items: center; aspect-ratio: 20 / 19; border-radius: 14px; overflow: hidden;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c) 80%, #111), color-mix(in srgb, var(--c) 32%, #14181d));
  text-decoration: none;
}
.location-page .lodge-emoji { font-size: 3.4rem; filter: drop-shadow(0 5px 12px rgba(0,0,0,.35)); transition: transform .3s ease; }
.location-page .lodge-card:hover .lodge-emoji { transform: scale(1.09); }
.location-page .lodge-heart { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; cursor: pointer; }
.location-page .lodge-heart:hover svg path { fill: var(--air); }
.location-page .lodge-tag {
  position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.93); color: #222;
  font-size: .7rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em;
}
.location-page .lodge-info { display: flex; flex-direction: column; gap: 1px; }
.location-page .lodge-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.location-page .lodge-row strong { font-size: .95rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.location-page .lodge-rate { font-size: .86rem; font-weight: 600; white-space: nowrap; }
.location-page .lodge-sub { margin: 0; color: var(--soft); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.location-page .lodge-actions { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 6px; }
.location-page .lodge-actions a:first-child { background: var(--air); border-color: var(--air); }
.location-page .lodge-actions a:first-child:hover { background: #e61e4d; opacity: 1; }
.location-page .lodge-actions a:hover { border-color: var(--air); }

/* ===== Shopping : look Alibaba (2026-06-13) ===== */
.shopping-page { --ali: #ff6a00; --ali2: #ff4e00; }
.shopping-page .shopping-hero {
  background: linear-gradient(120deg, #ff7a18, #ff4e00 70%, #e03e00);
  border-radius: 20px; padding: 30px 30px 26px; box-shadow: 0 18px 44px -24px rgba(255,78,0,.6); margin-top: 14px;
}
.shopping-page .shopping-hero .home-hero-copy { max-width: 720px; }
.shopping-page .shopping-hero .kicker { color: rgba(255,255,255,.9); }
.shopping-page .shopping-hero h1 { color: #fff; }
.shopping-page .shopping-hero h1 .hero-grad { background: none; -webkit-text-fill-color: #ffd76a; color: #ffd76a; }
.shopping-page .shopping-hero > .home-hero-copy > p { color: rgba(255,255,255,.92); }
.shopping-page .shopping-hero .hero-stats { color: #fff; }
.shopping-page .shopping-hero .hero-stats strong { color: #fff; }
.shopping-page .shopping-hero .searchbar-hero { background: #fff; border-radius: 8px; padding: 6px 6px 6px 16px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); }
.shopping-page .shopping-hero .searchbar-hero input { color: #181816; }
.shopping-page .shopping-hero .searchbar-hero .search-icon { color: #ff5a00; }
.shopping-page .shopping-hero .searchbar-hero button { background: linear-gradient(90deg,#ff6a00,#ff3d00); border: 0; border-radius: 6px; font-weight: 800; }

.shopping-page .text-link { color: var(--ali2); font-weight: 800; }
.shopping-page .shop-grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
.shopping-page .shop-rail .shop-card { flex: 0 0 168px; }
.shopping-page .shop-card { border-radius: 9px; border-color: color-mix(in srgb, var(--ink) 9%, transparent); }
.shopping-page .shop-card:hover { border-color: var(--ali); box-shadow: 0 10px 22px -10px rgba(255,90,0,.5); transform: translateY(-3px); }
.shopping-page .shop-photo { aspect-ratio: 1 / 1; }
.shopping-page .shop-body { padding: 9px 11px 12px; gap: 3px; }
.shopping-page .shop-price { color: var(--ali2); font-size: 1.1rem; font-weight: 900; }
.shopping-page .shop-price del { color: var(--soft); }
.shopping-page .shop-badge {
  top: 0; left: 0; border-radius: 0 0 9px 0; background: linear-gradient(90deg,#ff6a00,#ff2020);
  padding: 4px 9px; font-weight: 900;
}
.shopping-page .shop-badge-drop { background: linear-gradient(90deg,#2d6a4f,#1b8a5a); }
.shopping-page .shop-filters button.active { background: var(--ali2); border-color: var(--ali2); color: #fff; }
.shopping-page .shop-filters button:hover { border-color: var(--ali); }
.shopping-page .shop-catalog-cover { border-radius: 8px; }

/* ===== Shopping v2 : accueil comparateur (Alibaba) 2026-06-13 ===== */
.shopx-hero {
  margin-top: 14px; padding: 34px 30px 26px; border-radius: 20px; text-align: center;
  background: linear-gradient(120deg, #ff7a18, #ff4e00 70%, #e03e00);
  box-shadow: 0 18px 44px -24px rgba(255,78,0,.6); color: #fff;
}
.shopx-hero .kicker { color: rgba(255,255,255,.9); }
.shopx-hero h1 { margin: 4px 0 18px; font-size: clamp(1.7rem,3.4vw,2.5rem); color: #fff; letter-spacing: -.02em; }
.shopx-hero h1 span { color: #ffd76a; }
.shopx-search {
  display: flex; align-items: center; gap: 10px; max-width: 680px; margin: 0 auto;
  background: #fff; border-radius: 10px; padding: 7px 7px 7px 16px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.4);
}
.shopx-search svg { color: #ff5a00; flex: none; }
.shopx-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: #181816; }
.shopx-search button { flex: none; border: 0; border-radius: 7px; padding: 11px 22px; font: inherit; font-weight: 800; color: #fff; cursor: pointer; background: linear-gradient(90deg,#ff6a00,#ff3d00); }
.shopx-univers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px auto 0; max-width: 820px; }
.shopx-univers button {
  border: 0; background: rgba(255,255,255,.16); color: #fff; font: inherit; font-size: .82rem; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(6px); transition: background .15s ease;
}
.shopx-univers button span { opacity: .75; }
.shopx-univers button:hover { background: rgba(255,255,255,.28); }
.shopx-univers button.active { background: #fff; color: #e03e00; }
.shopx-univers button.active span { opacity: .6; }
.shopx-hero-stat { margin: 16px 0 0; font-size: .82rem; color: rgba(255,255,255,.88); font-weight: 600; }

.shopx-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.shopx-toolbar select {
  border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); font: inherit; font-size: .85rem;
  font-weight: 600; padding: 8px 12px; border-radius: 10px; cursor: pointer;
}
.shopx-price { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--soft); font-weight: 600; }
.shopx-price input { width: 68px; border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); border-radius: 8px; padding: 7px 9px; font: inherit; }
.shopx-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.shopx-toggle input { accent-color: var(--ali2); width: 16px; height: 16px; }
.shopx-more { text-align: center; margin-top: 18px; }
.shopx-more button {
  border: 1px solid var(--ali); background: var(--surface-solid); color: var(--ali2); font: inherit; font-weight: 800;
  font-size: .9rem; padding: 11px 26px; border-radius: 999px; cursor: pointer;
}
.shopx-more button:hover { background: color-mix(in srgb, var(--ali) 10%, transparent); }

/* ===== Dormir v2 : recherche + carte/liste (Airbnb/Booking) 2026-06-13 ===== */
.lodgex-hero { margin-top: 14px; padding: 6px 0 4px; }
.lodgex-hero .kicker { color: var(--air); }
.lodgex-hero h1 { margin: 4px 0 16px; font-size: clamp(1.7rem,3.4vw,2.5rem); letter-spacing: -.02em; }
.lodgex-search {
  display: flex; align-items: center; gap: 10px; max-width: 640px;
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 7px 7px 18px; box-shadow: 0 10px 28px -12px rgba(0,0,0,.25);
}
.lodgex-search svg { color: var(--air); flex: none; }
.lodgex-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); }
.lodgex-search button { flex: none; border: 0; border-radius: 999px; padding: 11px 22px; font: inherit; font-weight: 800; color: #fff; cursor: pointer; background: var(--air); }
.lodgex-search button:hover { background: #e61e4d; }
.lodgex-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.lodgex-types button { border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); font: inherit; font-size: .82rem; font-weight: 700; padding: 7px 13px; border-radius: 999px; cursor: pointer; }
.lodgex-types button b { color: var(--soft); font-weight: 700; }
.lodgex-types button:hover { border-color: var(--air); }
.lodgex-types button.active { background: var(--air); border-color: var(--air); color: #fff; }
.lodgex-types button.active b { color: rgba(255,255,255,.8); }
.lodgex-hero-stat { margin: 12px 0 0; font-size: .82rem; color: var(--soft); font-weight: 600; }

.lodgex-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.lodgex-toolbar select { border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); font: inherit; font-size: .85rem; font-weight: 600; padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.lodgex-split { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 20px; align-items: start; }
.lodgex-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 22px 16px; align-content: start; }
.lodgex-mapcol { position: sticky; top: 14px; }
.lodgex-map { height: 74vh; min-height: 520px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--soft-shadow); }

@media (max-width: 900px) {
  .lodgex-split { grid-template-columns: 1fr; }
  .lodgex-mapcol { position: static; order: -1; }
  .lodgex-map { height: 52vh; min-height: 320px; }
}

/* ===== Dormir : mode carte Booking (2026-06-13) ===== */
.lodgeb-head { margin: 14px 0 12px; }
.lodgeb-head h1 { margin: 0; font-size: clamp(1.5rem,3vw,2.1rem); letter-spacing: -.02em; }
.lodgeb-head p { margin: 4px 0 0; color: var(--soft); font-size: .88rem; font-weight: 600; }

.lodgeb-stage {
  position: relative; height: calc(100vh - 150px); min-height: 560px;
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.lodgeb-map { position: absolute; inset: 0; }

/* Controls flottants en haut */
.lodgeb-controls {
  position: absolute; z-index: 500; top: 14px; left: 14px; right: 14px;
  display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; pointer-events: none;
}
.lodgeb-controls > * { pointer-events: auto; }
.lodgeb-search {
  display: flex; align-items: center; gap: 8px; background: var(--surface-solid); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 14px; box-shadow: 0 8px 22px -10px rgba(0,0,0,.35);
  flex: 0 1 240px; min-width: 0;
}
.lodgeb-search svg { color: var(--air); }
.lodgeb-search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: .9rem; color: var(--ink); width: 100%; }
.lodgeb-controls select {
  border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); font: inherit; font-size: .84rem;
  font-weight: 600; padding: 9px 12px; border-radius: 999px; box-shadow: 0 8px 22px -10px rgba(0,0,0,.35); cursor: pointer;
  flex: 0 0 auto;
}
.lodgeb-chips { display: flex; gap: 6px; overflow-x: auto; flex: 1 1 0%; min-width: 0; scrollbar-width: none; }
.lodgeb-chips::-webkit-scrollbar { display: none; }
.lodgeb-chips button {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); font: inherit;
  font-size: .8rem; font-weight: 700; padding: 8px 13px; border-radius: 999px; cursor: pointer; box-shadow: 0 8px 22px -12px rgba(0,0,0,.3);
}
.lodgeb-chips button.active { background: var(--air); border-color: var(--air); color: #fff; }

/* Panneau résultats flottant (gauche) */
.lodgeb-results {
  position: absolute; z-index: 900; left: 14px; bottom: 14px; top: 72px; width: 340px; max-width: calc(100% - 28px);
  display: flex; flex-direction: column; background: var(--surface-solid); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 16px 40px -18px rgba(0,0,0,.45); overflow: hidden;
}
.lodgeb-count { margin: 0; padding: 12px 16px 8px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--soft); border-bottom: 1px solid var(--line); }
.lodgeb-list { flex: 1; overflow-y: auto; padding: 6px; }
.lodgeb-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none; cursor: pointer; padding: 9px 10px; border-radius: 12px; color: var(--ink); font: inherit; }
.lodgeb-row:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.lodgeb-row.is-active { background: color-mix(in srgb, var(--air) 12%, transparent); }
.lodgeb-thumb { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 1.3rem; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 80%, #111), color-mix(in srgb, var(--c) 32%, #14181d)); }
.lodgeb-rowtext { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lodgeb-rowtext strong { font-size: .86rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lodgeb-rowtext small { font-size: .76rem; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lodgeb-stars { flex: none; font-size: .76rem; font-weight: 800; color: #e0a93b; }
.lodgeb-more { margin: 6px; border: 0; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--air); font: inherit; font-weight: 800; font-size: .82rem; padding: 10px; border-radius: 12px; cursor: pointer; }
.lodgeb-empty { padding: 18px; color: var(--soft); font-size: .86rem; text-align: center; }

/* Panneau détail (slide) */
.lodgeb-detail {
  position: absolute; z-index: 1100; left: 14px; bottom: 14px; top: 72px; width: 340px; max-width: calc(100% - 28px);
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px; overflow: hidden auto;
  box-shadow: 0 22px 50px -16px rgba(0,0,0,.55); animation: lodgeb-slide .28s cubic-bezier(.2,.7,.3,1);
}
@keyframes lodgeb-slide { from { transform: translateX(-16px); opacity: 0; } to { transform: none; opacity: 1; } }
.lodgeb-detail-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #222; cursor: pointer; font-size: .9rem; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.lodgeb-d-photo { aspect-ratio: 16/10; display: grid; place-items: center; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 82%, #111), color-mix(in srgb, var(--c) 32%, #14181d)); }
.lodgeb-d-photo span { font-size: 4rem; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.lodgeb-d-body { padding: 16px 18px 20px; }
.lodgeb-d-tag { display: inline-block; color: #fff; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.lodgeb-d-body h2 { margin: 10px 0 6px; font-size: 1.2rem; letter-spacing: -.01em; }
.lodgeb-d-stars { color: #e0a93b; font-size: .9rem; }
.lodgeb-d-loc { margin: 0 0 14px; color: var(--soft); font-size: .88rem; }
.lodgeb-d-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lodgeb-d-primary, .lodgeb-d-link { font-size: .84rem; font-weight: 700; text-decoration: none; padding: 9px 15px; border-radius: 999px; }
.lodgeb-d-primary { background: var(--air); color: #fff; }
.lodgeb-d-primary:hover { background: #e61e4d; }
.lodgeb-d-link { border: 1px solid var(--line); color: var(--ink); }
.lodgeb-d-link:hover { border-color: var(--air); color: var(--air); }

@media (max-width: 820px) {
  .lodgeb-stage { height: auto; min-height: 0; display: flex; flex-direction: column; border: 0; box-shadow: none; overflow: visible; }
  .lodgeb-map { position: relative; inset: auto; height: 56vh; border-radius: 16px; }
  .lodgeb-controls { position: static; padding: 12px 0 0; flex-wrap: wrap; }
  .lodgeb-search { flex: 1 1 100%; }
  .lodgeb-chips { flex: 1 1 100%; }
  .lodgeb-results { position: static; width: auto; max-width: none; height: auto; max-height: 60vh; margin-top: 12px; }
  .lodgeb-detail { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none; border-radius: 18px 18px 0 0; max-height: 80vh; }
}

/* Bus : itineraire commune -> commune */
.bus-trip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bus-trip select { flex: 1 1 200px; min-width: 0; border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); font: inherit; font-size: .9rem; padding: 11px 14px; border-radius: 12px; cursor: pointer; }
.bus-trip-arrow { color: var(--soft); font-weight: 800; }
.bus-trip-go { border: 0; background: var(--accent); color: #fff; font: inherit; font-weight: 700; padding: 11px 22px; border-radius: 12px; cursor: pointer; }
.bus-trip-go:hover { background: var(--accent-strong, #0A2F73); }
.bus-trip-results { margin-top: 14px; }
.trip-h { margin: 14px 0 8px; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--soft); }
.trip-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.trip-card { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; text-align: left; border: 1px solid var(--line); background: var(--surface-solid); border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; box-shadow: var(--soft-shadow); transition: transform .15s, border-color .15s; }
.trip-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.trip-card small { flex: 1 1 100%; color: var(--soft); font-size: .78rem; }
.trip-line { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 700; color: #fff; background: var(--lc,#888); padding: 3px 10px; border-radius: 999px; }
.trip-at { font-size: .78rem; color: var(--soft); font-weight: 700; }
.trip-empty { color: var(--soft); font-size: .88rem; }

/* Recherche : resultats jeux de donnees (lieux & services) */
.search-data { margin: 8px 0 22px; }
.search-data-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.search-data-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-solid); box-shadow: var(--soft-shadow); text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
.search-data-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.search-data-emoji { font-size: 1.5rem; flex: none; }
.search-data-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.search-data-body strong { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-data-body small { font-size: .78rem; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-data-cat { flex: none; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); padding: 3px 9px; border-radius: 999px; }

/* Page etat des donnees (supervision) */
.etat-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.etat-ok { background: #2e9e5b; } .etat-warn { background: #e0a93b; } .etat-stale { background: #d64545; }
.etat-bad { color: #d64545; }
.etat-table td { font-size: .85rem; }
.etat-msg { color: var(--soft); font-size: .78rem; max-width: 360px; }

/* ===== Shopping v3 : AliExpress × Shopify (2026-06-13) ===== */
.shopping-page { --ae: #ff2d2d; --ae-deep: #e62117; --ae-cta: linear-gradient(90deg,#ff7a18,#ff3024); }

/* Hero épuré (Shopify) avec accent deal */
.shopping-page .shopx-hero {
  margin: 14px 0 36px; padding: 40px 30px 32px; border-radius: 24px; text-align: center; color: var(--ink);
  display: flex; flex-direction: column; align-items: center;
  background:
    radial-gradient(120% 120% at 50% -10%, color-mix(in srgb, #ff5a2a 14%, transparent), transparent 60%),
    var(--surface-solid);
  border: 1px solid var(--line); box-shadow: var(--soft-shadow);
}
.shopping-page .shopx-hero .kicker { color: var(--ae-deep); font-weight: 800; margin: 0 0 8px; }
.shopping-page .shopx-hero h1 { margin: 0 auto 20px; max-width: 20ch; font-size: clamp(1.8rem,3.6vw,2.7rem); letter-spacing: -.025em; line-height: 1.12; color: var(--ink); }
.shopping-page .shopx-hero h1 span { background: linear-gradient(90deg,#ff7a18,#ff2d2d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.shopping-page .shopx-search {
  display: flex; align-items: center; gap: 10px; width: 100%; max-width: 720px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 7px 7px 20px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
.shopping-page .shopx-search svg { color: var(--ae); flex: none; }
.shopping-page .shopx-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); }
.shopping-page .shopx-search button { flex: none; border: 0; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 800; color: #fff; cursor: pointer; background: var(--ae-cta); box-shadow: 0 6px 16px -6px rgba(255,60,30,.6); }
.shopping-page .shopx-search button:hover { filter: brightness(1.05); }

/* Recherche shopping responsive : sur petit écran, le bouton passe sous le champ */
@media (max-width: 560px) {
  .shopping-page .shopx-search, .shopx-search { flex-wrap: wrap; border-radius: 18px; padding: 10px 14px; }
  .shopping-page .shopx-search input, .shopx-search input { font-size: .95rem; }
  .shopping-page .shopx-search button, .shopx-search button { flex: 1 1 100%; padding: 11px; border-radius: 12px; }
}

/* Univers : tuiles "collection" (AliExpress catégories × Shopify) */
.shopping-page .shopx-univers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px auto 0; max-width: 860px; }
.shopping-page .shopx-univers button {
  display: inline-flex; align-items: center; gap: 8px; background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  font: inherit; font-size: .85rem; font-weight: 700; padding: 8px 14px 8px 8px; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.shopping-page .shopx-univers button:hover { transform: translateY(-2px); border-color: var(--ae); box-shadow: 0 8px 18px -10px rgba(255,45,45,.4); }
.shopping-page .shopx-univers .shopx-u-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb,#ff5a2a 14%, var(--surface-solid)); font-size: 1rem; }
.shopping-page .shopx-univers .shopx-u-n { color: var(--soft); font-weight: 700; font-size: .78rem; }
.shopping-page .shopx-univers button.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.shopping-page .shopx-univers button.active .shopx-u-ico { background: rgba(255,255,255,.18); }
.shopping-page .shopx-univers button.active .shopx-u-n { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.shopping-page .shopx-hero-stat { color: var(--soft); }

/* Ventes flash : kicker rouge */
.shopping-page .home-media-grid .kicker { color: var(--ae-deep); }

/* Cartes produit : propres (Shopify) + prix rouge (AliExpress) */
.shopping-page .shop-grid { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 16px; }
.shopping-page .shop-rail .shop-card { flex: 0 0 184px; }
.shopping-page .shop-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface-solid); box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.shopping-page .shop-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(0,0,0,.3); border-color: color-mix(in srgb, var(--ae) 35%, var(--line)); }
.shopping-page .shop-photo { aspect-ratio: 1/1; background: #fff; padding: 6px; }
.shopping-page .shop-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.shopping-page .shop-badge { top: 8px; left: 8px; border-radius: 999px; background: var(--ae); padding: 4px 9px; font-weight: 800; box-shadow: 0 4px 10px -4px rgba(255,45,45,.6); }
.shopping-page .shop-badge-drop { background: #16a34a; }
.shopping-page .shop-body { padding: 11px 12px 13px; gap: 5px; }
.shopping-page .shop-body strong { font-size: .85rem; font-weight: 600; line-height: 1.32; }
.shopping-page .shop-price { color: var(--ae); font-size: 1.12rem; font-weight: 900; letter-spacing: -.01em; }
.shopping-page .shop-price del { color: var(--soft); font-weight: 600; font-size: .8rem; }
.shopping-page .shop-body small { color: var(--soft); }

/* Toolbar propre */
.shopping-page .shopx-toolbar select,
.shopping-page .shopx-price input { border-radius: 10px; }
.shopping-page .shopx-toggle input { accent-color: var(--ae); }
.shopping-page .shopx-more button { border-color: var(--ae); color: var(--ae-deep); }
.shopping-page .shopx-more button:hover { background: color-mix(in srgb, var(--ae) 10%, transparent); }

:root[data-theme="dark"] .shopping-page .shop-photo { background: #f4f4f2; }
:root[data-theme="dark"] .shopping-page .shop-photo img { mix-blend-mode: normal; }

/* ===== Vols (2026-06-13) ===== */
.vols-hero {
  margin: 14px 0 36px; padding: 40px 30px 34px; border-radius: 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(130% 130% at 50% -20%, color-mix(in srgb,#1d6ef5 16%,transparent), transparent 60%), var(--surface-solid);
  border: 1px solid var(--line); box-shadow: var(--soft-shadow);
}
.vols-hero .kicker { margin: 0 0 8px; }
.vols-hero h1 { margin: 0 auto 12px; max-width: 18ch; font-size: clamp(1.7rem,3.4vw,2.5rem); letter-spacing: -.02em; line-height: 1.12; }
.vols-hero > p { max-width: 640px; margin: 0 auto; color: var(--muted); line-height: 1.55; }
.vols-legend { display: flex; justify-content: center; gap: 16px; margin-top: 16px; font-size: .8rem; color: var(--soft); font-weight: 600; }
.vols-legend span { display: inline-flex; align-items: center; gap: 6px; }
.vols-legend .vol-cell { width: 16px; height: 16px; }

.vols-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.vol-card { display: flex; flex-direction: column; gap: 11px; background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--soft-shadow); }
.vol-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.vol-card h3 { margin: 0; font-size: 1.1rem; letter-spacing: -.01em; }
.vol-iata { font-size: .7rem; font-weight: 800; color: var(--soft); background: color-mix(in srgb,var(--ink) 7%,transparent); padding: 2px 7px; border-radius: 6px; vertical-align: middle; margin-left: 4px; }
.vol-price { margin: 4px 0 0; color: var(--soft); font-size: .9rem; }
.vol-price strong { color: var(--accent); font-size: 1.25rem; font-weight: 900; }
.vol-airlines { display: flex; flex-wrap: wrap; gap: 6px; }
.vol-air { font-size: .76rem; font-weight: 700; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
a.vol-air:hover { border-color: var(--accent); color: var(--accent); }
.vol-calendar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.vol-cell { display: grid; place-items: center; height: 26px; border-radius: 5px; font-size: .62rem; font-weight: 800; color: rgba(255,255,255,.95); }
.vol-cell.lvl1 { background: #2d9d6f; }
.vol-cell.lvl2 { background: #e0a93b; }
.vol-cell.lvl3 { background: #e0463b; }
.vol-tip { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.vol-cta { margin-top: auto; align-self: flex-start; background: var(--accent); color: #fff; text-decoration: none; font-weight: 800; font-size: .85rem; padding: 9px 16px; border-radius: 999px; }
.vol-cta:hover { opacity: .92; }

.vols-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vols-tips h3 { margin: 0 0 6px; font-size: 1.02rem; }
.vols-tips p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.vols-agencies { display: flex; flex-wrap: wrap; gap: 10px; }
.vol-agency { text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--surface-solid); border-radius: 999px; padding: 9px 15px; font-weight: 700; font-size: .88rem; }
.vol-agency:hover { border-color: var(--accent); color: var(--accent); }

/* Promos en direct des compagnies */
.vols-deals-fresh { font-size: .76rem; font-weight: 700; color: var(--soft); }
.vols-deals-note { margin: -4px 0 14px; color: var(--muted); font-size: .85rem; max-width: 760px; }
.vols-deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.vol-deal { display: flex; flex-direction: column; gap: 9px; text-decoration: none; color: var(--ink); background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--soft-shadow); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.vol-deal:hover { transform: translateY(-3px); border-color: color-mix(in srgb,#1d6ef5 45%,var(--line)); box-shadow: 0 12px 30px rgba(29,110,245,.14); }
.vol-deal.is-drop { border-color: color-mix(in srgb,#e0463b 55%,var(--line)); }
.vol-deal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vol-deal-airline { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.vol-deal-airline img { height: 16px; width: auto; max-width: 52px; object-fit: contain; }
.vol-deal-badge { font-size: .72rem; font-weight: 900; color: #fff; background: #e0463b; padding: 3px 8px; border-radius: 999px; }
.vol-deal-route { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 1.15rem; letter-spacing: -.01em; }
.vol-deal-route strong { font-size: 1.2rem; }
.vol-deal-from { color: var(--muted); font-size: .92rem; }
.vol-deal-arrow { color: #1d6ef5; font-weight: 900; }
.vol-deal-meta { font-size: .76rem; color: var(--soft); font-weight: 600; }
.vol-deal-price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.vol-deal-price s { color: var(--soft); font-size: .82rem; }
.vol-deal-price span { color: var(--muted); font-size: .85rem; }
.vol-deal-price strong { color: #e0463b; font-size: 1.35rem; font-weight: 900; }
.vol-deal-cta { margin-top: auto; font-size: .8rem; font-weight: 800; color: #1d6ef5; }

/* ===== Ecran d'affichage aeroport (FIDS) facon Solari split-flap ===== */
.fids { background: #0a0a0c; border: 1px solid #000; border-radius: 16px; overflow: hidden;
  font-family: 'Roboto', system-ui, sans-serif;
  box-shadow: 0 18px 50px rgba(0,0,0,.45), inset 0 0 0 2px #16161a, inset 0 0 60px rgba(0,0,0,.6); }
.fids-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 18px; background: linear-gradient(180deg,#1b1b20,#101013); border-bottom: 2px solid #000; }
.fids-brand { display: inline-flex; align-items: center; gap: 10px; color: #ffb000; font-weight: 900;
  letter-spacing: .12em; font-size: .95rem; text-transform: uppercase; font-family: 'Roboto', sans-serif; }
.fids-plane { color: #f4f4f4; font-size: 1.1rem; }
.fids-airport { color: #6c6c74; font-size: .72rem; letter-spacing: .14em; }
.fids-clock { text-align: right; line-height: 1; color: #ffb000; font-family: 'Roboto Mono', 'Roboto', monospace; }
.fids-clock span { font-size: 1.3rem; font-weight: 900; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.fids-clock small { display: block; margin-top: 3px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #6c6c74; font-family: var(--font, sans-serif); }
.fids-tabs { display: flex; gap: 0; background: #050506; padding: 0; border-bottom: 2px solid #000; }
.fids-tab { flex: 1; border: 0; cursor: pointer; background: transparent; color: #6c6c74; font-weight: 800;
  font-size: .85rem; padding: 11px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .06em; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.fids-tab span { font-size: .72rem; background: rgba(255,255,255,.08); padding: 1px 8px; border-radius: 999px; }
.fids-tab.is-active { color: #ffb000; border-bottom-color: #ffb000; }
.fids-tab.is-active span { background: rgba(255,176,0,.18); color: #ffb000; }

.fids-panel { display: none; max-height: 520px; overflow-y: auto; }
.fids-panel.is-active { display: block; }
.fids-row { display: grid; grid-template-columns: 88px 1.5fr 96px 1.15fr 1.2fr; gap: 14px; align-items: center;
  padding: 8px 18px; border-bottom: 1px solid rgba(255,255,255,.05); }
.fids-dep .fids-row { grid-template-columns: 84px 1.3fr 92px 1fr 76px 60px 1.05fr; }
.fids-row:nth-child(even) { background: rgba(255,255,255,.014); }
.fids-row:last-child { border-bottom: 0; }
.fids-head { position: sticky; top: 0; z-index: 2; background: #050506; color: #6c6c74; font-size: .66rem;
  text-transform: uppercase; letter-spacing: .12em; font-weight: 800; padding-top: 9px; padding-bottom: 9px; }
.fids-empty { padding: 26px; text-align: center; color: #6c6c74; font-size: .85rem; }

/* Volets split-flap : un caractere par tuile */
.flap-text { display: inline-flex; flex-wrap: wrap; gap: 2px; }
.flap { position: relative; display: inline-grid; place-items: center; min-width: 1em; height: 1.55em;
  padding: 0 .16em; background: linear-gradient(180deg,#2a2a2e 0 calc(50% - .5px), #101013 calc(50% + .5px) 100%);
  color: #f3f3f3; font-family: 'Roboto Mono', 'Roboto', ui-monospace, monospace; font-weight: 700; font-size: .95rem;
  font-variant-numeric: tabular-nums; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 1px 1px rgba(0,0,0,.5);
  text-shadow: 0 1px 1px rgba(0,0,0,.6); animation: flapIn .4s ease both; }
.flap::after { content: ""; position: absolute; left: 1px; right: 1px; top: 50%; height: 1px;
  background: rgba(0,0,0,.7); transform: translateY(-.5px); }
.flap-sp { background: none; box-shadow: none; min-width: .4em; }
.flap-sp::after { display: none; }
@keyframes flapIn { 0% { transform: rotateX(-90deg); opacity: 0; } 100% { transform: rotateX(0); opacity: 1; } }

.fids-time .flap { color: #ffb000; }
.fids-city .flap { color: #f3f3f3; }
.fids-no .flap { color: #cfe3ff; }
.fids-co { display: inline-flex; align-items: center; gap: 8px; color: #c5cbd8; font-size: .85rem; min-width: 0;
  font-family: 'Roboto', sans-serif; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fids-co img { height: 17px; width: auto; max-width: 58px; object-fit: contain; border-radius: 3px; flex: 0 0 auto; background: #fff; padding: 1px 3px; }
.fids-status .flap { font-size: .78rem; }
.fids-status.on-time .flap { color: #c9ced9; }
.fids-status.landed .flap { color: #36d27a; }
.fids-status.late .flap { color: #ff5b4d; }
.fids-status-h { text-align: left; }
/* Enregistrement (comptoirs) + porte d'embarquement */
.fids-enreg .flap { color: #aeb4c2; font-size: .82rem; }
.fids-gate .flap { color: #0a0a0c; background: linear-gradient(180deg,#ffc83d 0 calc(50% - .5px), #e8a200 calc(50% + .5px) 100%); text-shadow: none; font-weight: 900; }
.fids-dash { color: #4a4a52; font-style: normal; padding-left: 4px; }

.fids-note { margin: 10px 2px 0; font-size: .78rem; color: var(--muted); }
.fids-note a { color: var(--accent); }
.fids-panel::-webkit-scrollbar { width: 9px; }
.fids-panel::-webkit-scrollbar-track { background: #050506; }
.fids-panel::-webkit-scrollbar-thumb { background: #2a2a30; border-radius: 8px; }

/* Compagnies aeriennes */
.vols-carriers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.carrier-card { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px;
  box-shadow: var(--soft-shadow); transition: transform .15s ease, border-color .15s ease; }
.carrier-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.carrier-logo { width: 56px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.carrier-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.carrier-body { min-width: 0; }
.carrier-body strong { display: block; font-size: .95rem; }
.carrier-code { font-size: .68rem; font-weight: 800; color: #fff; background: var(--accent); padding: 1px 6px; border-radius: 5px; vertical-align: middle; margin-left: 3px; }
.carrier-body small { color: var(--muted); font-size: .78rem; }

@media (max-width: 760px) {
  .vols-tips { grid-template-columns: 1fr; }
  .fids-row { grid-template-columns: 60px 1fr auto; gap: 10px; padding: 8px 12px; }
  .fids-dep .fids-row { grid-template-columns: 56px 1fr auto auto; }
  .fids-co, .fids-no, .fids-enreg { display: none; }
  .fids-clock span { font-size: 1.05rem; }
  .fids-brand { font-size: .8rem; }
  .fids-airport { display: none; }
}

/* ===== Manger (2026-06-13) ===== */
.manger-hero .home-hero-copy { min-width: 0; }
.manger-hero-card { align-self: center; background: linear-gradient(135deg,#e76f51,#c1440e); color: #fff;
  border-radius: 20px; padding: 26px; box-shadow: 0 18px 44px -20px rgba(193,68,14,.6); }
.manger-hero-emoji { font-size: 2.6rem; display: block; }
.manger-hero-card strong { display: block; margin: 12px 0 6px; font-size: 1.25rem; }
.manger-hero-card p { margin: 0; color: rgba(255,255,255,.9); font-size: .92rem; line-height: 1.5; }

.cuisine-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

/* Recettes */
.recipe-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.recipe-filters button { border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink);
  font: inherit; font-size: .82rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .15s ease; }
.recipe-filters button:hover { border-color: var(--accent); }
.recipe-filters button.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.recipe-card { display: flex; gap: 13px; text-decoration: none; color: var(--ink); background: var(--surface-solid);
  border: 1px solid var(--line); border-radius: 16px; padding: 15px; box-shadow: var(--soft-shadow);
  transition: transform .15s ease, border-color .15s ease; }
.recipe-card:hover { transform: translateY(-3px); border-color: #e76f51; }
.recipe-emoji { font-size: 1.9rem; flex: 0 0 auto; line-height: 1.1; }
.recipe-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.recipe-body strong { font-size: .98rem; letter-spacing: -.01em; }
.recipe-cat { align-self: flex-start; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  color: #c1440e; background: color-mix(in srgb,#e76f51 16%,transparent); padding: 2px 8px; border-radius: 999px; margin: 3px 0; }
.recipe-body small { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.recipe-body em { color: var(--soft); font-size: .76rem; font-style: normal; margin-top: 5px; }

/* Histoire des epices */
.spice-intro { max-width: 760px; color: var(--muted); margin: -4px 0 18px; line-height: 1.6; }
.spice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.spice-card { background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--soft-shadow); }
.spice-emoji { font-size: 2rem; }
.spice-card h3 { margin: 10px 0 7px; font-size: 1.08rem; }
.spice-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }

@media (max-width: 760px) { .manger-hero-card { margin-top: 8px; } }

/* ===== Meteo (2026-06-13) ===== */
.meteo-hero { margin: 14px 0 30px; padding: 28px 30px; border-radius: 22px;
  background: radial-gradient(130% 130% at 80% -10%, color-mix(in srgb,#48cae4 26%,transparent), transparent 60%), linear-gradient(135deg,#0096c7,#023e8a);
  color: #fff; box-shadow: 0 18px 44px -22px rgba(2,62,138,.6); display: grid; gap: 22px; }
.meteo-hero .kicker { color: rgba(255,255,255,.85); }
.meteo-now { display: flex; align-items: center; gap: 18px; }
.meteo-now-icon { font-size: 4rem; line-height: 1; }
.meteo-now h1 { margin: 0; font-size: clamp(1.4rem,3vw,2rem); }
.meteo-now-temp { margin: 2px 0; display: flex; align-items: baseline; gap: 10px; }
.meteo-now-temp span { font-size: 2.6rem; font-weight: 900; letter-spacing: -.02em; }
.meteo-now-temp small { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.9); }
.meteo-now-meta { margin: 0; font-size: .86rem; color: rgba(255,255,255,.85); }
.meteo-forecast { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.meteo-day { background: rgba(255,255,255,.12); border-radius: 13px; padding: 11px 6px; text-align: center; display: grid; gap: 5px; }
.meteo-day-name { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.85); }
.meteo-day-icon { font-size: 1.6rem; }
.meteo-day-temp { font-size: .82rem; color: rgba(255,255,255,.85); }
.meteo-day-temp b { color: #fff; font-size: .95rem; }
.meteo-day-rain { font-size: .7rem; color: rgba(255,255,255,.8); }

.meteo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.meteo-card { display: flex; align-items: center; gap: 12px; cursor: pointer; text-align: left;
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px;
  box-shadow: var(--soft-shadow); color: var(--ink); font: inherit; transition: transform .15s ease, border-color .15s ease; }
.meteo-card:hover { transform: translateY(-3px); border-color: #0096c7; }
.meteo-card.active { border-color: #0096c7; box-shadow: 0 0 0 2px color-mix(in srgb,#0096c7 40%,transparent); }
.meteo-card-icon { font-size: 1.9rem; flex: 0 0 auto; }
.meteo-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.meteo-card-body strong { font-size: .95rem; }
.meteo-card-body small { color: var(--muted); font-size: .76rem; }
.meteo-card-temp { font-size: 1.5rem; font-weight: 900; color: #0096c7; }

@media (max-width: 760px) {
  .meteo-forecast { grid-template-columns: repeat(4, 1fr); }
  .meteo-now-icon { font-size: 3rem; }
}

/* Flux unique Social Media : badge type */
.sm-kind { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px;
  border-radius: 5px; font-size: .7rem; vertical-align: middle; }
.sm-kind-video { background: color-mix(in srgb,#e0463b 16%,transparent); }
.sm-kind-post { background: color-mix(in srgb,#9b5de5 18%,transparent); }

/* Hashtags forts Social Media */
.sm-hashtags-section { margin: 6px 0 22px; }
.sm-hashtags { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-hashtag { text-decoration: none; font-weight: 800; font-size: .82rem; color: var(--accent);
  background: color-mix(in srgb,var(--accent) 12%,transparent); border: 1px solid color-mix(in srgb,var(--accent) 28%,transparent);
  padding: 6px 13px; border-radius: 999px; transition: background .15s ease, transform .15s ease; }
.sm-hashtag:hover { background: color-mix(in srgb,var(--accent) 22%,transparent); transform: translateY(-2px); }

/* ===== Meteo v2 : geoloc, vigilance, plages ===== */
.meteo-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.meteo-geoloc { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 800;
  color: #fff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 13px; }
.meteo-geoloc:hover { background: rgba(255,255,255,.28); }
.meteo-geoloc.is-loading { opacity: .6; }
.meteo-now-sea { margin: 6px 0 0; font-size: .88rem; font-weight: 700; color: #d8f3ff; }

.meteo-vigilance { display: flex; align-items: center; gap: 18px; margin: 0 0 30px; padding: 18px 22px;
  background: var(--surface-solid); border: 1px solid var(--line); border-left: 6px solid var(--vig,#8d99ae); border-radius: 16px; box-shadow: var(--soft-shadow); }
.meteo-vig-badge { --vig: #8d99ae; display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  font-weight: 900; font-size: .95rem; color: var(--vig); white-space: nowrap; }
.meteo-vig-badge .vig-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--vig); box-shadow: 0 0 0 4px color-mix(in srgb,var(--vig) 22%,transparent); }
.meteo-vig-body { min-width: 0; }
.meteo-vig-body strong { display: block; font-size: 1.02rem; }
.meteo-vig-body p { margin: 3px 0 8px; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.meteo-vig-links { display: flex; flex-wrap: wrap; gap: 8px; }
.meteo-vig-links a { text-decoration: none; font-weight: 700; font-size: .8rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.meteo-vig-links a:hover { border-color: var(--accent); color: var(--accent); }

.meteo-beach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.meteo-beach { display: flex; flex-direction: column; gap: 3px; cursor: pointer; text-align: left; font: inherit;
  background: linear-gradient(135deg, color-mix(in srgb,#48cae4 14%,var(--surface-solid)), var(--surface-solid));
  border: 1px solid var(--line); border-radius: 13px; padding: 12px 14px; color: var(--ink); transition: transform .15s ease, border-color .15s ease; }
.meteo-beach:hover { transform: translateY(-2px); border-color: #0096c7; }
.meteo-beach.beach-rough { border-color: #e0730c; }
.meteo-beach strong { font-size: .9rem; }
.meteo-beach .beach-sst { font-size: 1.05rem; font-weight: 900; color: #0096c7; }
.meteo-beach .beach-wave { font-size: .76rem; color: var(--muted); }
.meteo-beach.beach-rough .beach-wave { color: #e0730c; font-weight: 700; }

@media (max-width: 760px) { .meteo-vigilance { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* ===== Bandeau defilant accueil (meteo / vols / promos) ===== */
.home-ticker { display: flex; align-items: stretch; margin: 8px 0 20px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface-solid); overflow: hidden; box-shadow: var(--soft-shadow); }
.home-ticker-label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 900;
  font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong)); padding: 0 15px; white-space: nowrap; }
.home-ticker-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.home-ticker-track { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; animation: tkScroll 45s linear infinite; }
.home-ticker:hover .home-ticker-track { animation-play-state: paused; }
@keyframes tkScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk-item { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink);
  font-size: .85rem; font-weight: 600; padding: 11px 14px; white-space: nowrap; }
.tk-item:hover { color: var(--accent); }
.tk-item strong { font-variant-numeric: tabular-nums; }
.tk-item em { color: var(--soft); font-style: normal; font-size: .8rem; }
.tk-ic { font-size: 1rem; }
.tk-promo { font-weight: 900; color: #e0463b; }
.tk-sep { color: var(--soft); opacity: .4; padding: 0 2px; }
.home-video-kind { position: absolute; right: 8px; bottom: 8px; font-size: 1.1rem; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
@media (prefers-reduced-motion: reduce) { .home-ticker-track { animation: none; } }

/* Bloc meteo accueil (sous les stats) */
.home-weather { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; text-decoration: none;
  background: linear-gradient(135deg, color-mix(in srgb,#48cae4 20%,var(--surface-solid)), var(--surface-solid));
  border: 1px solid var(--line); border-radius: 14px; padding: 11px 16px; box-shadow: var(--soft-shadow);
  transition: transform .15s ease, border-color .15s ease; }
.home-weather:hover { transform: translateY(-2px); border-color: #0096c7; }
.home-weather .hw-icon { font-size: 2rem; line-height: 1; }
.home-weather .hw-body { display: flex; flex-direction: column; min-width: 0; }
.home-weather .hw-line { display: flex; align-items: baseline; gap: 8px; }
.home-weather .hw-temp { font-size: 1.5rem; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.home-weather .hw-place { font-weight: 800; color: #0096c7; font-size: .9rem; }
.home-weather .hw-desc { color: var(--muted); font-size: .8rem; }
.home-weather .hw-go { margin-left: auto; align-self: center; font-size: .8rem; font-weight: 800; color: var(--accent); white-space: nowrap; }
@media (max-width: 540px) { .home-weather { width: 100%; } .home-weather .hw-go { display: none; } }

/* Rangee meteo + sport (accueil) */
.home-quickrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.home-quickrow .home-weather { margin-top: 0; flex: 1 1 240px; }
.home-sport { flex: 1 1 260px; display: flex; flex-direction: column; gap: 7px; text-decoration: none;
  background: linear-gradient(135deg, color-mix(in srgb,#1d6ef5 16%,var(--surface-solid)), var(--surface-solid));
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--soft-shadow);
  transition: transform .15s ease, border-color .15s ease; }
.home-sport:hover { transform: translateY(-2px); border-color: #1d6ef5; }
.hs-head { display: flex; align-items: center; gap: 8px; font-size: .72rem; }
.hs-live { display: inline-flex; align-items: center; gap: 5px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; color: #e0463b; }
.hs-comp { color: var(--muted); font-weight: 700; }
.hs-match { display: flex; align-items: center; gap: 10px; }
.hs-team { flex: 1; display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-weight: 700; font-size: .9rem; color: var(--ink); }
.hs-team:last-child { justify-content: flex-end; text-align: right; }
.hs-team img { width: 20px; height: 20px; object-fit: contain; flex: 0 0 auto; }
.hs-score { font-weight: 900; font-size: 1.1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.hs-next { color: var(--muted); font-size: .78rem; }

/* ===== Sport refondu (Apple-like) ===== */
.sportx-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; align-items: center;
  margin: 14px 0 26px; padding: 34px 32px; border-radius: 24px; color: #fff;
  background: radial-gradient(120% 130% at 85% -10%, color-mix(in srgb,#1d6ef5 40%,transparent), transparent 60%), linear-gradient(135deg,#0b1f3a,#0a0f1c 70%);
  box-shadow: 0 22px 50px -26px rgba(11,31,58,.7); }
.sportx-hero .kicker { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 7px; }
.sportx-hero h1 { margin: 8px 0 12px; font-size: clamp(2rem,4.6vw,3.4rem); line-height: 1.04; letter-spacing: -.03em; }
.sportx-hero .hero-grad { background: linear-gradient(90deg,#5bc0ff,#9b8cff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sportx-sub { max-width: 460px; color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.55; }
.sportx-stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: .85rem; color: rgba(255,255,255,.7); }
.sportx-stats strong { color: #fff; font-size: 1.15rem; font-weight: 900; }
.sportx-live-dot { display: inline-flex; align-items: center; gap: 6px; }

.sportx-feature { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 20px;
  backdrop-filter: blur(8px); transition: transform .15s ease, background .15s ease; }
.sportx-feature:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); }
.sportx-feature-comp { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.7); }
.sportx-feature-match { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.sxf-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.sxf-team img { width: 52px; height: 52px; object-fit: contain; }
.sxf-team strong { font-size: .95rem; }
.sxf-mid { text-align: center; }
.sxf-score { display: block; font-size: 2rem; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sxf-time { display: block; font-size: 1.5rem; font-weight: 900; color: #ffd24a; }
.sxf-label { display: block; font-size: .72rem; color: rgba(255,255,255,.65); margin-top: 2px; }
.sxf-go { font-size: .82rem; font-weight: 800; color: #9bd0ff; }

/* Cartes match plus aerees */
.sport-live .stream-subtitle { margin-top: 22px; }

/* Championnats peï */
.sportx-reunion { border-top: 1px solid var(--line); padding-top: 8px; }
.sportx-leagues { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 12px; }
.sportx-league { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--ink);
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  box-shadow: var(--soft-shadow); transition: transform .15s ease, border-color .15s ease; }
.sportx-league:hover { transform: translateY(-3px); border-color: #1d6ef5; }
.sxl-emoji { font-size: 1.9rem; flex: 0 0 auto; }
.sxl-body { min-width: 0; }
.sxl-body strong { display: block; font-size: .96rem; }
.sxl-body small { color: var(--muted); font-size: .82rem; }
.sportx-clubs { margin-top: 18px; }
.sportx-clubs-label { font-size: .8rem; font-weight: 800; color: var(--soft); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px; }
.sportx-clubs-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sportx-club { text-decoration: none; font-weight: 700; font-size: .84rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; transition: all .15s ease; }
.sportx-club:hover { border-color: #1d6ef5; color: #1d6ef5; }

@media (max-width: 800px) { .sportx-hero { grid-template-columns: 1fr; padding: 26px 22px; } }

/* Classement Regional 1 (foot peï) */
.r1-board { background: var(--surface-solid); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--soft-shadow); margin-bottom: 18px; }
.r1-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.r1-head h3 { margin: 2px 0 0; font-size: 1.15rem; letter-spacing: -.01em; }
.r1-src { font-size: .72rem; color: var(--soft); white-space: nowrap; }
.r1-table-wrap { overflow-x: auto; }
.r1-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.r1-table th { text-align: center; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--soft); font-weight: 800; padding: 6px 8px; border-bottom: 2px solid var(--line); }
.r1-table th.r1-club, .r1-table td.r1-club { text-align: left; }
.r1-table td { text-align: center; padding: 9px 8px; border-bottom: 1px solid color-mix(in srgb,var(--line) 60%,transparent); font-variant-numeric: tabular-nums; }
.r1-table tbody tr:last-child td { border-bottom: 0; }
.r1-rank { font-weight: 800; color: var(--soft); width: 28px; }
.r1-table td.r1-club { font-weight: 700; color: var(--ink); }
.r1-pts { font-weight: 900; color: var(--accent); font-size: .98rem; }
.r1-table tr.r1-first td.r1-rank { color: #fff; background: #2d9d6f; border-radius: 6px; }
.r1-table tr.r1-top td.r1-rank { color: #2d9d6f; }
.r1-table tr.r1-bottom td.r1-rank { color: #e0463b; }
.r1-table tr.r1-first td.r1-club { color: #2d9d6f; }
.r1-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.r1-note a { color: var(--accent); }

/* Volley pei (FFVB Ligue La Reunion) : onglets classements + actus */
.vb-board .r1-src a { color: var(--accent); }
.vb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vb-tab { appearance: none; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--soft); font: inherit; font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; transition: all .15s; }
.vb-tab:hover { border-color: var(--accent); color: var(--ink); }
.vb-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.vb-panel { display: none; }
.vb-panel.active { display: block; animation: vbfade .2s ease; }
@keyframes vbfade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.vb-foot { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .vb-foot { grid-template-columns: 1fr 1fr; } }
.vb-next { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 14px; }
.vb-next-card { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
.vb-next-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.vb-next-date { font-size: .72rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .03em; }
.vb-next-card strong { font-size: .92rem; line-height: 1.25; }
.vb-next-card small { font-size: .76rem; color: var(--soft); }
.vb-news { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vb-news li + li { border-top: 1px solid var(--line); }
.vb-news a { display: flex; align-items: baseline; gap: 12px; padding: 10px 2px; text-decoration: none; color: inherit; }
.vb-news a:hover .vb-title { color: var(--accent); }
.vb-date { flex: 0 0 auto; font-size: .74rem; font-weight: 700; color: var(--soft); min-width: 42px; }
.vb-title { font-size: .9rem; line-height: 1.3; }

/* Disciplines peï : grille coherente (3/ligne) facon Apple */
.sportx-disc { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 20px; }
.disc-card { display: flex; flex-direction: column; gap: 6px; min-height: 150px; text-decoration: none; color: var(--ink);
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--soft-shadow);
  transition: transform .15s ease, border-color .15s ease; }
.disc-card:hover { transform: translateY(-4px); border-color: #1d6ef5; }
.disc-foot { background: linear-gradient(135deg, color-mix(in srgb,#2d9d6f 14%,var(--surface-solid)), var(--surface-solid)); border-color: color-mix(in srgb,#2d9d6f 38%,var(--line)); }
.disc-foot:hover { border-color: #2d9d6f; }
.disc-top { display: flex; align-items: center; justify-content: space-between; }
.disc-emoji { font-size: 2.2rem; line-height: 1; }
.disc-tag { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #2d9d6f;
  background: color-mix(in srgb,#2d9d6f 14%,transparent); padding: 3px 9px; border-radius: 999px; }
.disc-title { font-size: 1.2rem; letter-spacing: -.01em; margin-top: 4px; }
.disc-leader { font-weight: 800; font-size: .95rem; color: var(--ink); }
.disc-sub { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.disc-go { margin-top: auto; font-size: .82rem; font-weight: 800; color: #1d6ef5; }

/* Resultats / prochains matchs : 2 colonnes sur grand ecran (moins de scroll) */
@media (min-width: 900px) { .sport-live .match-list { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* Bloc sport accueil : score live */
.hs-score-live { color: #e0463b !important; }

/* ===== Bus · Car Jaune ===== */
.bus-hero { margin: 14px 0 30px; padding: 36px 30px 28px; border-radius: 22px; text-align: center;
  background: radial-gradient(130% 130% at 50% -20%, color-mix(in srgb,#ffcd00 30%,transparent), transparent 60%), var(--surface-solid);
  border: 1px solid var(--line); box-shadow: var(--soft-shadow); }
.bus-hero h1 { margin: 6px auto 12px; max-width: 16ch; font-size: clamp(1.7rem,3.4vw,2.5rem); letter-spacing: -.02em; }
.bus-hero > p { max-width: 640px; margin: 0 auto; color: var(--muted); line-height: 1.55; }
.bus-hero .hero-stats { justify-content: center; margin-top: 16px; }

.bus-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.bus-filters button { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 800;
  color: var(--ink); background: var(--surface-solid); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; transition: all .15s ease; }
.bus-filters button:hover { border-color: var(--accent); }
.bus-filters button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bus-filters .bf-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lc,#f5a800); }
#busMap { height: 460px; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--soft-shadow); }

.bus-lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.bus-line { display: flex; align-items: center; gap: 13px; cursor: pointer; text-align: left; font: inherit; color: var(--ink);
  background: var(--surface-solid); border: 1px solid var(--line); border-left: 5px solid var(--lc,#f5a800); border-radius: 14px;
  padding: 13px 15px; box-shadow: var(--soft-shadow); transition: transform .15s ease, border-color .15s ease; }
.bus-line:hover { transform: translateY(-3px); }
.bus-line.active { border-color: var(--lc,#f5a800); box-shadow: 0 0 0 2px var(--lc,#f5a800), var(--soft-shadow); }
.bus-line-badge { flex: 0 0 auto; display: grid; place-items: center; min-width: 42px; height: 32px; padding: 0 8px; border-radius: 8px;
  background: var(--lc,#f5a800); color: var(--lt,#fff); font-weight: 900; font-size: .9rem; }
.bus-line-body { min-width: 0; }
.bus-line-body strong { display: block; font-size: .95rem; }
.bus-line-body small { color: var(--muted); font-size: .8rem; }

@media (max-width: 760px) { #busMap { height: 360px; } }

/* Multi-reseaux : barre de selection + groupes de lignes par reseau */
.bus-netbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.bus-net { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 700;
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-solid); color: var(--soft); transition: all .15s ease; }
.bus-net:hover { border-color: var(--accent); color: var(--ink); }
.bus-net .bus-net-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--nc,#f5a800); }
.bus-net.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bus-net.active .bus-net-dot { box-shadow: 0 0 0 2px var(--paper); }
.bus-net-groups { display: flex; flex-direction: column; gap: 12px; }
.bus-net-group { background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--soft-shadow); overflow: hidden; }
.bus-net-group > summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; cursor: pointer; padding: 14px 18px; list-style: none; }
.bus-net-group > summary::-webkit-details-marker { display: none; }
.bus-net-group > summary::before { content: '▸'; color: var(--soft); transition: transform .15s ease; }
.bus-net-group[open] > summary::before { transform: rotate(90deg); }
.bus-net-badge { font-weight: 800; color: #fff; background: var(--nc,#f5a800); padding: 4px 12px; border-radius: 999px; font-size: .9rem; }
.bus-net-zone { color: var(--muted); font-size: .85rem; }
.bus-net-meta { color: var(--soft); font-size: .78rem; }
.bus-net-link { margin-left: auto; color: var(--accent); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.bus-net-group .bus-lines { padding: 0 16px 16px; }

/* ===== ZILBER : application charte (boutons, recherche, titres) ===== */
h1, h2, h3, .brand, .amx-title { font-family: 'Poppins', 'Nunito Sans', sans-serif; }
/* Barre de recherche : coins 32px, loupe orange (charte) */
.searchbar, .searchbar-hero { border-radius: 32px; }
.searchbar .search-icon, .searchbar-hero .search-icon, .shopx-search svg, .visit-page .search-icon { color: var(--coral); }
/* Bouton principal = orange, coins 16px (charte) */
.searchbar-hero button, .searchbar button[type="submit"], .shopx-search button {
  background: var(--coral); border: 0; color: #fff; border-radius: 16px; font-weight: 700;
}
.searchbar-hero button:hover, .shopx-search button:hover { filter: brightness(1.06); }
/* Dégradé de marque Zilber (bleu -> orange) sur les mots mis en avant */
.hero-grad { background: linear-gradient(95deg, #005FEA 20%, #FF8A00); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ===== Menu groupé Zilber (sous-menus déroulants) ===== */
.nav-top {
  display: inline-flex; align-items: center; gap: 5px; min-height: 38px; padding: 0 12px; border: 0;
  border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 0.92rem;
  font-weight: 780; cursor: pointer; white-space: nowrap;
}
.nav-top:hover, .nav-top.active { background: var(--surface-solid); color: var(--ink); box-shadow: 0 8px 22px rgba(10,47,115,.08); }
.nav-top.active { color: var(--accent); }
.nav-caret { font-size: .68rem; opacity: .65; }
.nav-group { position: relative; }
.nav-group::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px; }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 196px; display: flex; flex-direction: column; gap: 2px;
  padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-solid);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease; z-index: 1210;
}
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { width: 100%; min-height: 36px; }
.nav-menu a.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }

/* Mobile : la barre du haut se réduit à la marque (le menu du bas prend le relais) */
@media (max-width: 980px) {
  body.has-bottom-nav .nav .nav-group,
  body.has-bottom-nav .nav .nav-link { display: none; }
}

/* Menu : tenir sur une ligne en desktop (7 liens + 3 menus) */
@media (min-width: 981px) {
  .nav { gap: 2px; padding: 7px 8px; }
  .nav .nav-link, .nav-top { padding: 0 9px; font-size: .88rem; font-weight: 700; }
  .nav .brand { margin-right: 10px; }
  .nav .brand + .nav-link { margin-left: auto; }
}

/* ============================ Page Emplois ============================ */
.job-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 24px 30px; gap: 14px; }
.job-hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.1; margin: 0; }
.job-hero h1 span { color: var(--accent); }
.job-search { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 720px; margin: 4px auto 0;
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 18px; padding: 12px 18px; box-shadow: var(--soft-shadow); }
.job-search svg { color: var(--soft); flex: 0 0 auto; }
.job-search input { flex: 1; border: 0; background: transparent; font-size: 1rem; color: var(--ink); outline: none; min-width: 0; }
.job-search button { flex: 0 0 auto; border: 0; background: var(--accent); color: #fff; font-weight: 700; padding: 10px 20px; border-radius: 12px; cursor: pointer; }
.job-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.job-chips button { border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); border-radius: 999px;
  padding: 7px 14px; font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .15s ease; }
.job-chips button span { color: var(--soft); font-weight: 700; margin-left: 4px; }
.job-chips button:hover { border-color: var(--accent); }
.job-chips button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.job-chips button.active span { color: rgba(255,255,255,.8); }
.job-hero-stat { color: var(--soft); font-size: .86rem; margin: 2px 0 0; }
.job-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.job-toolbar select { border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); border-radius: 10px; padding: 9px 12px; font-size: .9rem; }
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.job-card { display: flex; flex-direction: column; gap: 7px; text-decoration: none; color: var(--ink);
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  box-shadow: var(--soft-shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.job-card-top { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; }
.job-card-top strong { font-size: .98rem; line-height: 1.3; }
.job-badge { flex: 0 0 auto; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-strong, var(--accent));
  font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.job-meta { font-size: .9rem; font-weight: 600; color: var(--ink); }
.job-sub { font-size: .82rem; color: var(--soft); }
.job-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; font-size: .76rem; color: var(--soft); }
@media (max-width: 560px) {
  .job-search { flex-wrap: wrap; }
  .job-search button { flex: 1 1 100%; }
  .job-grid { grid-template-columns: 1fr; }
}

/* ============================ Aides publiques (veille automatisée) ============================ */
.aides-sub { color: var(--muted); font-size: .95rem; margin: 6px 0 0; }
.aides-fresh { display: inline-block; margin-left: 10px; color: var(--accent); font-weight: 800; font-size: .8rem;
  background: color-mix(in srgb, var(--accent) 11%, transparent); padding: 3px 10px; border-radius: 999px; }
.aides-toolbar { margin-bottom: 8px; }
.aides-themes { display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0 14px; }
.aides-themes .zbot-chip { white-space: nowrap; }
.aides-themes .zbot-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 640px) {
  /* Mobile : hero compacté + thèmes en UNE rangée défilante (sinon ~7 lignes de
     chips avant les aides -> il fallait scroller longtemps pour voir le contenu). */
  .aides-page .search-hero-page h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .aides-page .searchbar-hero { margin-top: 12px; }
  .aides-page .aides-sub { font-size: .88rem; }
  .aides-themes {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    min-width: 0; max-width: 100%; scrollbar-width: none; margin: 0 0 10px;
  }
  .aides-themes::-webkit-scrollbar { display: none; }
  .aides-themes .zbot-chip { flex: 0 0 auto; }
}
.aides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-bottom: 16px; }
.aid-card {
  display: flex; flex-direction: column; gap: 8px; padding: 16px 17px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface-solid);
  box-shadow: var(--soft-shadow); text-decoration: none; color: var(--ink);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.aid-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
.aid-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.aid-badge { font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--muted); }
.aid-e-communal, .aid-e-intercommunal { background: color-mix(in srgb, var(--leaf) 14%, transparent); color: var(--leaf); }
.aid-e-departemental { background: color-mix(in srgb, var(--amber) 20%, transparent); color: #8a6a1f; }
.aid-e-regional { background: color-mix(in srgb, var(--coral) 14%, transparent); color: var(--coral); }
.aid-e-national { background: color-mix(in srgb, #3557a2 13%, transparent); color: #3557a2; }
.aid-e-europeen { background: color-mix(in srgb, #003399 12%, transparent); color: #2a4bb5; }
.aid-e-international { background: color-mix(in srgb, #7048b6 13%, transparent); color: #7048b6; }
.aid-deadline { background: color-mix(in srgb, var(--coral) 12%, transparent); color: var(--coral); }
.aid-card strong { font-size: .95rem; line-height: 1.35; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aid-card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aid-porteur { color: var(--soft); font-size: .76rem; font-weight: 700; }
.aid-themes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.aid-themes small { font-size: .7rem; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent);
  padding: 2px 8px; border-radius: 999px; }
.aides-more-wrap { text-align: center; margin: 4px 0 30px; }
.aides-more { border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); font: inherit;
  font-weight: 700; padding: 10px 26px; border-radius: 999px; cursor: pointer; transition: border-color .15s, color .15s; }
.aides-more:hover { border-color: var(--accent); color: var(--accent); }
.aides-credit { color: var(--soft); font-size: .78rem; margin: 0 0 40px; }
@media (max-width: 640px) { .aides-grid { grid-template-columns: 1fr; } }

/* ============================ ⚡ Flash Zilber (post façon tweet, home) ============================ */
.home-flash {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start;
  margin: 18px 0 8px; padding: 18px 22px 12px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface-solid); box-shadow: var(--soft-shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.home-flash:hover { border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); box-shadow: var(--shadow); }
.home-flash-ava {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center top;
  background: var(--accent);
}
.home-flash-head { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-bottom: 4px; min-width: 0; }
.home-flash-head strong { font-size: .98rem; letter-spacing: -0.01em; }
.home-flash-badge { width: 17px; height: 17px; color: #1d9bf0; flex: 0 0 auto; }
.home-flash-handle { color: var(--soft); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-flash-permalink { text-decoration: none; }
.home-flash-permalink:hover { color: var(--accent); text-decoration: underline; }
.home-flash-text { font-size: .95rem; line-height: 1.6; color: var(--ink); overflow-wrap: break-word; }
.home-flash-ref { color: var(--accent); text-decoration: none; font-weight: 800; font-size: .8em; }
.home-flash-ref:hover { text-decoration: underline; }
.home-flash-src { margin-top: 8px; color: var(--soft); font-size: .74rem; }
.home-flash-actions {
  display: flex; gap: 4px; justify-content: space-between; align-items: center;
  flex-wrap: wrap; min-width: 0;               /* sécurité mobile : ne casse jamais la ligne */
  margin-top: 10px; padding-top: 9px;
  border-top: 1px solid var(--line);
}
/* Boutons réseaux compacts (icône seule, rond) — plus grands sur desktop */
.home-flash-ico {
  flex: 0 0 auto; width: 38px; height: 38px; padding: 0;
  justify-content: center; border-radius: 50%;
  border: 1px solid var(--line);
}
.home-flash-ico svg { width: 19px; height: 19px; }
.home-flash-fb { color: #1877f2; }
.home-flash-fb:hover { background: rgba(24, 119, 242, .12); color: #1877f2; }
.home-flash-x { color: var(--ink); }
.home-flash-x:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); }
.home-flash-act {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent;
  color: var(--soft); font: inherit; font-size: .82rem; font-weight: 700; text-decoration: none;
  padding: 6px 10px; border-radius: 999px; cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.home-flash-act:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
/* Libellés courts sur mobile pour tenir sur UNE ligne d'actions
   (APRÈS la règle de base .home-flash-act pour la surcharger). */
.hf-s { display: none; }
@media (max-width: 640px) {
  .home-flash .hf-l { display: none; }
  .home-flash .hf-s { display: inline; }
  .home-flash .home-flash-act { font-size: .72rem; padding: 5px 6px; gap: 3px; }
  .home-flash .home-flash-ico { width: 28px; height: 28px; padding: 0; }
  .home-flash .home-flash-ico svg { width: 14px; height: 14px; }
  /* La rangée d'actions récupère la colonne de l'avatar (42px + 11px de gap)
     pour tenir sur UNE seule ligne. */
  .home-flash .home-flash-actions { margin-left: -53px; width: calc(100% + 53px); gap: 2px; }
}
@media (max-width: 640px) {
  .home-flash { grid-template-columns: 42px minmax(0, 1fr); gap: 11px; padding: 13px 14px 10px; }
  .home-flash-ava { width: 42px; height: 42px; }
  .home-flash-act { font-size: .78rem; padding: 6px 7px; }
}

/* ===== Page flash — style épuré « Apple » ===== */
.fl-hero { text-align: center; padding: 54px 16px 34px; }
.fl-kicker { margin: 0 0 10px; color: var(--accent); font-size: .85rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; }
.fl-hero h1 { margin: 0; font-size: clamp(2.3rem, 6vw, 3.6rem); letter-spacing: -0.035em;
  line-height: 1.05; font-weight: 800; color: var(--ink); }
.fl-hero h1 span { background: linear-gradient(90deg, var(--accent), #4cc9f0);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.fl-when { margin: 14px 0 0; color: var(--soft); font-size: .95rem; }
.fl-note { margin: 10px 0 0; color: var(--coral); font-size: .85rem; font-weight: 700; }

.fl-card { max-width: 700px; margin: 8px auto 0; padding: 30px 34px 24px;
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: 0 24px 70px -32px rgba(20, 19, 16, .25); }
.fl-author { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.fl-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center top; background: var(--accent); }
.fl-author strong { display: flex; align-items: center; gap: 5px; font-size: 1.02rem; letter-spacing: -0.01em; }
.fl-author span { color: var(--soft); font-size: .86rem; }
.fl-items { display: flex; flex-direction: column; }
.fl-item { display: flex; gap: 16px; align-items: flex-start; padding: 15px 0; }
.fl-item + .fl-item { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.fl-emoji { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center;
  font-size: 1.35rem; border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 8%, transparent); }
.fl-item p { margin: 2px 0 0; font-size: 1.04rem; line-height: 1.6; color: var(--ink); letter-spacing: -0.005em; }
.fl-ref { display: inline-grid; place-items: center; min-width: 21px; height: 21px; margin-left: 4px;
  padding: 0 5px; border-radius: 7px; font-size: .72rem; font-weight: 800; text-decoration: none;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  vertical-align: 2px; transition: background .15s ease; }
.fl-ref:hover { background: color-mix(in srgb, var(--accent) 24%, transparent); }
.fl-sign { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  color: var(--soft); font-size: .9rem; font-style: italic; text-align: center; }

.fl-actions { display: flex; justify-content: center; gap: 12px; margin: 28px 0 8px; flex-wrap: wrap; }
.fl-btn { display: inline-flex; align-items: center; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; transition: transform .15s ease, opacity .15s ease; }
.fl-btn:hover { transform: translateY(-1px); }
.fl-btn-primary { background: var(--accent); color: #fff; }
.fl-btn-primary:hover { opacity: .9; }
.fl-btn-ghost { color: var(--accent); }

.fl-arts { max-width: 900px; margin: 44px auto 60px; }
.fl-arts h2 { text-align: center; font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -0.025em;
  font-weight: 800; margin: 0 0 22px; }
.fl-arts h2 span { color: var(--accent); }
@media (max-width: 640px) {
  .fl-hero { padding: 34px 10px 22px; }
  .fl-card { padding: 20px 18px 16px; border-radius: 22px; }
  .fl-item { gap: 12px; padding: 13px 0; }
  .fl-emoji { flex-basis: 38px; width: 38px; height: 38px; font-size: 1.15rem; border-radius: 12px; }
  .fl-item p { font-size: .97rem; }
}

/* ===== Page flash : les articles du flash (sous le post) ===== */
.flash-arts-wrap { margin: 26px 0 46px; }
.flash-arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.flash-art {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface-solid);
  box-shadow: var(--soft-shadow); text-decoration: none; color: var(--ink);
  transition: transform .15s ease, border-color .15s ease;
}
.flash-art:hover { transform: translateY(-2px); border-color: var(--accent); }
.flash-art-n { flex: 0 0 auto; font-weight: 800; font-size: .8rem; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 11%, transparent); padding: 4px 9px; border-radius: 999px; }
.flash-art-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.flash-art-b strong { font-size: .9rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.flash-art-b small { color: var(--soft); font-size: .76rem; }
.flash-art-go { flex: 0 0 auto; color: var(--soft); font-size: 1.2rem; }
@media (max-width: 640px) { .flash-arts { grid-template-columns: 1fr; } }

/* ============================ Assistant (widget flottant) ============================ */
.zbot-fab { position: fixed; right: 20px; bottom: 20px; z-index: 1400; width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid var(--surface-solid); background: var(--accent); padding: 0; overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .15s ease; }
.zbot-fab img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.zbot-fab:hover { transform: scale(1.06); }
.zbot-fab.open { transform: scale(.92); }
body.has-bottom-nav .zbot-fab { bottom: 78px; }

/* Bulle d'accroche (teaser) qui apparait a cote de la pastille de temps en temps. */
.zbot-teaser { position: fixed; right: 22px; bottom: 100px; z-index: 1399; max-width: 240px;
  background: var(--surface-solid); color: var(--ink); border: 1px solid var(--line); border-radius: 16px;
  padding: 11px 15px; box-shadow: var(--shadow); font-size: .92rem; font-weight: 600; line-height: 1.35; cursor: pointer;
  opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .28s ease, transform .28s ease; }
.zbot-teaser.show { opacity: 1; transform: translateY(0) scale(1); }
.zbot-teaser::after { content: ''; position: absolute; right: 26px; bottom: -7px; width: 14px; height: 14px;
  background: var(--surface-solid); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.zbot-teaser.zbot-teaser-l::after { right: auto; left: 26px; }

/* Chat head déplaçable (mobile) : le doigt drague la pastille sans scroller la
   page ; .zbot-snap anime l'aimantation au bord au relâcher. */
@media (max-width: 640px) {
  .zbot-fab { touch-action: none; }
}
.zbot-fab.zbot-snap { transition: left .28s cubic-bezier(.2,.8,.3,1.1), right .28s cubic-bezier(.2,.8,.3,1.1), top .28s ease, transform .15s ease; }
body.has-bottom-nav .zbot-teaser { bottom: 158px; }
@media (max-width: 480px) { .zbot-teaser { max-width: 200px; } }

/* Crédit Ryuzaki Labs : pied de page global injecte sur toutes les pages. */
.zilber-credit { text-align: center; color: var(--soft); font-size: .82rem; line-height: 1.5;
  padding: 26px 18px calc(26px + env(safe-area-inset-bottom)); margin-top: 24px; border-top: 1px solid var(--line); }
.zilber-credit strong { color: var(--accent); font-weight: 800; }
body.has-bottom-nav .zilber-credit { margin-bottom: 64px; }   /* au-dessus de la nav mobile */
body.has-bottom-nav .zbot-fab { bottom: 76px; }   /* au-dessus de la nav mobile */
.zbot-panel { position: fixed; right: 18px; bottom: 84px; z-index: 1401; width: min(380px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 120px)); background: var(--surface-solid); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
body.has-bottom-nav .zbot-panel { bottom: 138px; }
.zbot-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-solid); }
.zbot-ava { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: center top; flex: 0 0 auto; background: var(--accent); transition: opacity .15s ease; }
.zbot-head strong { flex: 1; font-size: .95rem; color: var(--ink); }
.zbot-x { border: 0; background: transparent; color: var(--soft); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.zbot-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.zbot-msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.4; }
.zbot-bot { align-self: flex-start; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); border-bottom-left-radius: 4px; }
.zbot-me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.zbot-typing { color: var(--soft); letter-spacing: 2px; }
.zbot-cards { align-self: stretch; display: flex; flex-direction: column; gap: 8px; }
.zbot-card { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; transition: border-color .15s ease, transform .15s ease; }
.zbot-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.zbot-card-btn { width: 100%; text-align: left; font: inherit; cursor: pointer; }
.zbot-seances { color: var(--soft); font-size: .82rem; }
.zbot-card-img { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 8px; background-size: cover; background-position: center; background-color: color-mix(in srgb, var(--ink) 8%, transparent); }
.zbot-card-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.zbot-card-b strong { font-size: .85rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zbot-card-b small { font-size: .76rem; color: var(--soft); }
.zbot-card-badge { flex: 0 0 auto; font-size: .68rem; font-weight: 800; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.zbot-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 12px; border-top: 1px solid var(--line); max-height: 38%; overflow-y: auto; }
.zbot-chip { border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); border-radius: 999px; padding: 7px 12px; font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .15s ease; }
.zbot-chip:hover { border-color: var(--accent); color: var(--accent); }
.zbot-ask { display: flex; gap: 6px; width: 100%; }
.zbot-ask-in { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink); border-radius: 999px; padding: 9px 14px; font-size: .9rem; outline: none; }
.zbot-ask-in:focus { border-color: var(--accent); }
.zbot-ask-go { flex: 0 0 auto; border: none; background: var(--accent); color: #fff; border-radius: 999px; width: 38px; height: 38px; font-size: 1rem; cursor: pointer; transition: opacity .15s ease; }
.zbot-ask-go:hover { opacity: .88; }
@media (max-width: 640px) {
  /* Plein écran mobile : chat immersif, hauteur pilotée par visualViewport (clavier). */
  .zbot-panel, body.has-bottom-nav .zbot-panel {
    left: 0; right: 0; top: 0; bottom: auto; width: 100%;
    height: 100vh; height: 100dvh; max-height: 100dvh;
    border-radius: 0; border-left: 0; border-right: 0; border-top: 0;
  }
  body.zbot-open { overflow: hidden; }            /* fige le fond quand le chat est ouvert */
  .zbot-head { padding: calc(12px + env(safe-area-inset-top)) 16px 12px; }
  .zbot-body { padding: 16px; gap: 11px; }
  .zbot-msg { max-width: 90%; font-size: .95rem; }
  .zbot-quick { max-height: 42%; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .zbot-chip { padding: 10px 15px; font-size: .9rem; }       /* cibles tactiles ~44px */
  .zbot-ask-in { font-size: 16px; padding: 12px 16px; }       /* 16px = pas de zoom auto iOS */
  .zbot-ask-go { width: 44px; height: 44px; }
  .zbot-card { padding: 11px; }
}

/* Carte : theme sombre obtenu en filtrant les tuiles claires d'OpenStreetMap,
   ce qui evite un second fournisseur (et toute cle d'API). */
:root[data-theme="dark"] .leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) brightness(0.92) contrast(0.9) saturate(0.85);
}

/* Image dont la source est morte : vignette neutre au lieu d'une icone cassee. */
img.img-broken { object-fit: cover; background: color-mix(in srgb, var(--ink) 8%, transparent); opacity: .55; }

/* Publication sans image : on la presente comme un tweet plutot que comme une
   carte a trou. Le texte devient le contenu, pas un sous-titre d'illustration.
   Deux chemins y menent : aucune image dans les donnees (classe posee en PHP),
   ou une source morte detectee a l'affichage (voir theme.js). */
.tv-card.is-text {
  padding: 15px 17px 16px;
  background: var(--surface-solid);
  border-radius: 18px;
}
.tv-card.is-text .tv-card-body { padding: 0; }
.tv-card.is-text .tv-channel {
  display: flex; align-items: center; gap: 7px;
  margin: 0 0 8px; font-size: .78rem; color: var(--soft);
}
.tv-card.is-text h3 { margin: 0 0 8px; font-size: 1.02rem; line-height: 1.35; letter-spacing: -0.01em; }
.tv-card.is-text h3 a { text-decoration: none; }
/* Le corps du message prend la vedette : plus grand, plus aere, non tronque. */
.tv-card.is-text .tv-desc {
  margin: 0;
  font-size: .96rem;
  line-height: 1.6;
  color: var(--ink);
  display: block;
  -webkit-line-clamp: none;
  overflow: visible;
}
.tv-card.is-text .sm-kind {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-grid; place-items: center; flex: 0 0 auto;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
