/* =========================================================
   MSC MUSICA · Les 70 ans de Papa
   Nautique, luxe sombre, néon blanc sur bleu profond
   ========================================================= */

:root {
  --ink-0: #060d12;   /* le plus profond */
  --ink-1: #081019;   /* fond global */
  --ink-2: #0b1b25;   /* panneaux */
  --ink-3: #0e2530;   /* cartes */
  --teal:  #14323d;
  --steel: #9ec4d6;   /* bleu pâle des chiffres */
  --steel-dim: #6f97a8;
  --neon:  #e3f4ff;   /* blanc néon */
  --text:  #e7eef1;
  --muted: #8aa3ad;
  --muted-2: #5f7884;
  --line:  rgba(158, 196, 214, 0.16);
  --glow:  rgba(196, 230, 248, 0.55);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", system-ui, sans-serif;

  --pad: clamp(1.4rem, 5vw, 7rem);
  --maxw: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ink-1);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--steel); color: var(--ink-0); }

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }

/* ---------- grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  opacity: 0.05;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- helpers ---------- */
.overline {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.overline.center { justify-content: center; }
.overline.light { color: var(--neon); }
.overline sup { font-size: 0.6em; }
.rule {
  display: inline-block;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--steel), transparent);
  box-shadow: 0 0 8px var(--glow);
}
.overline.center .rule { background: linear-gradient(90deg, transparent, var(--steel), transparent); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-top: 1.1rem;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--steel);
}
.section-lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.02rem;
  margin-top: 1.3rem;
}
.section-head { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem var(--pad);
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 16, 25, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-color: var(--line);
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.32em;
  font-size: 0.95rem;
}
.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  gap: 2.4rem;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--steel);
  box-shadow: 0 0 8px var(--glow);
  transition: width 0.35s ease;
}
.nav-links a:hover { color: var(--neon); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  color: var(--neon);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.nav-cta:hover {
  border-color: var(--steel);
  box-shadow: 0 0 18px rgba(158, 196, 214, 0.18);
  background: rgba(158, 196, 214, 0.05);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--pad) 4rem;
  overflow: hidden;
}
/* couche photo : c'est elle qui s'anime (zoom PC / glissement mobile) */
.hero-photo {
  position: absolute; inset: 0;
  z-index: -3;
  background: #081019 url("hero.jpg") center / cover no-repeat;
  transform-origin: 60% 50%;
  will-change: transform;
  animation-play-state: paused; /* demarre seulement une fois sur la page */
}
.is-entered .hero-photo { animation-play-state: running; }

/* voile sombre fixe par-dessus la photo (lisibilité du texte) */
.hero-bg {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6,13,18,0.94) 0%, rgba(6,13,18,0.62) 45%, rgba(6,13,18,0.22) 78%),
    linear-gradient(180deg, rgba(6,13,18,0.36) 0%, rgba(6,13,18,0.2) 50%, var(--ink-1) 96%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 72% 18%, rgba(24,72,90,0.4) 0%, transparent 55%);
  mix-blend-mode: screen;
}

@keyframes heroZoom {
  from { transform: scale(1.03); }
  to   { transform: scale(1.16); }
}
/* glissement tres doux vers la droite (transform = fluide) */
@keyframes heroDrift {
  from { transform: translateX(-10%); }
  to   { transform: translateX(0%); }
}
/* PC : lent zoom avant */
@media (min-width: 901px) {
  .hero-photo {
    animation-name: heroZoom;
    animation-duration: 30s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
  }
}
/* Mobile : la photo glisse doucement vers la droite (le bateau avance) */
@media (max-width: 900px) {
  .hero-photo {
    inset: 0 -14%;            /* élargit la couche pour translater sans trou */
    animation-name: heroDrift;
    animation-duration: 22s;
    /* démarre tout de suite (pas de lente mise en route après l'ouverture) */
    animation-timing-function: cubic-bezier(.05, .6, .3, 1);
    animation-fill-mode: both;
  }
}
.hero-glow {
  position: absolute;
  top: -10%; right: -5%;
  width: 60vw; height: 60vw;
  z-index: -1;
  background: radial-gradient(circle, rgba(120,190,220,0.16), transparent 62%);
  filter: blur(20px);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero-glow.soft { opacity: 0.5; top: -30%; left: 50%; transform: translateX(-50%); }
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-4%, 5%) scale(1.08); }
}

.hero-inner { max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero .overline { margin-bottom: 1.8rem; }

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 11vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 46px rgba(0, 0, 0, 0.88), 0 2px 12px rgba(0, 0, 0, 0.72);
}
.hero-title span { display: block; }
.hero-title .italic {
  font-style: italic;
  color: var(--steel);
  text-shadow: 0 0 38px rgba(158, 196, 214, 0.32), 0 4px 46px rgba(0, 0, 0, 0.88), 0 2px 12px rgba(0, 0, 0, 0.72);
}
/* lisibilité du texte du hero par-dessus la photo */
.hero .overline { text-shadow: 0 1px 20px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.7); }
.hero-actions .link-arrow { text-shadow: 0 1px 16px rgba(0, 0, 0, 0.85); }

.hero-lede {
  margin-top: 2rem;
  max-width: 50ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--text);
  font-weight: 300;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85), 0 1px 5px rgba(0, 0, 0, 0.65);
}

.hero-actions {
  margin-top: 2.8rem;
  display: flex;
  align-items: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}
.link-arrow {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--neon);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: gap 0.3s, border-color 0.3s;
}
.link-arrow .arr { transition: transform 0.35s; }
.link-arrow:hover { border-color: var(--steel); }
.link-arrow:hover .arr { transform: translateY(4px); }
.hero-meta {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--steel), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* =========================================================
   NAVIRE / STATS
   ========================================================= */
.navire {
  position: relative;
  padding: clamp(5rem, 12vw, 11rem) var(--pad);
  overflow: hidden;
  isolation: isolate;
}
.navire::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(7, 14, 22, 0.85) 0%, rgba(7, 14, 22, 0.67) 42%, rgba(7, 14, 22, 0.8) 82%, var(--ink-1) 100%),
    url("musica.webp");
  background-size: cover, cover;
  background-position: center, center 26%;
  background-repeat: no-repeat;
}
.navire-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
/* lisibilité du texte par-dessus la photo du bateau */
.navire .section-title,
.navire .overline,
.navire .stat-label,
.navire .spec span,
.navire .spec label {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.navire .stat-num {
  text-shadow: 0 0 30px rgba(158, 196, 214, 0.2), 0 2px 18px rgba(0, 0, 0, 0.6);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.4rem, 5vw, 4rem) 0;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1;
  color: var(--steel);
  letter-spacing: -0.01em;
  text-shadow: 0 0 30px rgba(158, 196, 214, 0.16);
}
.stat-num small {
  font-size: 0.32em;
  color: var(--muted);
  margin-left: 0.2em;
  letter-spacing: 0.05em;
  font-family: var(--sans);
}
.stat-label {
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.6rem;
}
.spec { display: flex; flex-direction: column; gap: 0.3rem; }
.spec span {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--text);
}
.spec label {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* =========================================================
   ITINERAIRE / CARTE
   ========================================================= */
.itineraire {
  padding: clamp(5rem, 12vw, 11rem) var(--pad);
  background:
    radial-gradient(120% 90% at 50% 0%, #0a212c, var(--ink-1) 70%);
  position: relative;
}
.map-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
/* fenetre = zone visible ; le fond de carte deborde et se poursuit, flou sur les bords */
.map-window {
  position: relative;
  width: 100%;
  aspect-ratio: 1415.7 / 734.5;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 115% at 32.5% 48%, #0a2734 0%, #07131e 52%, #05101a 100%);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.55);
  /* reglages du cadrage (zoom + centrage sur la zone de la croisiere) */
  --zoom: 320%;
  --fx: -32.5%;
  --fy: -48.3%;
}
.map-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--zoom);
  aspect-ratio: 1415.7 / 734.5;
  transform: translate(var(--fx), var(--fy));
}
.map-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
img.map-layer { object-fit: fill; }
.map-bg--blur {
  filter: blur(2.6px) saturate(0.82) brightness(0.92);
  opacity: 0.6;
}
.map-bg--sharp {
  -webkit-mask-image: radial-gradient(29% 31% at 32.5% 48%, #000 60%, transparent 100%);
          mask-image: radial-gradient(29% 31% at 32.5% 48%, #000 60%, transparent 100%);
}
.map-overlay { overflow: visible; }
.map-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(125% 105% at 50% 50%, transparent 42%, rgba(6, 16, 24, 0.4) 72%, var(--ink-1) 100%);
}

/* route */
.route-glow {
  fill: none;
  stroke: rgba(196, 230, 248, 0.14);
  stroke-width: 7;
  filter: url(#neonSoft);
}
.route-line {
  fill: none;
  stroke: rgba(227, 244, 255, 0.5);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#neon);
}
.map-overlay.drawn .route-line { animation: draw 4.5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* bateau */
.ship { opacity: 0; }
.map-overlay.drawn .ship { opacity: 1; transition: opacity 0.6s 1s; }
.ship-halo { fill: rgba(227, 244, 255, 0.3); filter: url(#neonSoft); }
.ship-core { fill: #fff; filter: url(#neon); }

/* escales */
.port { cursor: pointer; }
.port-dot {
  fill: var(--ink-1);
  stroke: var(--neon);
  stroke-width: 1.5;
  filter: url(#neon);
  transition: transform 0.3s, fill 0.3s;
}
.port-pulse {
  fill: rgba(196, 230, 248, 0.14);
  transform-origin: center;
  transform-box: fill-box;
  animation: portPulse 3s ease-in-out infinite;
}
.port:nth-child(2) .port-pulse { animation-delay: 0.4s; }
.port:nth-child(3) .port-pulse { animation-delay: 0.8s; }
.port:nth-child(4) .port-pulse { animation-delay: 1.2s; }
.port:nth-child(5) .port-pulse { animation-delay: 1.6s; }
.port:nth-child(6) .port-pulse { animation-delay: 2s; }
.port:nth-child(7) .port-pulse { animation-delay: 2.4s; }
@keyframes portPulse {
  0%, 100% { transform: scale(0.55); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 0; }
}
.port-name {
  fill: var(--text);
  font-family: var(--sans);
  font-size: 7.6px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-anchor: middle;
  paint-order: stroke;
  stroke: rgba(5, 14, 22, 0.85);
  stroke-width: 2;
  pointer-events: none;
  transition: fill 0.3s;
}
.port--sea .port-dot { stroke: var(--steel-dim); stroke-dasharray: 2.2 2.2; }
.port--sea .port-name { fill: var(--muted); }

.port:hover .port-dot,
.port:focus-visible .port-dot,
.port.active .port-dot {
  fill: var(--neon);
  transform: scale(1.35);
}
.port:hover .port-name,
.port.active .port-name { fill: var(--neon); }
.port:focus { outline: none; }
.port:focus-visible .port-name { fill: var(--neon); }

/* panneau d'info */
.port-card {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  transform: translateX(-14px);
  width: min(320px, 46%);
  background: rgba(11, 27, 37, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.8rem 1.8rem 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 40px rgba(158,196,214,0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.port-card.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.port-card-close {
  position: absolute;
  top: 0.9rem; right: 1rem;
  background: none; border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}
.port-card-close:hover { color: var(--neon); }
.port-card-day {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel);
}
.port-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.05;
  margin: 0.5rem 0 0.9rem;
}
.port-card-times {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.port-card-times div { display: flex; flex-direction: column; gap: 0.2rem; }
.port-card-times label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.port-card-times strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--steel);
}
.port-card-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* légende compacte posée sur la carte (mobile) */
.map-caption {
  display: none;
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  max-width: 72%;
  padding: 0.5rem 0.8rem;
  border-left: 2px solid var(--steel);
  border-radius: 0 5px 5px 0;
  background: linear-gradient(90deg, rgba(5, 14, 22, 0.78), rgba(5, 14, 22, 0.2));
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 3;
}
.map-caption.show { opacity: 1; }
.map-caption .mc-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--neon);
}
.map-caption .mc-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  color: var(--steel);
}

/* liste des escales */
.legs {
  list-style: none;
  max-width: 1100px;
  margin: 3.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.legs li {
  background: var(--ink-1);
  padding: 1.3rem 1.2rem;
  cursor: pointer;
  transition: background 0.3s;
}
.legs li:hover, .legs li.active { background: var(--ink-3); }
.legs .leg-day {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}
.legs .leg-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin: 0.3rem 0;
}
.legs .leg-time {
  font-size: 0.74rem;
  color: var(--muted-2);
  letter-spacing: 0.05em;
}

/* =========================================================
   INTERLUDE VIDEO
   ========================================================= */
.interlude {
  position: relative;
  min-height: 80svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem var(--pad);
  overflow: hidden;
}
.interlude-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  /* secours animé si la vidéo manque */
  background:
    linear-gradient(120deg, #0a2230, #103240, #0a2230);
  background-size: 220% 220%;
  animation: tide 14s ease-in-out infinite;
}
@keyframes tide {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.interlude-overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,16,25,0.55), rgba(7,17,26,0.7)),
    radial-gradient(120% 120% at 50% 50%, transparent 30%, rgba(6,13,18,0.85));
}
.interlude-inner { max-width: 760px; }
.interlude-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 4.6vw, 3.6rem);
  line-height: 1.18;
  margin: 1.8rem 0 1.4rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.interlude-sub {
  font-size: 0.8rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--steel);
}

/* =========================================================
   A BORD
   ========================================================= */
.bord {
  padding: clamp(5rem, 12vw, 11rem) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.bord-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.incl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 2.8rem 0;
}
.incl h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.incl ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.incl li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 1.3rem;
  position: relative;
}
.incl li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: 0 0 8px var(--glow);
}
.muted-col li { color: var(--muted); }
.muted-col li::before { background: var(--muted-2); box-shadow: none; }

.btn-tour {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--steel);
  border-radius: 2px;
  color: var(--neon);
  transition: background 0.35s, box-shadow 0.35s, gap 0.35s;
}
.btn-tour:hover {
  background: rgba(158, 196, 214, 0.08);
  box-shadow: 0 0 28px rgba(158, 196, 214, 0.18);
  gap: 1.1rem;
}
.btn-tour .arr { font-size: 1.1em; }

/* photo de la cabine */
.cabin-photo {
  position: relative;
  margin: 0 0 1.6rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.cabin-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.cabin-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.2rem 0.85rem;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(180deg, transparent, rgba(5, 12, 18, 0.88));
}

/* billet */
.ticket {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink-1);
  top: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -12px; }
.ticket::after { right: -12px; }
.ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ticket-line {
  font-family: var(--serif);
  font-size: 1.9rem;
}
.ticket-mid { color: var(--steel); font-size: 1.2rem; }
.ticket-route {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 0.5rem;
}
.ticket hr {
  border: none;
  border-top: 1px dashed var(--line);
  margin: 1.6rem 0;
}
.ticket-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1rem;
}
.ticket-meta dt {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.3rem;
}
.ticket-meta dd {
  font-size: 0.94rem;
  color: var(--text);
}

/* =========================================================
   COMPTE A REBOURS
   ========================================================= */
.countdown {
  position: relative;
  text-align: center;
  padding: clamp(5rem, 11vw, 9rem) var(--pad);
  overflow: hidden;
}
.cd-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 1.4rem 0 2.8rem;
}
.cd-grid {
  display: flex;
  justify-content: center;
  gap: clamp(0.6rem, 2.2vw, 1.5rem);
  flex-wrap: wrap;
  perspective: 1000px;
}
.cd-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  min-width: clamp(84px, 19vw, 150px);
  padding: 1.7rem 1rem 1.15rem;
  background: linear-gradient(165deg, rgba(20, 46, 59, 0.92), rgba(9, 22, 31, 0.94));
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(196, 230, 248, 0.08);
  overflow: hidden;
}
.cd-cell::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(158, 196, 214, 0.08), transparent);
  pointer-events: none;
}
.cd-cell span {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 8.5vw, 5.6rem);
  line-height: 1;
  color: var(--neon);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  text-shadow: 0 0 34px rgba(196, 230, 248, 0.4);
  transform-origin: 50% 0%;
  backface-visibility: hidden;
}
.cd-cell label {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.cd-note {
  margin-top: 2.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) var(--pad) 4rem;
  border-top: 1px solid var(--line);
}
.footer-big {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1.02;
}
.footer-big em { font-style: italic; color: var(--steel); }
.footer-sub {
  margin-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* =========================================================
   REVEAL / MOTION
   ========================================================= */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(26px);
}
.hero .reveal { transform: translateY(34px); }
.is-in.reveal, .is-in.reveal-up,
.reveal.played {
  opacity: 1;
  transform: none;
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
/* hero stagger au chargement */
.reveal[data-d] { transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal[data-d="1"] { transition-delay: 0.15s; }
.reveal[data-d="2"] { transition-delay: 0.32s; }
.reveal[data-d="3"] { transition-delay: 0.46s; }
.reveal[data-d="4"] { transition-delay: 0.66s; }
.reveal[data-d="5"] { transition-delay: 0.82s; }
.reveal[data-d="6"] { transition-delay: 1.1s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .legs { grid-template-columns: repeat(2, 1fr); }
  .spec-row { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .bord-grid { grid-template-columns: 1fr; }
  .bord-aside { order: -1; }
  .port-card { display: none !important; }
  .map-caption { display: block; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .spec-row { grid-template-columns: 1fr 1fr; }
  .incl { grid-template-columns: 1fr; gap: 2rem; }
  .ticket-meta { grid-template-columns: 1fr; }
  .port-name { display: none; }
  .map-window { aspect-ratio: 1.2; }
  .hero-actions { gap: 1.2rem; }
  /* on retire la ligne dates sous "Voir le voyage" sur mobile */
  .hero-meta { display: none; }
  /* compte a rebours sur une seule ligne (grille = tient toujours) */
  .cd-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    flex-wrap: nowrap;
    gap: 0.4rem;
    width: 100%;
    max-width: 100%;
  }
  .cd-cell {
    min-width: 0 !important;
    padding: 1rem 0.2rem 0.7rem;
    gap: 0.4rem;
    border-radius: 8px;
  }
  .cd-cell span { font-size: clamp(1.35rem, 7.2vw, 2.1rem); }
  .cd-cell label { font-size: 0.45rem; letter-spacing: 0.05em; }
}

/* =========================================================
   INTERLUDE : titre + bouton visite virtuelle
   ========================================================= */
.interlude-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.05;
  margin: 1.4rem 0 1rem;
}
.interlude-title em { font-style: italic; color: var(--steel); }
.interlude .interlude-sub {
  font-size: 1rem;
  color: rgba(231, 238, 241, 0.82);
  margin-bottom: 2.3rem;
  letter-spacing: 0;
  text-transform: none;
}
.btn-tour.light {
  border-color: rgba(231, 238, 241, 0.5);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.04);
}
.btn-tour.light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(227, 244, 255, 0.22);
}

/* =========================================================
   A BORD : points forts
   ========================================================= */
.perks {
  list-style: none;
  margin: 2.6rem 0 0;
  border-top: 1px solid var(--line);
}
.perks li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.perk-name {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--text);
  position: relative;
  padding-left: 1.4rem;
}
.perk-name::before {
  content: "";
  position: absolute;
  left: 0; top: 0.66em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: 0 0 10px var(--glow);
}
.perk-desc {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 1.4rem;
}

/* footer : ligne intermediaire */
.footer-line {
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--steel);
}

/* clin d'oeil aux 50 ans de Maman (parenthèse légère) */
.and-maman {
  text-transform: none;
  letter-spacing: 0.01em;
  font-style: italic;
  font-weight: 300;
  font-size: 0.92em;
  color: var(--muted);
}

/* signature : de qui vient le cadeau */
.signature {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
}
.signature-label {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.signature-names {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  color: var(--steel);
  text-shadow: 0 0 26px rgba(158, 196, 214, 0.22);
}

/* =========================================================
   BOUTON SON (barres soundwave)
   ========================================================= */
.sound-toggle {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 1.05rem;
  background: rgba(11, 27, 37, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(158, 196, 214, 0.3);
  border-radius: 100px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, background 0.3s ease;
}
.is-entered .sound-toggle { opacity: 1; transform: none; pointer-events: auto; }
.sound-toggle:hover {
  border-color: var(--steel);
  background: rgba(14, 37, 48, 0.82);
  box-shadow: 0 0 22px rgba(158, 196, 214, 0.16);
}
.sound-toggle:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }

.sw-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}
.sw-bars span {
  display: block;
  width: 3px;
  height: 30%;
  background: var(--steel);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--glow);
  animation: swave 0.9s ease-in-out infinite;
}
.sw-bars span:nth-child(1) { animation-delay: -0.2s; animation-duration: 1s; }
.sw-bars span:nth-child(2) { animation-delay: -0.5s; animation-duration: 0.78s; }
.sw-bars span:nth-child(3) { animation-delay: -0.1s; animation-duration: 1.12s; }
.sw-bars span:nth-child(4) { animation-delay: -0.66s; animation-duration: 0.88s; }
@keyframes swave {
  0%, 100% { height: 24%; }
  50% { height: 100%; }
}
/* son coupé : barres plates et atténuées (animation stoppée, pas juste en pause) */
.sound-toggle.muted .sw-bars span {
  animation: none;
  height: 20%;
  background: var(--muted-2);
  box-shadow: none;
}

/* =========================================================
   MODE APERCU (?cap) : tout visible, hauteurs bornées
   (inoffensif pour l'utilisateur, utile pour capture/impression)
   ========================================================= */
.cap .reveal, .cap .reveal-up { opacity: 1 !important; transform: none !important; }
.cap .hero { min-height: 720px; }
.cap .interlude { min-height: 600px; }
.cap .route-line { stroke-dashoffset: 0 !important; }
.cap .ship { opacity: 1 !important; }

/* =========================================================
   PREFERS REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-up { opacity: 1; transform: none; }
  .route-line { stroke-dashoffset: 0; }
  .ship { opacity: 1; }
}
