/* Shared page-level refinements */
:root {
  --surface-1: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-3: rgba(151, 71, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(151, 71, 255, 0.28);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.22);
  --page-shell: min(1200px, calc(100% - (var(--g) * 2)));
  --violet-rgb-ui: 151, 71, 255;
}

body {
  background:
    radial-gradient(circle at top, rgba(151, 71, 255, 0.12), transparent 36%),
    linear-gradient(180deg, #040407 0%, #090913 38%, #05050a 100%);
}

.lignes-page,
.sorties-page,
.infos-page,
body[data-page="story"] {
  position: relative;
}

.lignes-page::before,
.sorties-page::before,
.infos-page::before,
body[data-page="story"]::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 85, 0, 0.08), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(151, 71, 255, 0.1), transparent 28%);
  pointer-events: none;
  z-index: -1;
}

.page-hero,
.story-hero {
  position: relative;
  max-width: var(--mw);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 68px) var(--g) 72px;
  display: grid;
  gap: 18px;
  align-content: end;
  justify-items: end;
}

.page-hero::before,
.story-hero::before {
  content: none;
}

.page-hero > *,
.story-hero > * {
  position: relative;
  z-index: 1;
}

.page-breadcrumb,
.breadcrumb,
.story-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: auto;
  padding: 0;
  margin-bottom: 18px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-breadcrumb a,
.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.page-title,
.page-h1,
.story-h1 {
  max-width: 820px;
  margin-bottom: 8px;
  margin-left: auto;
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-size: clamp(38px, 6vw, 68px) !important;
  font-weight: 700 !important;
  line-height: 0.96 !important;
  letter-spacing: -0.05em !important;
  text-align: right;
}

.page-title span,
.page-h1 em,
.story-h1 em {
  color: var(--violet-c);
  font-style: normal;
}

.page-subtitle,
.page-sub,
.story-sub {
  max-width: 700px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin: 0;
  text-align: right;
}

.filtres-wrap,
.infos-wrap,
.lignes-wrap,
.events-section,
.story-wrap {
  width: 100%;
}

.infos-wrap,
.lignes-wrap,
.events-section,
.story-wrap,
.home-experience,
.home-facts {
  margin-top: 8px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-pill {
  min-height: 46px;
  padding: 0 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(var(--violet-rgb-ui), 0.24) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.76) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.filter-pill:hover {
  border-color: rgba(var(--violet-rgb-ui), 0.42) !important;
  background: rgba(var(--violet-rgb-ui), 0.12) !important;
  color: #fff !important;
}

.filter-pill.active,
.filter-pill.actif {
  border-color: var(--violet) !important;
  background: linear-gradient(180deg, rgba(var(--violet-rgb-ui), 0.24), rgba(var(--violet-rgb-ui), 0.16)) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(var(--violet-rgb-ui), 0.16);
}

.search-bar,
.sorties-map-wrap,
.story-card,
.story-route,
.cat-block,
.tarif-card,
.abo-item,
.schedule-card,
.faq-item,
.security-card,
.contact-card,
.app-card,
.infos-overview-card {
  box-shadow: var(--shadow-soft);
}

.search-bar,
.sorties-map-wrap,
.cat-block {
  background: transparent;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none;
}

.cat-block {
  padding: 28px;
  margin-bottom: 28px;
}

.cat-titre {
  margin-bottom: 18px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(var(--violet-rgb-ui), 0.22) !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-weight: 700;
}

.sorties-map-wrap {
  padding: 12px !important;
}

.sorties-map-inner {
  border-radius: 18px;
}

.story-grid {
  gap: 24px;
  padding: 0 var(--g) 72px;
}

.story-card h2,
.story-stop-card h3 {
  font-family: 'Quicksand', 'DM Sans', sans-serif;
}

.story-fact,
.story-stop-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.panel-itineraire {
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.nav,
.nav-inner {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-liens a,
.nav-pill,
.nav-pill-tpg,
.nav-hamburger,
.menu-mobile a,
.panel-tab,
.btn-violet,
.btn-contour,
.btn-ev,
.btn-voir-tout,
.btn-abo,
.btn-abo-contour,
.bs-btn,
.btn-card-fill,
.btn-card-ghost,
.modal-go,
.btn-ev-all,
.filter-pill,
.app-store-btn {
  min-height: 48px;
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-pill,
.nav-pill-tpg,
.nav-hamburger {
  width: 48px;
  height: 48px;
  padding: 0;
}

.btn-violet,
.btn-contour,
.btn-abo,
.btn-abo-contour,
.btn-ev,
.btn-voir-tout,
.bs-btn,
.btn-card-fill,
.btn-card-ghost,
.modal-go,
.btn-ev-all,
.filter-pill,
.app-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  width: fit-content;
  max-width: 400px;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
}

.hero {
  min-height: calc(100vh - var(--nav-h) - var(--itinerary-h) + 80px);
}

.hero-preview,
.hero-subline-label,
.footer-kicker,
.infos-overview-label {
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.hero-copy {
  max-width: 560px;
  padding-bottom: 12px;
}

.hero-title {
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.hero-title span {
  display: block;
  color: #fff;
}

.hero-title em {
  display: block;
  color: var(--violet-c);
  font-style: normal;
}

.hero-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}

.hero-subline-card {
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.hero-subline-card strong {
  display: block;
  margin-top: 6px;
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-size: 18px;
}

.bulle {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bulle::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid transparent;
  opacity: 0;
  transform: scale(0.94);
  transition: transform 0.24s ease, opacity 0.24s ease, border-color 0.24s ease;
}

.bulle.is-active::before,
.bulle:focus-visible::before {
  opacity: 1;
  transform: scale(1);
  border-color: transparent;
}

.bulle.is-active {
  transform: scale(1.14) !important;
  box-shadow:
    inset 0 0 22px color-mix(in srgb, var(--c) 36%, white 8%),
    inset 0 0 40px rgba(255, 255, 255, 0.05),
    0 0 18px color-mix(in srgb, var(--c) 34%, transparent 66%),
    0 0 34px color-mix(in srgb, var(--c) 18%, transparent 82%) !important;
}

.bulle:hover::before,
.bulle:active::before {
  opacity: 1;
  transform: scale(1);
  border-color: transparent;
}

.home-facts,
.home-experience {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--g);
}

.home-facts {
  margin-top: 10px;
}

.home-fact-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(8, 8, 16, 0.8);
  border: 1px solid var(--line-strong);
}

.home-fact-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--violet-rgb-ui), 0.28), transparent 68%);
  pointer-events: none;
}

.home-fact-kicker,
.home-fact-value,
.event-nom,
.section-label,
.abo-etiquette,
.page-title,
.page-breadcrumb,
.infos-section-title,
.schedule-title,
.faq-question,
.security-title,
.contact-name,
.app-title,
.footer-title {
  font-family: 'Quicksand', 'DM Sans', sans-serif;
}

.home-experience {
  padding-bottom: 20px;
  margin-top: 22px;
}

.home-experience-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 28px;
}

.home-experience-title {
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.home-experience-text {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.68);
}

.home-experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.home-experience-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(4, 4, 8, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.home-experience-step {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--violet-rgb-ui), 0.14);
  border: 1px solid rgba(var(--violet-rgb-ui), 0.32);
  color: var(--violet-c);
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 700;
}

.home-experience-card h3 {
  font-size: 24px;
  line-height: 1.05;
}

.home-experience-card p {
  color: rgba(255, 255, 255, 0.7);
}

.home-experience-link {
  margin-top: auto;
  color: #fff;
  text-decoration: none;
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-weight: 700;
}

.infos-page .page-hero {
  padding-bottom: 52px;
}

.infos-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 52px;
}

.infos-overview-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.infos-overview-card strong {
  display: block;
  margin: 10px 0 8px;
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-size: 24px;
  line-height: 1;
}

.infos-overview-card p {
  color: rgba(255, 255, 255, 0.68);
}

.infos-section-title {
  margin-bottom: 22px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.04;
}

.infos-section-title::before {
  content: none;
}

.filter-bar {
  gap: 10px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
}

.infos-page .filter-bar,
.sorties-page .filter-bar,
.lignes-page .filter-bar {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  margin-bottom: 12px;
}

.tarif-card,
.abo-item,
.schedule-card,
.faq-item,
.security-card,
.contact-card,
.app-card {
  border-radius: 22px;
}

.tarif-card,
.abo-item,
.schedule-card,
.faq-item,
.security-card,
.contact-card {
  background: transparent;
  border-color: transparent !important;
  box-shadow: none;
}

.app-card {
  background: transparent;
  border-color: transparent !important;
  box-shadow: none;
}

.story-card,
.event-card,
.detail-inner,
.dp-header,
.dp-cases,
.dp-case,
.dp-col-plan,
.dp-col-departs,
.dp-type-badge,
.dp-close,
.modal-row,
.modal-line-info,
.map-popup,
.event-tag-line {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.story-card,
.detail-inner,
.dp-header,
.dp-cases,
.dp-col-plan,
.dp-col-departs,
.modal-line-info,
.map-popup,
.event-tag-line {
  border: none !important;
}

.infos-page .abo-item[style],
.infos-page .schedule-card[style],
.infos-page .tarif-card[style],
.infos-page .faq-item[style],
.infos-page .security-card[style],
.infos-page .contact-card[style] {
  border-color: transparent !important;
  background: transparent !important;
}

.infos-page .tarif-card.highlight,
.infos-page .app-card {
  border-color: transparent !important;
}

.infos-page .tarif-card:hover,
.infos-page .abo-item:hover,
.infos-page .faq-item:hover,
.infos-page .security-card:hover,
.infos-page .contact-card:hover,
.sorties-page .event-card:hover,
.lignes-page .bulle-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--violet-rgb-ui), 0.34) !important;
}

.infos-page .contact-arr,
.infos-page .tarif-unit,
.infos-page .schedule-time-lbl {
  color: rgba(255, 255, 255, 0.45);
}

.infos-page .badge,
.sorties-page .badge,
.lignes-page .badge {
  border-radius: 999px;
}

.bs-fond {
  background: rgba(3, 3, 8, 0.72);
  backdrop-filter: blur(10px);
}

.bs {
  --bs-accent: var(--violet);
  width: min(420px, calc(100% - 22px));
  max-width: 420px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(19, 18, 28, 0.98), rgba(13, 12, 20, 0.99)) !important;
  border: none;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.4) !important;
  padding: 0 18px 20px;
}

.bs-top-bar {
  padding-top: 12px;
}

.bs-poignee {
  width: 78px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  margin: 6px auto 18px;
}

.bs-close {
  top: 14px;
  width: 34px;
  height: 34px;
  color: color-mix(in srgb, var(--bs-accent) 56%, white 20%);
  background: transparent;
  border: none;
}

.bs-entete {
  align-items: flex-start;
  margin-bottom: 8px;
}

.bs-bulle {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  box-shadow: none !important;
}

.bs-entete-texte {
  min-width: 0;
  flex: 1;
}

.bs-nom-ligne {
  font-size: 28px;
  line-height: 1;
}

.bs-type-badge {
  margin-top: 8px;
  background: transparent;
  border-color: transparent;
  color: color-mix(in srgb, var(--bs-accent) 74%, white 20%);
}

.bs-meta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.bs-meta-inline span {
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: color-mix(in srgb, var(--bs-accent) 68%, white 22%);
  font-size: 11px;
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-weight: 700;
}

.bs-trajet {
  border-bottom: none;
  margin-bottom: 12px;
  padding-bottom: 0;
  color: color-mix(in srgb, var(--bs-accent) 70%, white 22%);
}

.bs-grille-infos {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}

.bs-info-case {
  min-height: 92px;
  border-radius: 16px;
  background: transparent;
  border-color: transparent !important;
}

.bs-info-label {
  color: color-mix(in srgb, var(--bs-accent) 54%, white 18%);
}

.bs-info-val--heure {
  font-size: 28px;
}

.bs-ete {
  margin-bottom: 14px;
  border-radius: 14px;
}

.bs-section-label {
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--bs-accent) 58%, white 18%);
}

.bs-graphe-wrap {
  padding: 18px 14px 16px;
  border-radius: 18px;
  background: transparent;
  border: none;
}

.bs-stops-wrap {
  margin-top: 14px;
}

.bs-stops {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bs-stop-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bs-stop-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bs-stop-name,
.bs-stop-empty {
  color: color-mix(in srgb, var(--bs-accent) 68%, white 24%);
  font-size: 13px;
}

.bs-btn {
  margin-top: 18px;
  min-height: 58px;
  border: 1px solid color-mix(in srgb, var(--bs-accent) 42%, transparent);
  background: color-mix(in srgb, var(--bs-accent) 14%, transparent);
  border-radius: 16px;
  color: color-mix(in srgb, var(--bs-accent) 84%, white 16%);
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.bs-btn:hover {
  transform: translateY(-1px);
  filter: none;
}

.app-store-btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
}

.app-store-btn-icon svg {
  width: 15px;
  height: 15px;
  stroke: none;
  fill: #fff;
}

.site-footer {
  margin-top: 96px;
  padding: 40px var(--g) 28px;
  background: rgba(5, 5, 10, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.site-footer .footer-inner {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.footer-brand-lockup img {
  width: 118px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-title {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.footer-title span {
  color: var(--violet-c);
}

.footer-brand-copy p {
  max-width: 420px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.footer-linkgroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-linkgroup a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-linkgroup a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-socials .social-ico {
  width: 46px;
  height: 46px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-meta {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.footer-copyright {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1023px) {
  .hero-preview {
    position: relative;
    top: auto;
    right: auto;
    margin: 112px auto 0;
    width: calc(100% - 40px);
  }

  .hero-contenu {
    padding-top: 58px;
  }
}

@media (min-width: 768px) {
  .page-hero,
  .story-hero {
    padding-bottom: 64px;
  }

  .infos-overview {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-experience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-hero::before,
  .story-hero::before {
    inset: 18px var(--g) 0;
  }

  .page-hero,
  .story-hero {
    padding-top: calc(var(--nav-h) + 62px);
    padding-bottom: 72px;
  }

  .bs {
    width: min(440px, calc(100% - 64px));
    max-width: 440px;
    right: max(32px, calc((100vw - var(--mw)) / 2 + var(--g)));
    left: auto;
    bottom: 34px;
    transform: translateY(100%);
    border-radius: 28px;
  }

  .footer-top {
    grid-template-columns: 1.3fr 1fr auto;
    align-items: start;
  }
}

/* Shared contemporary system for interior pages */
.infos-page .infos-wrap,
.sorties-page .events-section,
.lignes-page .lignes-wrap,
body[data-page="story"] .story-wrap {
  display: grid;
  gap: 28px;
}

.infos-page .infos-section,
.sorties-page .events-section,
.lignes-page .cat-block,
body[data-page="story"] .story-card,
body[data-page="story"] .story-route {
  position: relative;
}

.infos-page .infos-section::before,
.sorties-page .events-section::before,
.lignes-page .cat-block::before,
body[data-page="story"] .story-card::before,
body[data-page="story"] .story-route::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.infos-overview,
.tarif-grid,
.abo-grid,
.schedule-grid,
.security-grid,
.contact-grid,
.events-grid {
  gap: 18px !important;
}

.infos-overview-card,
.tarif-card,
.abo-item,
.schedule-card,
.faq-item,
.security-card,
.app-card,
.contact-card,
.sorties-page .event-card,
body[data-page="story"] .story-card,
body[data-page="story"] .story-route,
body[data-page="story"] .story-stop-card,
body[data-page="story"] .story-fact {
  background: transparent !important;
  border: none !important;
  border-radius: 24px !important;
  box-shadow: none !important;
}

.infos-overview-card::after,
.tarif-card::after,
.abo-item::after,
.schedule-card::after,
.faq-item::after,
.security-card::after,
.app-card::after,
.contact-card::after,
.sorties-page .event-card::after,
body[data-page="story"] .story-card::after,
body[data-page="story"] .story-route::after {
  display: none !important;
}

.infos-section-title,
.cat-titre,
.story-card h2,
.story-stop-card h3,
.sorties-page .event-card-name,
.sorties-page .modal-title {
  letter-spacing: -0.03em;
}

.infos-section-title,
.cat-titre {
  margin-bottom: 18px !important;
}

.infos-page .infos-section {
  margin-bottom: 12px;
}

.infos-page .tarif-card,
.infos-page .abo-item,
.infos-page .schedule-card,
.infos-page .security-card,
.infos-page .contact-card {
  padding: 20px 22px !important;
}

.infos-page .app-card {
  padding: 26px 24px !important;
}

.infos-page .faq-question {
  min-height: 64px;
  padding: 0 22px !important;
}

.infos-page .faq-answer {
  padding: 0 22px !important;
}

.infos-page .faq-answer-inner {
  padding-bottom: 20px !important;
}

.sorties-page .events-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px !important;
}

.sorties-page .events-grid > * {
  grid-column: span 1;
  min-width: 0;
}

.sorties-page .events-grid > *:nth-child(1),
.sorties-page .events-grid > *:nth-child(2) {
  grid-column: span 1;
}

.sorties-page .event-card-img-wrap,
.sorties-page .event-card-img {
  border-radius: 0 0 26px 26px !important;
}

.sorties-page .event-card-img-wrap {
  height: 180px !important;
  min-height: 180px !important;
  overflow: hidden;
}

.sorties-page .event-card-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.sorties-page .event-card-body {
  padding: 20px 20px 18px !important;
}

.sorties-page .event-card-name {
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-size: 22px !important;
  line-height: 1.08 !important;
}

.sorties-page .btn-card-ghost,
.sorties-page .btn-card-fill {
  min-height: 44px;
  padding-inline: 16px;
  border-radius: 999px !important;
}

.lignes-page .cat-block {
  padding: 28px 28px 24px !important;
  border-radius: 28px !important;
}

.lignes-page .bulles-grille {
  gap: 20px 18px !important;
}

.lignes-page .bulle-btn {
  min-width: 96px;
}

.lignes-page .detail-panel {
  padding: 0 var(--g) !important;
}

.lignes-page .detail-panel > * {
  border-radius: 28px !important;
}

body[data-page="story"] .story-grid {
  gap: 24px;
}

body[data-page="story"] .story-card,
body[data-page="story"] .story-route {
  padding: 26px !important;
}

body[data-page="story"] .story-facts {
  gap: 12px;
}

body[data-page="story"] .story-fact {
  padding: 18px !important;
}

.infos-page .infos-overview-card,
.infos-page .tarif-card,
.infos-page .abo-item,
.infos-page .schedule-card,
.infos-page .faq-item,
.infos-page .security-card,
.infos-page .app-card,
.infos-page .contact-card,
.sorties-page .event-card,
body[data-page="story"] .story-card,
body[data-page="story"] .story-route,
body[data-page="story"] .story-stop-card,
body[data-page="story"] .story-fact {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.infos-page .infos-overview-card::before,
.infos-page .tarif-card::before,
.infos-page .abo-item::before,
.infos-page .schedule-card::before,
.infos-page .faq-item::before,
.infos-page .security-card::before,
.infos-page .app-card::before,
.infos-page .contact-card::before,
.sorties-page .event-card::before,
body[data-page="story"] .story-card::before,
body[data-page="story"] .story-route::before,
body[data-page="story"] .story-stop-card::before,
body[data-page="story"] .story-fact::before,
.infos-page .infos-overview-card::after,
.infos-page .tarif-card::after,
.infos-page .abo-item::after,
.infos-page .schedule-card::after,
.infos-page .faq-item::after,
.infos-page .security-card::after,
.infos-page .app-card::after,
.infos-page .contact-card::after,
.sorties-page .event-card::after,
body[data-page="story"] .story-card::after,
body[data-page="story"] .story-route::after,
body[data-page="story"] .story-stop-card::after,
body[data-page="story"] .story-fact::after {
  display: none !important;
  content: none !important;
}

.infos-page .tarif-card:hover,
.infos-page .abo-item:hover,
.infos-page .faq-item:hover,
.infos-page .security-card:hover,
.infos-page .contact-card:hover,
.sorties-page .event-card:hover,
body[data-page="story"] .story-card:hover,
body[data-page="story"] .story-route:hover,
body[data-page="story"] .story-stop-card:hover,
body[data-page="story"] .story-fact:hover {
  transform: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.site-footer .footer-brand-copy p,
.site-footer .footer-meta {
  display: none;
}

.site-footer .footer-copyright {
  display: block !important;
}

.site-footer .footer-socials {
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin-left: 0;
  width: 100%;
}

@media (max-width: 1023px) {
  .site-footer .footer-socials {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    margin-left: 0;
    width: auto;
  }
}

@media (max-width: 1279px) {
  .sorties-page .events-grid > * {
    grid-column: span 1;
  }
}

.sorties-page .event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sorties-page .event-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sorties-page .event-card-where,
.sorties-page .event-card-name,
.sorties-page .event-card-status,
.sorties-page .event-card-desc {
  min-height: 0 !important;
}

.sorties-page .event-card-desc {
  flex: 0 0 auto !important;
  max-width: none !important;
}

.sorties-page .event-card-footer {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  padding: 0 16px 0;
}

.sorties-page .event-card-footer .btn-card-ghost,
.sorties-page .event-card-footer .btn-card-fill {
  flex: 1;
  min-height: 44px;
  width: 100%;
}

@media (max-width: 1023px) {
  .sorties-page .event-card {
    height: auto !important;
    min-height: 0 !important;
  }

  .sorties-page .event-card-body {
    display: block !important;
    flex: none !important;
    padding: 18px 18px 10px !important;
  }

  .sorties-page .event-card-desc {
    margin-bottom: 10px !important;
  }

  .sorties-page .event-card-footer {
    margin: 50px 0 0 !important;
    padding: 0 !important;
  }

  .sorties-page .events-grid {
    grid-template-columns: 1fr;
  }

  .sorties-page .events-grid > *,
  .sorties-page .events-grid > *:nth-child(1),
  .sorties-page .events-grid > *:nth-child(2) {
    grid-column: auto;
  }

  .infos-page .infos-wrap,
  .sorties-page .events-section,
  .lignes-page .lignes-wrap,
  body[data-page="story"] .story-wrap {
    gap: 22px;
  }
}

/* ===== LISIBILITE NUIT — PAGES INTERIEURES ===== */
.infos-page p,
.sorties-page p,
.lignes-page p,
body[data-page="story"] p,
.infos-page li,
.sorties-page li,
.lignes-page li,
body[data-page="story"] li,
.infos-page .page-sub,
.sorties-page .page-sub,
.lignes-page .page-sub,
body[data-page="story"] .page-sub,
.infos-page .faq-answer,
.sorties-page .event-card-meta,
.sorties-page .event-card-desc,
.lignes-page .dp-route,
.lignes-page .arret-nom,
.lignes-page .arret-temps,
body[data-page="story"] .story-card p,
body[data-page="story"] .story-stop-card p,
body[data-page="story"] .story-fact p {
  font-family: 'Quicksand', 'DM Sans', sans-serif !important;
  line-height: 1.7 !important;
  letter-spacing: 0 !important;
}

.infos-page .page-h1,
.sorties-page .page-h1,
.lignes-page .page-h1,
body[data-page="story"] .page-h1,
.infos-page .infos-section-title,
.sorties-page .event-card-name,
.lignes-page .dp-ligne-nom,
body[data-page="story"] .story-card h2 {
  letter-spacing: -0.02em !important;
}

.infos-page .page-sub,
.sorties-page .page-sub,
.lignes-page .page-sub,
body[data-page="story"] .page-sub,
.infos-page .faq-answer,
.sorties-page .event-card-desc,
.lignes-page .dp-route,
.lignes-page .arret-temps,
body[data-page="story"] .story-card p,
body[data-page="story"] .story-stop-card p,
body[data-page="story"] .story-fact p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.infos-page .page-hero,
.sorties-page .page-hero,
.lignes-page .page-hero,
body[data-page="story"] .page-hero {
  max-width: 68rem;
}

.infos-page .page-hero,
.sorties-page .page-hero,
.lignes-page .page-hero,
.story-hero {
  padding-bottom: 84px;
}

.sorties-page .page-hero,
.lignes-page .page-hero {
  min-height: clamp(240px, 34vw, 340px);
}

.sorties-page .page-hero-sorties {
  min-height: auto;
  padding-top: 28px;
  padding-bottom: 52px;
}

.sorties-page .sorties-map-wrap + .page-hero-sorties {
  margin-top: 18px;
}

.sorties-page .page-hero > *,
.lignes-page .page-hero > * {
  max-width: 34rem;
}

.sorties-page .page-hero + .sorties-map-wrap,
.lignes-page .page-hero + .filtres-wrap {
  margin-top: 14px;
}

.infos-page .infos-hero-grid,
.story-hero-grid {
  align-items: end;
}

.infos-page .infos-hero-aside,
.story-hero-facts {
  margin-top: clamp(28px, 6vw, 84px);
}

.infos-page .infos-hero-aside {
  justify-self: stretch;
}

.story-hero-facts {
  justify-self: stretch;
}

@media (max-width: 1023px) {
  .infos-page .infos-hero-aside,
  .story-hero-facts {
    margin-top: 0;
  }

  .sorties-page .page-hero,
  .lignes-page .page-hero,
  .infos-page .page-hero,
  .story-hero {
    justify-items: start;
  }

  .sorties-page .page-title,
  .sorties-page .page-subtitle,
  .lignes-page .page-h1,
  .lignes-page .page-sub,
  .infos-page .page-title,
  .infos-page .page-subtitle,
  .story-h1,
  .story-sub {
    margin-left: 0;
    text-align: left;
  }
}

.infos-page .infos-wrap,
.sorties-page .events-section,
.lignes-page .lignes-wrap,
body[data-page="story"] .story-wrap {
  max-width: 76rem;
}

@media (max-width: 767px) {
  .infos-page p,
  .sorties-page p,
  .lignes-page p,
  body[data-page="story"] p,
  .infos-page li,
  .sorties-page li,
  .lignes-page li,
  body[data-page="story"] li,
  .infos-page .page-sub,
  .sorties-page .page-sub,
  .lignes-page .page-sub,
  body[data-page="story"] .page-sub,
  .infos-page .faq-answer,
  .sorties-page .event-card-meta,
  .sorties-page .event-card-desc,
  .lignes-page .dp-route,
  .lignes-page .arret-nom,
  .lignes-page .arret-temps,
  body[data-page="story"] .story-card p,
  body[data-page="story"] .story-stop-card p,
  body[data-page="story"] .story-fact p {
    line-height: 1.74 !important;
  }
}
