@font-face {
  font-family: "LouvreSerifFallback";
  src: url("https://www.louvre.fr/assets/fonts/louvreserif/400/latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --paper: #fbfbf7;
  --line: #101010;
  --soft-line: #cfcfc3;
  --yellow: #efe29a;
  --yellow-deep: #e0cf70;
  --muted: #545454;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.page-shell {
  width: min(1340px, calc(100% - 32px));
  margin: 0 auto 24px;
}

.site-header,
.section,
.intro-section,
.site-footer {
  border: 0;
}

.site-header {
  margin-top: 0;
  background: var(--black);
  color: var(--white);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 24px 14px;
}

.brand {
  justify-self: center;
  color: var(--white);
  text-decoration: none;
  font-family: "LouvreSerifFallback", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.header-spacer {
  min-height: 1px;
}

.header-tools,
.language-switch,
.site-nav,
.intro-actions,
.booking-actions,
.slide-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-tools {
  justify-self: end;
}

.site-nav {
  justify-content: center;
  padding: 0 24px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
}

.nav-link,
.language-button,
.slide-button {
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.language-button {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.language-button.is-active {
  background: var(--white);
  color: var(--black);
}

.header-book,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-book,
.button {
  background: var(--yellow);
  color: var(--black);
}

.button-secondary {
  background: var(--white);
  color: var(--black);
}

.intro-section,
.section,
.site-footer {
  margin-top: 16px;
  background: var(--white);
}

.intro-section {
  padding: 28px;
}

.video-placeholder {
  background: var(--black);
  min-height: 62vh;
  display: grid;
  place-items: center;
}

.video-placeholder-inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  color: var(--white);
  text-align: center;
}

.video-label,
.section-kicker,
.stop-list-title {
  font-family: "Montserrat", "Roboto", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.video-play {
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: transparent;
  position: relative;
}

.video-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--white);
}

.intro-actions {
  justify-content: center;
  margin-top: 16px;
}

.section {
  padding: 28px;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 18px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--muted);
}

.section-kicker:empty,
.booking-text:empty {
  display: none;
}

h2,
h3 {
  margin: 0;
  font-family: "LouvreSerifFallback", Georgia, serif;
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.1;
}

p {
  margin: 0;
  line-height: 1.7;
}

.tour-info-grid,
.score-grid,
.testimonial-grid {
  display: grid;
  gap: 16px;
}

.tour-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tour-info-card,
.score-card,
.testimonial-card,
.slide-copy,
.stop-list-panel,
.booking-card {
  border: 1px solid var(--line);
  background: var(--paper);
}

.tour-info-card,
.score-card,
.testimonial-card,
.slide-copy,
.stop-list-panel,
.booking-card {
  padding: 20px;
}

.tour-info-card span,
.score-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tour-info-card strong,
.score-card strong {
  display: block;
  font-family: "LouvreSerifFallback", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.tour-info-card strong a,
.faq-item a {
  color: var(--black);
}

.tour-info-subnote {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.slideshow-layout,
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 18px;
}

.slideshow-frame {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 18px;
}

.slide-image {
  min-height: 440px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.08)),
    repeating-linear-gradient(90deg, #ffffff 0 14px, #f2f2ea 14px 28px);
  border: 1px solid var(--soft-line);
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.slide-image.is-compare {
  position: relative;
  overflow: hidden;
  background: #111111;
}

.compare-stage,
.compare-image,
.compare-overlay {
  position: absolute;
  inset: 0;
}

.compare-image,
.compare-overlay {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.compare-image {
  filter: grayscale(1) contrast(1.02);
}

.compare-overlay {
  width: 54%;
  border-right: 2px solid rgba(255, 255, 255, 0.95);
  animation: compare-sweep 7s ease-in-out infinite;
}

.compare-overlay::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--yellow);
  border: 1px solid var(--line);
}

.compare-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
}

.compare-tag {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  border: 1px solid var(--line);
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes compare-sweep {
  0% { width: 18%; }
  50% { width: 82%; }
  100% { width: 18%; }
}

.slide-controls {
  justify-content: space-between;
  margin-top: 14px;
}

.slide-button {
  color: var(--black);
  border: 1px solid var(--line);
  padding: 10px 14px;
}

.slide-counter {
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slide-copy {
  display: grid;
  align-content: start;
  gap: 12px;
}

.tour-map {
  min-height: 520px;
  border: 1px solid var(--line);
}

.stop-list-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.stop-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.stop-list li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--soft-line);
}

.stop-name {
  display: block;
  font-family: "LouvreSerifFallback", Georgia, serif;
  font-size: 1.2rem;
}

.stop-note {
  display: block;
  color: var(--muted);
}

.score-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.score-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.score-card a {
  color: var(--black);
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  display: grid;
  gap: 12px;
}

.testimonial-card p {
  font-family: "LouvreSerifFallback", Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.2;
}

.testimonial-card span {
  color: var(--muted);
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: "Montserrat", "Roboto", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 12px;
  color: var(--muted);
}

.booking-card {
  display: grid;
  gap: 16px;
}

.booking-text {
  max-width: 800px;
}

.site-footer {
  padding: 24px;
  text-align: center;
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.leaflet-container {
  background: #f4f4ef;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--line);
}

@media (max-width: 1024px) {
  .header-bar,
  .slideshow-layout,
  .map-layout,
  .tour-info-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .header-bar {
    justify-items: center;
  }

  .header-tools {
    justify-self: center;
  }

  .header-spacer {
    display: none;
  }

  .score-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 100%);
  }

  .site-nav {
    justify-content: flex-start;
  }

  .intro-section,
  .section {
    padding: 20px;
  }

  .video-placeholder {
    min-height: 42vh;
  }

  .button,
  .header-book {
    width: 100%;
  }

  .intro-actions,
  .booking-actions {
    flex-direction: column;
  }
}
