/* Travel’n Van — pastel minimal, typographie de magazine. Mobile d'abord. */

:root {
  --paper: #F6F1EA;
  --fog: #A9B8A4;
  --powder: #E9CFC6;
  --sand: #D8C7AF;
  --mint-shadow: #5E6B63;
  --ink: #2A2A28;

  --paper-2: #EFE7DC;
  --fog-soft: #DDE4D8;
  --powder-soft: #F4E4DE;
  --line: #D8C7AF;
  --link: #3F4D45;

  --serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 16px;
  --max: 1180px;
  --measure: 40rem;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 76px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

@media (min-width: 900px) { body { font-size: 18px; } }

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

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-color: var(--powder); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--mint-shadow); outline-offset: 3px; }

p { margin: 0 0 1em; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 50;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: 1320px; }
@media (min-width: 900px) { :root { --gutter: 32px; } }

.muted { color: var(--mint-shadow); }
.small { font-size: .875rem; }

/* ---------- Typographie ---------- */

.display, .h2, .h3, .place__name, .brand__name, .colophon__name {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

.display {
  font-size: clamp(2.3rem, 8vw, 4.6rem);
  line-height: 1.04;
  margin: 0 0 .35em;
}
.display em { font-style: italic; color: var(--mint-shadow); }

.h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); line-height: 1.15; margin: 0 0 .6em; }
.h2 em { font-style: italic; color: var(--mint-shadow); }
.h3 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 .4em; }

.kicker {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mint-shadow);
  margin: 0 0 .9em;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  line-height: 1.45;
  font-weight: 300;
  max-width: 38rem;
  margin: 0;
}

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.6em; }

.dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.2em;
  line-height: .82;
  padding: .08em .1em 0 0;
  color: var(--mint-shadow);
}

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 1.3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: .9em 0;
  margin: 2em 0;
  max-width: 36rem;
}

/* ---------- En-tête ---------- */

.masthead {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 241, 234, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.masthead__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }

.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-size: 1.3rem; line-height: 1.1; }
.brand__sub { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-shadow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--ink); border-radius: 999px;
  padding: 7px 14px; font: 500 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); cursor: pointer; flex: none;
}
.menu-toggle__icon, .menu-toggle__icon::before {
  display: block; width: 16px; height: 1px; background: currentColor; position: relative;
}
.menu-toggle__icon::before { content: ""; position: absolute; top: 5px; }
.menu-toggle__icon { transform: translateY(-2px); }

.menu { display: none; border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100vh - 61px); overflow-y: auto; }
.menu.is-open { display: block; }
.no-js .menu { display: block; }
.menu__list {
  list-style: none; margin: 0 auto; padding-top: 12px; padding-bottom: 20px;
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.menu__list a {
  display: flex; gap: 14px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--paper-2);
  font-family: var(--serif); font-size: 1.2rem; text-decoration: none; color: var(--ink);
}
.menu__list a[aria-current="page"] { color: var(--mint-shadow); font-style: italic; }
.menu__num { font: 500 .72rem/1 var(--sans); letter-spacing: .1em; color: var(--mint-shadow); min-width: 1.6rem; }

@media (min-width: 640px) { .menu__list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 1000px) { .menu__list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 999px;
  font: 500 .92rem/1.2 var(--sans); text-decoration: none; text-align: center;
}
.btn:hover { background: var(--mint-shadow); border-color: var(--mint-shadow); color: var(--paper); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--fog-soft); color: var(--ink); border-color: var(--ink); }
.btn--route::before { content: "↗"; font-size: 1rem; }

.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); color: var(--ink); }
.link-arrow::after { content: " →"; }

/* ---------- Figures ---------- */

.fig { margin: 0; }
.fig img { width: 100%; border-radius: var(--radius); background: var(--paper-2); }
.fig figcaption { font-size: .8rem; color: var(--mint-shadow); margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.fig__note { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.fig--hero img { aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 599px) { .fig--hero img { aspect-ratio: 4 / 3; } }

/* ---------- Héros de page ---------- */

.hero-page { padding: 36px 0 8px; }
.hero-page__text { margin-bottom: 28px; }
@media (min-width: 900px) { .hero-page { padding-top: 64px; } .hero-page__text { margin-bottom: 40px; } }

/* Accueil */
.home-hero { padding: 28px 0 0; }
.home-hero__grid { display: grid; gap: 24px; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (min-width: 900px) {
  .home-hero { padding-top: 56px; }
  .home-hero__grid { grid-template-columns: 5fr 7fr; align-items: end; gap: 48px; }
}

/* ---------- Sections ---------- */

.section { padding: 48px 0; }
.section--tint { background: var(--paper-2); }
.section--fog { background: var(--fog-soft); }
.section--powder { background: var(--powder-soft); }
@media (min-width: 900px) { .section { padding: 80px 0; } }

.section__head { display: grid; gap: 8px; margin-bottom: 28px; max-width: 46rem; }

.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } .split--rev > :first-child { order: 2; } }

/* Chemins (6 idées) */
.paths { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: path; }
@media (min-width: 640px) { .paths { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .paths { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.path { counter-increment: path; display: flex; flex-direction: column; }
.path .fig img { aspect-ratio: 4 / 3; object-fit: cover; }
.path__num { font: 500 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mint-shadow); margin: 16px 0 6px; }
.path__num::before { content: "Chemin " counter(path, decimal-leading-zero) " · "; }
.path h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.2; margin: 0 0 8px; }
.path h3 a { color: var(--ink); text-decoration: none; }
.path h3 a:hover { text-decoration: underline; }
.path p { margin: 0 0 8px; }
.path__end { font-size: .85rem; color: var(--mint-shadow); margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); }

/* Fiches lieux */
.places { display: grid; gap: 24px; }
@media (min-width: 900px) { .places--2 { grid-template-columns: 1fr 1fr; } }
.place { background: #FBF8F3; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; min-width: 0; }
@media (min-width: 900px) { .place { padding: 30px 30px 26px; } }
.place__head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; margin-bottom: 10px; }
.place__name { font-size: 1.55rem; line-height: 1.15; margin: 0; }
.place__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

.facts { margin: 16px 0 0; border-top: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: 5.5rem 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--paper-2); }
.facts dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-shadow); padding-top: .25em; }
.facts dd { margin: 0; min-width: 0; }

/* Pastilles de statut */
.badge { display: inline-block; font: 600 .66rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; vertical-align: .15em; white-space: nowrap; }
.badge--ok { background: var(--fog-soft); color: #3E4C42; }
.badge--check { background: var(--powder); color: #6A3F33; }
.badge--forecast { background: var(--sand); color: #4E4434; }

/* Journée type */
.day { padding: 48px 0; background: var(--fog-soft); }
@media (min-width: 900px) { .day { padding: 72px 0; } }
.timeline { list-style: none; margin: 0 0 12px; padding: 0; max-width: 44rem; }
.timeline li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(42, 42, 40, .15); }
.timeline__time { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; color: var(--mint-shadow); }

/* Passer la nuit */
.stay { padding: 48px 0; background: var(--powder-soft); }
@media (min-width: 900px) { .stay { padding: 72px 0; } }
.stay__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .stay__grid { grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; } }
.stay__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fig--stay img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Agenda */
.events { padding: 48px 0; }
@media (min-width: 900px) { .events { padding: 72px 0; } }
.ev-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ev { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .ev { grid-template-columns: 13rem 1fr; gap: 24px; } }
.ev p { margin: 0; }
.ev__when { font-family: var(--serif); font-size: 1.1rem; color: var(--mint-shadow); }
.ev__title { font-weight: 600; }
.ev__place { color: var(--ink); }
.ev__src { font-size: .82rem; color: var(--mint-shadow); }
.events__more { margin-top: 20px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .88rem; margin: 0 0 20px; padding: 0; list-style: none; }

/* Liens officiels */
.links { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.links__list { margin: 0 0 14px; padding-left: 1.1em; }
.links__list li { margin-bottom: 6px; }

/* Tableaux */
.table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 12px; }
.table caption { text-align: left; font-size: .85rem; color: var(--mint-shadow); padding-bottom: 8px; }
.table th, .table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-shadow); font-weight: 500; border-bottom-color: var(--ink); }
@media (max-width: 699px) {
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .table--stack td { display: grid; grid-template-columns: 7.5rem 1fr; gap: 10px; border: 0; padding: 4px 0; }
  .table--stack td::before { content: attr(data-label); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-shadow); padding-top: .25em; }
}

/* Cartes simples */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { border-top: 1px solid var(--ink); padding-top: 14px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 0 0 6px; }
.card p { margin: 0 0 8px; }

/* Encadrés */
.note {
  border-left: 3px solid var(--powder);
  background: #FBF8F3;
  padding: 14px 16px;
  margin: 0 0 24px;
  max-width: 46rem;
}
.note--warn { border-left-color: #C9A27E; }
.note p:last-child { margin-bottom: 0; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border: 1px solid var(--mint-shadow); border-radius: 3px; }

.report { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.report li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .report li { grid-template-columns: 14rem 1fr; gap: 20px; } }
.report strong { font-weight: 500; color: var(--mint-shadow); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }

.gallery { display: grid; gap: 16px; }
@media (min-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery .fig img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Jeu responsable & pied de page ---------- */

.rg { background: var(--ink); color: var(--paper); }
.rg__inner { display: flex; gap: 16px; align-items: flex-start; padding-top: 18px; padding-bottom: 18px; font-size: .9rem; }
.rg__inner p { margin: 0; }
.rg a { color: var(--paper); }
.rg__age { font-family: var(--serif); font-size: 1.6rem; line-height: 1; border: 1px solid var(--paper); border-radius: 999px; padding: 8px 10px; flex: none; }

.colophon { background: var(--paper-2); border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: .9rem; }
.colophon__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .colophon__grid { grid-template-columns: 4fr 3fr 4fr; gap: 48px; } }
.colophon__name { font-size: 1.6rem; margin: 0 0 8px; }
.colophon__nav ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.colophon__nav li { margin-bottom: 6px; break-inside: avoid; }
.colophon__age strong { display: inline-block; font-family: var(--serif); font-size: 1.1rem; border: 1px solid var(--ink); border-radius: 999px; padding: 2px 8px; margin-right: 6px; }

/* Impression : une fiche par itinéraire */
@media print {
  .masthead, .menu, .colophon__nav, .stay .fig, .btn--ghost { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .section, .day, .stay, .events { padding: 16px 0; background: none; }
  a { color: #000; }
}
