/*
 * Le site reprend le mood board de l'app (« Vadrouille, l'esprit ») :
 * - clair « Carte postale » : ciel clair, encre bleu nuit, Bricolage Grotesque + DM Sans ;
 * - sombre « Golden hour » : nuit profonde, Unbounded + Manrope.
 * Six couleurs, pas une de plus : corail, soleil, crème, lagon, prune, bleu nuit.
 */
:root {
  color-scheme: light;
  --bg: #f2f5ff;
  --paper: #ffffff;
  --ink: #1b1f3b;
  --muted: #5d6282;
  --line: rgb(27 31 59 / 0.12);
  --coral: #ff5a5f;
  --coral-fill: #ef4a50;
  --coral-ink: #d93a40;
  --sun: #ffc94a;
  --cream: #fff3c4;
  --lagoon: #138a80;
  --plum: #6a4c93;
  --night: #1b1f3b;
  --display: "Bricolage Grotesque", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 10px 28px rgb(27 31 59 / 0.08);
  --shadow-lift: 0 18px 40px rgb(27 31 59 / 0.16);
  --nav-bg: rgb(242 245 255 / 0.82);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0f1726;
    --paper: #16203a;
    --ink: #f6eee9;
    --muted: #bdb3ad;
    --line: rgb(255 255 255 / 0.12);
    --coral-ink: #ff8a8d;
    --display: "Unbounded", "Manrope", ui-sans-serif, system-ui, sans-serif;
    --body: "Manrope", ui-sans-serif, system-ui, sans-serif;
    --shadow: 0 12px 30px rgb(0 0 0 / 0.25);
    --shadow-lift: 0 20px 44px rgb(0 0 0 / 0.4);
    --nav-bg: rgb(15 23 38 / 0.82);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
}

.skip:focus {
  left: 16px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-ink);
}

.lede {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 60ch;
}

.small {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Boutons : corail plein, comme dans l'app. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--coral-fill);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgb(255 90 95 / 0.3);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.btn:hover {
  background: var(--coral-ink);
  transform: translateY(-1px);
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.btn-small {
  padding: 9px 16px;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}

.btn-ghost:hover {
  background: var(--paper);
}

.btn-sun {
  background: var(--sun);
  color: var(--night);
  box-shadow: 0 6px 16px rgb(255 201 74 / 0.35);
}

.btn-sun:hover {
  background: #ffd76e;
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.4);
}

.btn-ghost-light:hover {
  background: rgb(255 255 255 / 0.1);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--night);
  font-size: 0.85rem;
  font-weight: 700;
}

.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lagoon);
  box-shadow: 0 0 0 4px rgb(19 138 128 / 0.2);
}

.pill-light {
  background: rgb(255 255 255 / 0.16);
  color: #fff;
}

.pill-light i {
  background: var(--sun);
  box-shadow: 0 0 0 4px rgb(255 201 74 / 0.25);
}

/* Barre du haut. */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner,
main,
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
}

.brand img {
  border-radius: 22%;
}

.nav nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav nav a:hover {
  color: var(--ink);
}

main {
  display: grid;
  gap: 104px;
  padding-top: 56px;
  padding-bottom: 104px;
}

/* Accroche. */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero-text {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.hero-art {
  position: relative;
  padding: 36px 0 56px;
  min-width: 0;
}

.postcard {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-lift);
  transform: rotate(-1.5deg);
  border: 8px solid var(--paper);
}

.postcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.postcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.55), transparent 50%);
}

.postcard-title {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.float {
  position: absolute;
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
}

.ticket {
  background: var(--lagoon);
  color: #fff;
  padding: 16px 18px;
  display: grid;
  gap: 10px;
}

.ticket .eyebrow {
  color: var(--cream);
}

.ticket b {
  font-family: var(--display);
  font-size: 1.35rem;
}

.ticket .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  border-top: 2px dashed rgb(255 255 255 / 0.4);
  padding-top: 8px;
}

.hero .ticket {
  top: 0;
  right: -12px;
  width: 230px;
  transform: rotate(3deg);
}

.note {
  background: var(--paper);
  padding: 14px 18px;
  display: grid;
  gap: 2px;
  /* En haut à gauche, dans le ciel : le billet est en haut à droite, les notes en bas. */
  left: -24px;
  top: 64px;
  max-width: 46%;
  transform: rotate(-3deg);
}

.note q {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  quotes: "« " " »";
}

.note small {
  color: var(--muted);
}

.rate {
  background: var(--cream);
  color: var(--night);
  padding: 10px;
  display: flex;
  gap: 6px;
  right: 16px;
  bottom: 18px;
  font-weight: 700;
  font-size: 0.85rem;
}

.rate span,
.rate-row span {
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

.rate span.on,
.rate-row span.on {
  background: var(--sun);
}

/* Les mots du mood board. */
.words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: -40px;
}

.words span {
  font-family: var(--display);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px dashed var(--line);
}

.words span:nth-child(3n + 1) {
  background: var(--coral);
  color: #fff;
  border-color: transparent;
}

.words span:nth-child(3n + 2) {
  background: var(--cream);
  color: var(--night);
  border-color: transparent;
}

/* Sections. */
.section {
  display: grid;
  gap: 40px;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.spirit {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.spirit li {
  background: var(--paper);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  align-content: start;
}

.spirit svg {
  width: 96px;
  height: 58px;
  color: var(--night);
}

.spirit p {
  color: var(--muted);
  font-size: 0.98rem;
}

@media (prefers-color-scheme: dark) {
  .spirit svg {
    color: var(--cream);
  }
}

/* Fonctionnalités : texte et morceau d'interface, en alternance. */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature.reverse .feature-text {
  order: 2;
}

.feature-text {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.feature-text h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.feature-text > p {
  color: var(--muted);
}

.tag {
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.tag-lagoon {
  background: var(--lagoon);
}

.tag-plum {
  background: var(--plum);
}

.tag-sun {
  background: var(--sun);
  color: var(--night);
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ticks li {
  position: relative;
  padding-left: 30px;
}

/* Le sentier pointillé en guise de puce. */
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 18px;
  height: 6px;
  background: radial-gradient(circle, var(--coral) 2.6px, transparent 3px) 0 50% / 6px 6px repeat-x;
}

.feature-art {
  position: relative;
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 15%, rgb(255 201 74 / 0.35), transparent 40%),
    radial-gradient(circle at 10% 90%, rgb(19 138 128 / 0.18), transparent 45%),
    var(--paper);
  box-shadow: var(--shadow);
  min-width: 0;
}

.idea {
  width: 100%;
  max-width: 340px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-lift);
}

.idea-img {
  aspect-ratio: 16 / 8;
  background-size: cover;
  background-position: center;
}

.idea-body {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.idea-body b {
  font-family: var(--display);
  font-size: 1.15rem;
}

.idea-body p {
  color: var(--muted);
  font-size: 0.92rem;
}

.chip {
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lagoon);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.rate-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--night);
}

.rate-row span {
  background: var(--cream);
}

.rate-row em {
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
}

.bubble {
  justify-self: end;
  max-width: 260px;
  background: var(--coral-fill);
  color: #fff;
  padding: 10px 16px;
  border-radius: 18px 18px 4px 18px;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

.ticket-big {
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  box-shadow: var(--shadow-lift);
  transform: rotate(-1.5deg);
}

.hotel {
  width: 100%;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.hotel div {
  display: grid;
}

.hotel b {
  font-family: var(--display);
}

.hotel small {
  color: var(--muted);
}

.check {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lagoon);
  color: #fff;
  font-weight: 800;
}

.day {
  width: 100%;
  max-width: 380px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  background: var(--bg);
  box-shadow: var(--shadow-lift);
}

.day-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}

.day-head b {
  font-family: var(--display);
  font-size: 1.2rem;
}

.day-head span {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.slot {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
}

.slot time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.step {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--lagoon);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

.step-coral {
  background: var(--coral-fill);
}

.step-sun {
  background: var(--sun);
  color: var(--night);
}

.step-free {
  background: transparent;
  color: var(--muted);
  border: 2px dashed var(--line);
  padding-block: 18px;
  font-style: italic;
}

.walk {
  margin-left: 66px;
  padding-left: 12px;
  border-left: 3px dotted var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.crew {
  width: 100%;
  max-width: 360px;
  display: grid;
  gap: 12px;
}

.avatars {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.avatars span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-left: -10px;
  border-radius: 50%;
  background: var(--c);
  color: var(--t, #fff);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  border: 4px solid var(--paper);
}

.notif {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.notif > span {
  font-size: 1.3rem;
}

.notif div {
  display: grid;
  min-width: 0;
}

.notif b {
  font-size: 0.95rem;
}

.notif small {
  color: var(--muted);
}

/* Les cartes postales. */
.banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.banners figure {
  margin: 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}

.banners figure:nth-child(odd) {
  transform: rotate(-0.8deg);
}

.banners figure:nth-child(even) {
  transform: rotate(0.8deg);
}

.banners img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banners figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.5), transparent 55%);
}

.banners figcaption {
  position: absolute;
  left: 16px;
  bottom: 10px;
  z-index: 1;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
}

/* Les trois temps, reliés par le sentier. */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 56px;
  right: 56px;
  height: 8px;
  background: radial-gradient(circle, var(--coral) 3.4px, transparent 4px) 0 50% / 20px 8px repeat-x;
}

.steps li {
  display: grid;
  gap: 10px;
  position: relative;
}

.steps p {
  color: var(--muted);
}

.num {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--night);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  border: 6px solid var(--bg);
  box-sizing: content-box;
  margin: -6px;
  margin-bottom: 4px;
}

/* La beta : une carte postale du soir. */
.beta {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--plum), var(--night) 70%);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 420px;
}

.beta-art {
  background-size: cover;
  background-position: center;
}

.beta-text {
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  gap: 18px;
  align-content: center;
}

.beta-text > p {
  color: rgb(255 255 255 / 0.85);
  max-width: 54ch;
}

.beta-text .small {
  color: rgb(255 255 255 / 0.7);
}

/* FAQ. */
.faq {
  gap: 16px;
  max-width: 820px;
}

.faq .section-head {
  margin-bottom: 16px;
}

.faq details {
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 4px 22px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

.faq summary::after {
  content: "+";
  color: var(--coral-ink);
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  color: var(--muted);
  padding-bottom: 18px;
}

/* Pied de page. */
.footer {
  color: var(--muted);
  padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
}

.trail {
  display: block;
  width: 100%;
  height: 40px;
  color: var(--coral);
  margin-bottom: 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.footer .brand {
  color: var(--ink);
}

.footer nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.footer nav a {
  text-decoration: none;
  font-weight: 600;
}

.footer nav a:hover {
  color: var(--ink);
}

/* Tablette. */
@media (max-width: 960px) {
  .spirit {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature {
    gap: 32px;
  }
}

/* Mobile. */
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .nav nav {
    display: none;
  }

  .nav .btn-small {
    margin-left: auto;
  }

  main {
    gap: 72px;
    padding-top: 32px;
    padding-bottom: 72px;
  }

  .hero,
  .feature,
  .beta {
    grid-template-columns: 1fr;
  }

  .hero-art {
    padding: 48px 8px 64px;
  }

  .hero .ticket {
    right: 0;
    width: 200px;
  }

  .hero .ticket b {
    font-size: 1.1rem;
  }

  .hero-art {
    padding-bottom: 40px;
  }

  /* Trop à l'étroit sur mobile : la carte postale garde son titre. */
  .note {
    display: none;
  }

  .rate {
    right: 0;
    bottom: 0;
  }

  .words {
    margin-top: -24px;
    justify-content: flex-start;
  }

  .words span {
    font-size: 0.9rem;
  }

  .feature.reverse .feature-text {
    order: 0;
  }

  .feature-art {
    padding: 22px 16px;
  }

  .banners {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .banners figcaption {
    font-size: 1rem;
    left: 12px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .steps::before {
    top: 56px;
    bottom: 56px;
    left: 28px;
    right: auto;
    width: 8px;
    height: auto;
    background: radial-gradient(circle, var(--coral) 3.4px, transparent 4px) 50% 0 / 8px 20px repeat-y;
  }

  .steps li {
    grid-template-columns: 64px 1fr;
    column-gap: 18px;
  }

  .steps .num {
    grid-row: span 2;
  }

  .beta-art {
    min-height: 180px;
  }

  .footer nav {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .nav .btn-small {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .brand span {
    font-size: 1.05rem;
  }

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

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

/* Page introuvable. */
.lost {
  max-width: 720px;
  gap: 24px;
  padding-top: 48px;
}

.lost .postcard {
  aspect-ratio: 16 / 7;
}
